Converting a DOS Text File to UNIX Format
If you are given a text file which is in DOS format it may show up as having odd characters at the line ends when viewed in a text editor.
DOS to UNIX
To convert a DOS file called file.tex to UNIX format do
fromdos file.tex
To convert it back do
todos file.tex