bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: fixing the 32-bit size and time limits in gzip file format


From: Mark Adler
Subject: Re: RFC: fixing the 32-bit size and time limits in gzip file format
Date: Fri, 20 Aug 2010 13:08:46 -0700

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

[Prev in Thread] Current Thread [Next in Thread]