title: use awk to match rows for each column
body: <p>How can awk be used to find values that match in row 2 for each column?</p>
  
  <p>I would like to take in a tab limited file and for each column if any row below row 2 matches what is in row 2, print field with "match".</p>
  
  <p>transforming this tab delimited file:</p>
  
  <pre class="lang-css prettyprint-override"><code>header1 | header2 | header3
  1       | 1       | B
  --------+---------+----------
  3       | 1       | A
  2       | A       | B
  1       | B       | 1
  </code></pre>
  
  
  
  <p>To this:</p>
  
  <pre class="lang-css prettyprint-override"><code>header1 | header2 | header3
  1       | 1       | B
  --------+---------+----------
  3       | 1 match | A
  2       | A       | B match
  1 match | B       | 1
  </code></pre>