in reply to MacPerl lies -
If you transferred the file from a Unix machine via FTP, you will want to make sure to use text mode.
On your Mac, you can fix the newlines with BBEdit, or create a MacPerl droplet like the following to translate the newlines:
(Remember that in MacPerl, \r and \n are reversed, so that \n still corresponds to the local newline character.)#!perl -pi tr/\r/\n/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: MacPerl lies -
by amelinda (Friar) on Nov 20, 2001 at 22:10 UTC | |
by pudge (Sexton) on Apr 15, 2002 at 15:41 UTC |