title: Using AWK to extract one column from a tab separated file
body: <p>I know this is a simple question, but the awk command is literally melting my brain. I have a tab separated file "inputfile.gtf" and I need to extract one column from it and put it into a new file "newfile.tsv" I cannot for the life of me figure out the proper syntax to do this with awk. Here is what I've tried:</p>
  
  <pre><code>awk -F, 'BEGIN{OFS="/t"} {print $8}'  inputfile.gtf  &gt; newfile.tsv
  </code></pre>
  
  <p>also</p>
  
  <pre><code>awk 'BEGIN{OFS="/t";FS="/t"};{print $8}' inputfile.gtf  &gt; newfile.tsv
  </code></pre>
  
  <p>Both of these just give me an empty file. Everywhere I search, people seem to have completely different ways of trying to achieve this simple task, and at this point I am completely lost. Any help would be greatly appreciated. Thanks.</p>