title: Compare 4 files line by line to see if they match or don't match
body: <p>I'm trying to compare 4 text files for counts in each line:</p>
  
  <pre><code>file1.txt:
  32
  44
  75
  22
  88
  
  file2.txt
  32
  44
  75
  22
  88
  
  file3.txt
  11
  44
  75
  22
  77
  
  file4.txt
      32
      44
      75
      22
      88
  </code></pre>
  
  <p>each line represents a title</p>
  
  <pre><code>line1 = customerID count
  line2 = employeeID count
  line3 = active_users
  line4 = inactive_users
  line5 = deleted_users
  </code></pre>
  
  <p>I'm trying to compare <em>file2.txt</em>, <em>file3.txt</em> and <em>file4.txt</em> with <em>file1.txt</em>; <strong><em>file1.txt</em></strong> will always have the correct counts.</p>
  
  <p>Example: Since <em>file2.txt</em> matches exactly line by line to <em>file1.txt</em> in the example above then i'm trying to output <em>"file2.txt is good"</em> but since <em>file3.txt</em> line1 and line5 do not match to <em>file1.txt</em> I'm trying to output <em>"customerID for file3.txt does not match by 21 records"</em>, (<em>i.e.</em> <em>32 - 11 = 21</em>), and <em>"deleted_users in file3.txt does not match by 11 records"</em>, (<em>88 - 77 = 11</em>).</p>
  
  <p>If shell is easier then that is fine too.</p>