in reply to Re^3: dynamic zcat and grep
in thread dynamic zcat and grep

Thanks for the reply. zgrep works great on the command line, but how do I get it to work within my script? Could I do the following: (I would try it but don't have access to the system right now)
$grep = /something/; $gzfile = file.gz; open OUTPUT "zgrep $grep $gzfile |";