15 April 2012

How to remove all the carriage returns /r from a file in Unix?

Source code viewer
  1. tr -d '\r' < input_file.txt > output_file.txt
Programming Language: Bash