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.
To convert a DOS file called file.tex
to UNIX format run:
fromdos file.tex
To convert it back run:
todos file.tex