This will translate both Mac EOLs and MS EOLs into Unix like ones.perl -pi.bak -e 's/\r\n/\n/g' myfile.pl perl -pi.bak2 -e 's/\r/\n/g' myfile.pl
-Blake
In reply to Re: Removing carriage returns from source code
by blakem
in thread Removing carriage returns from source code
by --OutpostMir--
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |