What is the simplest way to remove all the carriage returns \\r from a file in Unix?
\\r
tr -d '\r' < infile > outfile
See tr(1)