Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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.



Replies are listed 'Best First'.
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 pondering the Monastery: (6)
As of 2016-10-23 17:32 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.