Re: perl scripts in mac
Re: perl scripts in mac
- Subject: Re: perl scripts in mac
- From: Gerald Hilts <email@hidden>
- Date: Tue, 30 Mar 2004 17:06:57 -0800
The problem is that Windows, Unix and Mac OS all use different combinations of the carriage return and line feed characters to mark the end of a line in a text document. One uses a cr, another a lf, and the other both. You can use a simple shell script to go through and convert from one format to the other.
gwh
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
>and it seems in capable of working with mac files. it worked fine on
>windows machine and a linux machine but not on my mac . When I take my
>mac files to a Windows XP environment (in Notepad) they open without
>breaks and with this weird character.
>I am assuming that this character is unknown to the perl scrip.
>any suggestions how to fix this?
>
>thanks
>Uri
_____________
REGIME CHANGE BEGINS AT HOME: http://www.changeforamerica.com
_______________________________________________
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.