title: Compare 2 files in awk and append Pass / Fail
body: <p>Thank you all for the feedback.  Apologies since I am newer to coding and new to SO.  Below is the code I have currently been running.</p>
  
  <pre><code>awk 'FNR==NR{a[$4,$5]=$0}{if(b=a[$4,$5]); print b, "PASS";next}else{if(b!=a[$4,$5]){print a, b, "FAIL";next}}'
  </code></pre>
  
  <p>This appends a PASS next to each line if it is the same, but does print FAIL if there are any inconsistencies in the line.</p>
  
  <p>Trying to get myself more familiar with awk.  Using FNR==NR I've been able to compare 2 files (line by line) and then print PASS at the end of the file.  However, I cannot actually get it to properly fail the scenario and print FAIL if they do not match.  Could anybody help a noobie out?</p>