DOS/UNIX text file conversion October 8, 2008 by Piers C tr -d 'r' < winfile.txt > unixfile.txtawk 'sub("$", "r")' unixfile.txt > winfile.txt