eEcho blog

A journey of a thousand miles starts with a single step.

Convert Windows text file to Unix text file

That’s easy to fix: Unix tr command can convert every occurrence of one character in a file to another:

tr '\015' '\012' < file.win > file.unix

Comments are closed.