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.

Full log


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)]

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

Previous Next


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