If you're trying to diagnose what kinds of characters are in a file, especially carriage returns versus new lines, try piping it through the od command:
cat infile | od -c
Revision 2 as of 2011-04-12 17:26:06
If you're trying to diagnose what kinds of characters are in a file, especially carriage returns versus new lines, try piping it through the od command:
cat infile | od -c