Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: dynamic zcat and grep

by johngg (Abbot)
on Mar 22, 2006 at 11:23 UTC ( #538467=note: print w/ replies, xml ) Need Help??

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

Can you use your zcat in a pipe on the command line? Like

% cat file.gz | zcat | less

This works on Solaris but if it doesn't work for you it could be that your zcat demands the presence of a terminal as implied by your results.



Comment on Re^3: dynamic zcat and grep
Download Code
Re^4: dynamic zcat and grep
by clmcshque (Initiate) on Mar 22, 2006 at 17:08 UTC
    On the command line I use:
    $ zcat file.gz | grep ...
    Which works just fine. Is that the same?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-01-31 00:14 GMT
Find Nodes?
    Voting Booth?

    My top resolution in 2015 is:

    Results (254 votes), past polls