What is the simplest way to remove all the carriage returns \\r from a file in Unix?
\\r
cat input.csv | sed 's/\r/\n/g' > output.csv
worked for me