title: How to use space as field separator using awk?
body: <p>Hereby I tried to output the column along with field separator.</p>
  
  <p>But it fails in my case.</p>
  
  <pre><code>awk.txt(Input file)
  
  Sr No Name Sub Marks
  1) Amit Physics 80
  2) Rahul Maths 90
  3) Shyam Biology 87
  4) Kedar English 85
  5) Hari History 89
  </code></pre>
  
  <p>awk command which I tried as follows:-</p>
  
  <pre><code> awk -F ' ' '{print $2 $3;}' awk.txt &gt; output.txt
  </code></pre>
  
  <p>Obtained Output:</p>
  
  <pre><code>NoName
  AmitPhysics
  RahulMaths
  ShyamBiology
  KedarEnglish
  HariHistory
  </code></pre>
  
  <p>Expected output:</p>
  
  <pre><code>    Name Sub 
      Amit Physics 
      Rahul Maths 
      Shyam Biology 
      Kedar English 
      Hari History 
  </code></pre>