title: bash paste command automatically insert newline error
body: <p>I am trying to use paste command in bash</p>
  
  <p>paste -d, temp2.csv temp3.csv > $outfile</p>
  
  <p>temp2.csv:</p>
  
  <pre><code>a,a,a
  b,b,b
  c,c,c
  </code></pre>
  
  <p>temp3.csv:</p>
  
  <pre><code>1,1
  2
  3,3,3
  </code></pre>
  
  <p>and the expected result:</p>
  
  <pre><code>a,a,a,1,1
  b,b,b,2
  c,c,c,3,3,3
  </code></pre>
  
  <p>and the real result is like:</p>
  
  <pre><code>a,a,a
  ,1,1
  b,b,b
  ,2
  c,c,c
  ,3,3,3
  </code></pre>
  
  <p>Why are these new lines automatically inserted? I used the same command btw temp1&amp;temp2.csv and it worked perfectly. Is there any problem in this?</p>