title: How can I compare two zip format(.tar,.gz,.Z) files in Unix
body: <p>I have two gz files. I want to compare those files without extracting. for example: </p>
  
  <p>first file is number.txt.gz - inside that file:</p>
  
  <pre><code>1111,589,3698, 
  2222,598,4589, 
  3333,478,2695, 
  4444,258,3694, 
  </code></pre>
  
  <p>second file - xxx.txt.gz:</p>
  
  <pre><code>1111,589,3698, 
  2222,598,4589, 
  </code></pre>
  
  <p>I want to compare any column between those files. If column1 in first file is equal to the 1st column of second file means I want output like this:</p>
  
  <pre><code>1111,589,3698, 
  2222,598,4589,
  </code></pre>