http://www.perlmonks.org?node_id=538467


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.

Cheers,

JohnGG

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?