The dos2unix Tcl application is a simple ASCII text conversion program. It converts ASCII files from DOS/Windows line delimiters (cr/lf) to the Linux/Unix/QNX line delimiter (lf).
Unlike most text conversion programs, this one is natively multi-platform. It is aware of the native OS line delimiter(s) in use. Program syntax:
dos2unix inputfile outputfile
Where inputfile is a path and file name of the ASCII input file and outputfile is the name of the ASCII output file. No consideration is given to the fact that the outputfile may already exist. If the outputfile already exists, it will be truncated to zero byte.