Help On Filtering ^M's Out

You may have problems with files you transfer over to Unix from a "Wintel" system. Specifically, you may get files with a "^M" at the end of each line. You can (and should) filter these files with the following commands:

cat myfile | col -b > temp
mv temp myfile

Here I've assumed that the name of the file you want to filter is "myfile" and I've also assumed that you do not have a previously existing file named "temp." When you do this operation, naturally, you will need to substitute the actual name of the file you want to filter and the temporary file name you want to use.

A few more points: