title: Shell script to compare multiple files
body: <p>I am comparing two files in my script. using the command </p>
  
  <pre><code>comm -3 123.txt 321.txt" 
  </code></pre>
  
  <p>These two files 123 and 321 has only numeric content.</p>
  
  <p>Also I use </p>
  
  <pre><code>diff -ibw abc.txt cba.txt
  </code></pre>
  
  <p>These files abc and cba  has alphanumeric content</p>
  
  <p>If there is no mismatch no output is printed can you help me how to write a condition as below.</p>
  
  <p>If there is no difference I need to print <code>files match</code> 
  If there is a difference I want to print <code>mismatch found</code> along with the mismatched output.</p>