title: Compare files with awk
body: <p>Hi I have two similar files (both with 3 columns). I'd like to check if these two files contains the same elements (but listed in a different orders). First of all I'd like to compare only the 1st columns</p>
  
  <p>file1.txt </p>
  
  <pre><code>"aba" 0 0 
  "abc" 0 1
  "abd" 1 1 
  "xxx" 0 0
  </code></pre>
  
  <p>file2.txt</p>
  
  <pre><code>"xyz" 0 0
  "aba" 0 0
  "xxx" 0 0
  "abc" 1 1
  </code></pre>
  
  <p>How can I do it using awk? I tried to have a look around but I've found only complicate examples. What if I want to include also the other two columns on the comparison? The output should give me the number of matching elements.</p>