title: How can I print multiple .csv files side by side in bash and find the difference between the 3
body: <p>I have 3 .csv files how to get the difference between them 
  For Example :</p>
  
  <p>INPUT :</p>
  
  <pre><code>SYMBOL QTY      |     SYMBOL  QTY    | SYMBOL QTY 
  A   -   100               A   -    100      A    -  90
  B    -  100            B     -   50      B   -   100
  </code></pre>
  
  <p>OUTPUT:</p>
  
  <pre><code>A 90
  B 50  
  </code></pre>
  
  <p>TRIED :</p>
  
  <pre><code>join -t"," -1 1 -2 1 -a1 file1.csv file2.csv | awk -F, ' BEGIN {
          print "ID,field,old,new"
  } NF &gt; 3 {
          if ( $3 != $5 )
                  print $1, "cost", $3, $5
          if ( $2 != $4 )
                  print $1, "version", $2, $4
  } ' OFS=,
  </code></pre>