title: Shell 'tar: not found in archive' error when using regular expression
body: <p>When I use <code>tar -xzf *.gz</code> to extract all the <code>.gz</code> files in the current directory, I get <code>Not found in archive</code> error. However, it works fine if I extract one by one or use a for-loop like</p>
  
  <pre><code>for file in `ls *.gz`; do tar -xzf $file; done
  </code></pre>
  
  <p>What is the reason for this error?</p>