The programs
fromdos and
todos convert files from and to the dos end-of-line encoding. For example:
You have your sourcecode file, maybe called
myfile.c. You have edited it on your windows machine, maybe in notepad or Visual DevStudio or whatever... You want to transfer it to your Linux machine, so you burn a CD with the file on it.
On the destination machine (a Linux box), just install fromdos, and run it on the file after copying the file to your hard disk. It is a command line tool, so lets assume you have copied the file to your home directory... just open a terminal and use the command:
(Of course, you will need to have installed the fromdos program to do this).
That's it - the fromdos program modified the file so that it has unix-style line endings.
todos should be used if you edit the files on your unix box and burn a CD for transferring the files to Windows machine.