First, why would you use perl when grep does just fine? grep '\.[cC]$' is way more succinct. Unix is not just an environment for running perl, you know!
Second, as just a minor nit, you're missing the v option for tar - without which, your tar command will print out, well, nothing. tar tvzf file.tar.gz | ...
In reply to Re^2: cpan modules - pm only?
by Tanktalus
in thread cpan modules - pm only?
by danmcb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |