Scripting
Read More
Convert DOS Carriage Return file to Unix Line feed file
tr ‘\r’ ‘\n’ < sourcefile_dos.txt > resultfile_unix.txt An alternative is to use the program hd2u which is a DOS < –> Unix convertor dos2unix -U 2006-12.md5 Converts from DOS to Unix, doing a Unix to DOS use the -D switch.