Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: dynamic zcat and grep

by clmcshque (Initiate)
on Mar 22, 2006 at 20:30 UTC ( #538598=note: print w/ replies, xml ) Need Help??


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 |";


Comment on Re^4: dynamic zcat and grep
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://538598]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2014-12-20 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls