Re: perl scripts in mac
Re: perl scripts in mac
- Subject: Re: perl scripts in mac
- From: Martin Costabel <email@hidden>
- Date: Wed, 31 Mar 2004 06:56:24 +0200
Gerald Hilts wrote:
[]
You can use a simple shell script to go through and convert
from one format to the other.
Or perl :-)
On Tuesday, March 30, 2004, at 03:54PM, Uri Hershberg <email@hidden> wrote:
hi there
I am trying to use perl scripts for all kinds of analysis and file
conversions
As a first exercice in file conversion with perl, converting Mac line
endings to Unix line endings is easy:
perl -pi.Mac -e "s/\r/\n/g" filename(s)
--
Martin
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.