title: How to find out line-endings in a text file?
body: <p>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 machine for processing.</p>
  
  <ul>
  <li><p>Are there any switches within <code>vi</code>, <code>less</code>, <code>more</code>, etc?</p></li>
  <li><p>In addition to seeing the line-endings, I need to know what type of line end it is (<code>CRLF</code> or <code>LF</code>). How do I find that out?</p></li>
  </ul>