in reply to Strip line feeds from file

Something like this might be what you're looking for:

perl -pi.bak -e 's/[\n\r]+//g' myfile

This will strip all the carriage returns and linefeeds and then overwrite the original file. A backup file will be created with a .bak extension, just in case.

-- Mike

--
just,my${.02}