I'm trying to use something in bash to show me the line endings in a file printed rather than interrupted. The file is a dump from SSIS/SQL Server being read in by a Linux machine for processing.
Is there any switches within vi
, less
, more
, etc?
In addition to seeing the line-endings, I need to know what type of line end it is (CRLF or LF).