[lug] unzip froma pipe

David Anselmi anselmi at anselmi.us
Thu Sep 2 15:53:53 MDT 2004


Jason Davis wrote:
> Hello,
>  I have read the man page for unzip. I did not see a flag to read from
> STDIN. Is this possible?

You mean gunzip, right?  This:

cat foo.gz | gunzip > foo

works fine.  No switches required (there is an example in the man page 
using gzip this way).

HTH,
Dave




More information about the LUG mailing list