[plug] Dumb question time

Anthony J. Breeds-Taurima tony at cantech.net.au
Mon Feb 14 15:32:43 WST 2000


On Mon, 14 Feb 2000, Paul Baumgarten wrote:

> OK... I know I should know this one...
> If I have a dos text file with LF/CR end of line markers... what do I want
> to convert it to linux LF-only end of line markers?

from the commandline you can try:
perl -pi.bak -e 's/\r$//' yourfile.HERE

or 
read the thread at:
http://www.cantech.net.au/plug/1999-06/msg00013.html

Yours Tony.




More information about the plug mailing list