
I need to grep a stack of files in a directory tree but the files are gzip'ed so I'm looking for recommendation on how to do that. Unzipping, grepping and rezipping afterwards in a script sounds like a huge PITA...
I found mentions of zgrep online, but I can't see it (or the zutils package it's supposed to be part of) in any of the standard repos so before I head down the path of compiling it from source, I thought I'd ask if anyone here has an easier way to do this.
Thanks,
Scott