title: Unable to get second column using awk
body: <p>I have a file that contains three columns separated by four spaces</p>
  
  <pre><code>1234    567    q
  1902    190    r
  </code></pre>
  
  <p>I'm trying to get the second column by searching for the first column string</p>
  
  <pre><code>i=`grep $str $file | awk -F "[    ]" '{print $2 }'`
  j=`grep $str $file | awk -F "[    ]" '{print $3 }'` 
  echo second_col=$i
  echo third_col=$j
  </code></pre>
  
  <p>I modified the file and used tab and comma as separators but I'm still unable to print the second or third column values for a particular string.</p>
  
  <p>What am I doing wrong?</p>