cat -A filename
will display all non-printing characters, in caret notation
form (except the (LF) newline, which is represented by "$").
Edit: you can list out files that have carriage returns as the last character on a line with this:
It relies on the $'..'
"ansi-c" quoting style, supported by bash
and some other advanced shells, that expands backslash escape characters.