Program less is working for that; at FreeBSD 8.4, manTo show CR as ^M
in less says:
-u oruse --underline-special
Causes backspaces and carriage returns to be treated as print-
able characters; that is, they are sent to the terminal when
they appear in the input.
-Uless -u
or type --UNDERLINE-SPECIAL
Causes backspaces, tabs and carriage returns to be treated as
control characters; that is, they are handled as specified by
the -r option.
And read further.-u once less is open.
If you use less -u, you can see CR at end of line as ^M.man less
says:
-u or --underline-special Causes backspaces and carriage returns to be treated as print- able characters; that is, they are sent to the terminal when they appear in the input.