title: How to generate a CSV from text files using shell scripting
body: <p>I am trying to write data from three txt files in csv file.</p>
  
  <p>three files contain below data</p>
  
  <p>data in the file is in this format -server date filename number</p>
  
  <p>first txt file as-</p>
  
  <pre><code>app1 11.12.16 name1 2
  app1 11.12.17 name2 3
  </code></pre>
  
  <p>second as</p>
  
  <pre><code>app2 11.12.16 name1 2
  app2 11.12.17 name2 3
  </code></pre>
  
  <p>and same for thrird file with server as app3</p>
  
  <p>i want to put this data from these three files to one csv file using shell script. the data in the txt file is separated with space.</p>
  
  <p>data should go in same manner just in different row. </p>
  
  <p>One more thing can be put a heading in the first row as server date filename number and put filter? is it possible?</p>
  
  <p>Thanks in advance...</p>