GNU bug report logs - #46730
man page says program can deal with .zip

Previous Next

Package: gzip;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 24 Feb 2021 00:21:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 46730 <at> debbugs.gnu.org
Subject: bug#46730: man page says program can deal with .zip
Date: Tue, 23 Feb 2021 18:45:40 +0800
Man page says

       Files created by zip can be uncompressed by gzip only if  they  have  a
       single  member  compressed with the 'deflation' method. This feature is
       only intended to help conversion of tar.zip files to the tar.gz format.
       To  extract  a zip file with a single member, use a command like gunzip
       <foo.zip or gunzip -S .zip foo.zip.  To extract zip files with  several
       members, use unzip instead of gunzip.

$ touch /tmp/e.zip
$ gunzip /tmp/e.zip
gzip: /tmp/e.zip: unknown suffix -- ignored
$ touch /tmp/e.tar.zip
$ gunzip /tmp/e.tar.zip
gzip: /tmp/e.tar.zip: unknown suffix -- ignored
$ touch /tmp/x.gz
$ gunzip /tmp/x.gz
gzip: /tmp/x.gz: unexpected end of file #Good. At least suffix is recognized
$ gunzip --version
gunzip (gzip) 1.10

So we see *.zip can't be dealt with at all.
So the man page should say that instead.

Yes maybe other parts of the documentation say something else, but I'm
just talking about the man page.




This bug report was last modified 3 years and 53 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.