GNU bug report logs - #39768
-t prints extra newlines

Previous Next

Package: gzip;

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

Date: Mon, 24 Feb 2020 16:06:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39768 in the body.
You can then email your comments to 39768 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gzip <at> gnu.org:
bug#39768; Package gzip. (Mon, 24 Feb 2020 16:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Mon, 24 Feb 2020 16:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gzip <at> gnu.org
Subject: -t prints extra newlines
Date: Mon, 24 Feb 2020 22:48:10 +0800
Man page doesn't say where to send bugs, unlike all other GNU man pages.

Man page says
       -t --test
              Test. Check the compressed file integrity.
It should also say "and quit"
like
       -V --version
              Version. Display the version number and compilation options then quit.
says.

Also
$ gunzip -t file.gz

gzip: file.gz: invalid compressed data--crc error

gzip: file.gz: invalid compressed data--length error

prints extra newlines.

$ gunzip -V
gzip 1.9




Information forwarded to bug-gzip <at> gnu.org:
bug#39768; Package gzip. (Sun, 15 Mar 2020 04:05:02 GMT) Full text and rfc822 format available.

Message #8 received at 39768 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 39768 <at> debbugs.gnu.org
Subject: Re: bug#39768: -t prints extra newlines
Date: Sat, 14 Mar 2020 21:04:16 -0700
[Message part 1 (text/plain, inline)]
On Mon, Feb 24, 2020 at 8:06 AM 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> wrote:
> Man page doesn't say where to send bugs, unlike all other GNU man pages.
>
> Man page says
>        -t --test
>               Test. Check the compressed file integrity.
> It should also say "and quit"
> like
>        -V --version
>               Version. Display the version number and compilation options then quit.
> says.

Thank you for those suggestions. I've addressed both with the attached patch.
Will push tomorrow.

> Also
> $ gunzip -t file.gz
>
> gzip: file.gz: invalid compressed data--crc error
>
> gzip: file.gz: invalid compressed data--length error
>
> prints extra newlines.
>
> $ gunzip -V
> gzip 1.9

I don't know off hand why all of those diagnostics deliberately start
(and end) with newline, so at least for now, I'm inclined to leave
them as-is.
[gzip-man.diff (application/octet-stream, attachment)]

bug closed, send any further explanations to 39768 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Tue, 29 Mar 2022 23:52:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 27 Apr 2022 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 358 days ago.

Previous Next


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