From: Brian Candler Date: 2007-04-24T20:12:47+09:00 Subject: Re: unix zcat with ruby? On Tue, Apr 24, 2007 at 07:52:41PM +0900, Robert Dober wrote: > >of course but this behavior surprises me a little bit, > forget what I said, I just switched my brain on > the concatenation of two gzipped streams is of course not a gzipped stream, But the standalone gzip program handles this: $ (echo "foo" | gzip -c; echo "bar" | gzip -c) | gzip -dc foo bar $ It enables you to grow a gzip file without having to entirely decompress and recompress what's already there.