In case you wonderedThis displays Unix line endings- '$'(\n or LF) as $ and Windows line endings (a dollar sign\r\n or CRLF) is a newline symbol inascat -e^M$ output.
Ubuntu 14.04:
simple cat -e <filename> works just fine.
In case you wondered- '$' (a dollar sign) is a newline symbol incat -e output
Ubuntu 14.04:
simple cat -e <filename> works just fine.
This displays Unix line endings(\n or LF) as $ and Windows line endings (\r\n or CRLF) as^M$.