John,
I'd recommend checking out vis. Try 'man vis.' I don't know whether it is installed on Ubuntu or not by default, but it is on FreeBSD.
Vis is a command line filter program specifically for displaying invisible chars in files, in a visible way.
The above command will print a file to stdout, and will insert special chars for both tabs and newlines, to show you where they are in the file.Code:vis -lt <file>
Bookmarks