title: Understanding Split function in awk(Shell script):
body: <pre><code>RequestID       CustomerID      Status
  101     101111  Error
  102     323232  Success
  103     33434   Error
  </code></pre>
  
  <p>So, I'm trying to print out the first field and second filed using split option. The delimiter is tab above. I know there are various other methods but I'm trying to learn split function in awk. I'm trying the below code:</p>
  
  <pre><code>awk '{split($1,a,"\t");split($2,b,"\t");print a[1], b[2]}' data
  </code></pre>
  
  <p>The above code prints only the first column($1) not the column($2). Any specific reason why ?</p>
  
  <p>Thanks,</p>