title: Shell 'tr' command returns a new empty line
body: <p>I had a problem with trim command in Unix. I had a original.csv file saved from windows excel that I wanted to port to use in Unix. The content in original.csv saved from windows is like:</p>
  
  <pre><code>Func,Failing Cycle
  rtg_generic_A_A1_N2_cb_TEST_1_sm32,859180
  rtg_generic_A_A1_N3_cb_TEST_1_sm32,859180
  rtg_generic_A_A3_N5_dw_cb_TEST_1_sm32,788581 
  </code></pre>
  
  <p>I wanted to trim off the carriage return in it so I put command:</p>
  
  <pre><code>tr '\r\n' '\n' &lt; original.csv &gt;trimmed.csv
  </code></pre>
  
  <p>yet the content inside trimmed.csv looks like:</p>
  
  <pre><code>Func,Failing Cycle
  
  rtg_generic_A_A1_N2_cb_TEST_1_sm32,859180
  
  rtg_generic_A_A1_N3_cb_TEST_1_sm32,859180
  
  rtg_generic_A_A3_N5_dw_cb_TEST_1_sm32,788581
  </code></pre>
  
  <p>It seems additional empty line is added in between. May I know why and how I can get rid of this empty line?</p>
  
  <p>Thanks</p>