in reply to grep gz files
My first thought here is ... PerlIO. Specifically, PerlIO::gzip. The module's synopsis is already pretty close to what you want to do with it anyway. Not guaranteeing it'll be as fast as zgrep, but it may be an improvement over what you're doing now.
|
|---|