title: paste command shell not joining all lines
body: <p>I have a file with contents as shown in multiple lines:</p>
  
  <p>aa <br/>
  bb<br/>
  cc<br/>
  dd</p>
  
  <p>And I want to merge all lines in a single line using paste command. While Using  "paste -s file" command on the terminal I am getting the output as: aa     dd i.e. only first line and last line is getting printed. I dont know what's going wrong in this paste command.</p>
  
  <p>How to correct this so that I can merge all lines in a single line such that I can get the output on terminal as:  aa bb cc dd ?</p>