I\'m trying to use something in bash to show me the line endings in a file printed rather than interpreted. The file is a dump from SSIS/SQL Server being read in by a Linux
Ubuntu 14.04:
simple cat -e works just fine.
cat -e
This displays Unix line endings (\n or LF) as $ and Windows line endings (\r\n or CRLF) as ^M$.
\n
$
\r\n
^M$