http://www.perlmonks.org?node_id=490898


in reply to Re: Text strangeness after using SMB to get a file
in thread Text strangeness after using SMB to get a file

Or you could just use:

perl -i.bak -pe 's/\r\n/\n/' *

Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a yourname@perl.me.uk? Just ask!!!