title: how to pipe contents of large tar.gz file to STDOUT?
body: <p>I have a <code>large.tar.gz</code> file containing about 1 million files, out of which about 1/4 of them are html files, and I want to parse a few lines of each of the html files within.</p>
  
  <p>I want to avoid having to extract the contents of large <code>large.tar.gz</code> into a folder and then parse the html files, instead I would like to know how can I pipe the contents of the html files in the <code>large.tar.gz</code> straight to <code>STDOUT</code> so that I can grep/parse out the information I want from them?</p>
  
  <p>I presume there must be some magic like:</p>
  
  <pre><code>tar -special_flags large.tar.gz | grep_only_files_with_extension html | xargs -n1 head -n 99999 | ./parse_contents.pl -
  </code></pre>
  
  <p>Any ideas?</p>