|
|
| Just another Perl shrine | |
| PerlMonks |
Re: dos2ux shows cannot open file if it is greater than 2GB sizeby kennethk (Monsignor) |
| on Mar 13, 2013 at 14:21 UTC ( #1023208=note: print w/ replies, xml ) | Need Help?? |
|
The classic one liner here is: perl -pi -e 's/\r\n/\n/' file.raw which is essentially short for
See -e, -p and -i in perlrun, and review perlretut for details on regular expressions. #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||