http://qs1969.pair.com?node_id=515338


in reply to What one-liners do people actually use?

dos2unix
perl -s -p -i -e '~s/\r//g' file.txt