GNU bug report logs - #22171
'gzip -d' on single file fails silently ...

Previous Next

Package: gzip;

Reported by: Patrick Boake <pboake <at> gmail.com>

Date: Mon, 14 Dec 2015 19:44:02 UTC

Severity: normal

Tags: notabug

Done: Jim Meyering <jim <at> meyering.net>

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 22171 in the body.
You can then email your comments to 22171 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#22171; Package gzip. (Mon, 14 Dec 2015 19:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Patrick Boake <pboake <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Mon, 14 Dec 2015 19:44:03 GMT) Full text and rfc822 format available.

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

From: Patrick Boake <pboake <at> gmail.com>
To: bug-gzip <at> gnu.org
Subject: 'gzip -d' on single file fails silently ...
Date: Mon, 14 Dec 2015 14:22:03 -0500
[Message part 1 (text/plain, inline)]
... when called in script.

No failures on command line or when decompressing multiple files (in script
or on command line).

The line in question is part of a function called in a for loop;

gzip -d $SHCFILE 2>> $GZIPERROR


Files get moved in next line of script.

   - output varies
   - still compressed file (*.gz)
      - compressed file + decompressed file
      - decompressed file


gzip -V

gzip 1.3.12
Copyright (C) 2007 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.


uname -a

Linux *********** 3.0.101-0.47.55-xen #1 SMP Thu May 28 08:25:11 UTC 2015
(dc083ee) x86_64 x86_64 x86_64 GNU/Linux


bash --version

GNU bash, version 3.2.51(1)-release (x86_64-suse-linux-gnu)
Copyright (C) 2007 Free Software Foundation, Inc.


I realize the gzip version is woefully out-of-date.

This is a certified system so changes, while not impossible, require
justification.

Any help or direction greatly appreciated

->>>--Patrick---Boake---->

http://www.linkedin.com/in/netscr1be

http://www.google.com/profiles/pboake

A small sum can make a huge difference.
Join us on Kiva - http://kiva.org/invitedby/NetScr1be
Kiva Team: The Beech Trees <http://www.kiva.org/team/the_beech_trees>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gzip <at> gnu.org:
bug#22171; Package gzip. (Mon, 14 Dec 2015 23:46:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Patrick Boake <pboake <at> gmail.com>, 22171 <at> debbugs.gnu.org
Subject: Re: bug#22171: 'gzip -d' on single file fails silently ...
Date: Mon, 14 Dec 2015 15:45:17 -0800
Patrick Boake wrote:
> ... when called in script.
>
> No failures on command line or when decompressing multiple files (in script
> or on command line).
>
> The line in question is part of a function called in a for loop;
>
> gzip -d $SHCFILE 2>> $GZIPERROR
>
>
> Files get moved in next line of script.
>
>     - output varies
>     - still compressed file (*.gz)
>        - compressed file + decompressed file
>        - decompressed file

I'm sorry, but I don't understand this bug report. I don't know what your script 
is doing, or what the failure symptoms are. Can you please give a complete, 
self-contained shell script that illustrates the bug?




Added tag(s) notabug. Request was from Jim Meyering <jim <at> meyering.net> to control <at> debbugs.gnu.org. (Wed, 16 Mar 2016 02:02:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 22171 <at> debbugs.gnu.org and Patrick Boake <pboake <at> gmail.com> Request was from Jim Meyering <jim <at> meyering.net> to control <at> debbugs.gnu.org. (Wed, 16 Mar 2016 02:02: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, 13 Apr 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 128 days ago.

Previous Next


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