⭐ in reply to Removing carriage returns from source code
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Answer: Removing carriage returns from source code
by Anonymous Monk on Aug 07, 2003 at 10:46 UTC | |
|
Re: Answer: Removing carriage returns from source code
by Anonymous Monk on Aug 07, 2003 at 10:46 UTC |