On Aug 20, 2010, at 12:28 PM, Mark Adler wrote:
> On Aug 20, 2010, at 12:18 PM, Greg Roelofs wrote:
>> - Add a suboption (-ll? -l2? ) to do decompression-listing.
> 
> pigz already has this as -tl (test and list where testing the file reads the 
> whole thing, or it can be read as "true length").  When there are 
> concatenated gzip streams, pigz lists them separately.
> 
> % cat foo.gz foo.gz foo.gz | pigz -tl
> compressed   original reduced  name
>        13         14    7.1%  <stdin>
>        13         14    7.1%  <...>
>        13         14    7.1%  <...>

Oh, and this is what it does without the t:

% cat foo.gz foo.gz foo.gz | pigz -l
compressed   original reduced  name
        75         14?  unk    <stdin>

It could tell something was funny about the sizes, hence the question mark and 
unknown compression ratio.

Mark


Reply via email to