Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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
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 wandering the Monastery: (5)
As of 2016-02-13 16:17 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (438 votes), past polls