What is the simplest way to remove all the carriage returns \\r from a file in Unix?
\\r
Once more a solution... Because there's always one more:
perl -i -pe 's/\r//' filename
It's nice because it's in place and works in every flavor of unix/linux I've worked with.