title: Empty output using GAWK on Mac OSX Maverick
body: <p>I have tab-separated files (sorry I don't know how to format it, should not be space, but tab). </p>
  
  <pre><code>""  "logFC" "logCPM"    "LR"    "PValue"    "FDR"
  "A1BG"  -0.2    -1.5    5.3 0.0 0.1
  </code></pre>
  
  <p>Mark that columns- and rows- names have "" around them, the values have not. And again, its tab-separated.</p>
  
  <p>My code is:</p>
  
  <pre><code>cat file1.csv file2.csv file3.csv | gawk 'NR==1 {if ($1=="something" || $1=="something2") print $1,$2,$4,;}' &gt;  test1.txt
  </code></pre>
  
  <p>"test1.txt" is however empty and I don't know why..</p>
  
  <p>So if I ran:</p>
  
  <pre><code>cat file1.csv file2.csv | gawk 'NR==1 {if ($1=="A1BG") print $1,$2,$4,;}' &gt;  A1BG.txt
  </code></pre>
  
  <p>I want A1BG.txt to look like:</p>
  
  <pre><code>""  ""  "logFC" "LR"
  file1.csv "A1BG"    -0.2 5.3
  file2.csv "A1BG"    y x
  </code></pre>