title: zgrep - list matched file name
body: <p>grep or egrep show the filename of the matched file when you define the option "-l".</p>
  
  <p>However, I've got a huge file (tar.gz) which contains thousands of files and I need to find out which of them contains a pattern. The problem is:</p>
  
  <pre><code>zgrep -la testPattern HugeFile.tar.gz
  </code></pre>
  
  <p>gives me only the name of the tar.gz file, not the file in it, which matches the pattern.</p>
  
  <p>This seems to be a bug for me, but maybe I misunderstood something… Does anyone know how to do it without gunzipping or untaring the archive?</p>