title: wc gzipped files?
body: <p>I have a directory with both uncompressed and gzipped files and want to run <code>wc -l</code> on this directory. <code>wc</code> will provide a line count value for the compressed files which is not accurate (since it seems to count newlines in the gzipped version of the file). Is there a way to create a <code>zwc</code> script similar to <code>zgrep</code> that will detected the gzipped files and count the uncompressed lines?</p>