From unknown Mon Aug 18 17:53:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22171: 'gzip -d' on single file fails silently ... Resent-From: Patrick Boake Original-Sender: "Debbugs-submit" Resent-CC: bug-gzip@gnu.org Resent-Date: Mon, 14 Dec 2015 19:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22171 X-GNU-PR-Package: gzip X-GNU-PR-Keywords: To: 22171@debbugs.gnu.org X-Debbugs-Original-To: bug-gzip@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14501222387732 (code B ref -1); Mon, 14 Dec 2015 19:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Dec 2015 19:43:58 +0000 Received: from localhost ([127.0.0.1]:51903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8Z2M-00020e-6I for submit@debbugs.gnu.org; Mon, 14 Dec 2015 14:43:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48508) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8YhJ-0001V2-JK for submit@debbugs.gnu.org; Mon, 14 Dec 2015 14:22:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8YhD-0006zX-CH for submit@debbugs.gnu.org; Mon, 14 Dec 2015 14:22:08 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8YhD-0006zQ-9K for submit@debbugs.gnu.org; Mon, 14 Dec 2015 14:22:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8YhC-0002sj-5t for bug-gzip@gnu.org; Mon, 14 Dec 2015 14:22:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8YhA-0006yv-R8 for bug-gzip@gnu.org; Mon, 14 Dec 2015 14:22:06 -0500 Received: from mail-vk0-x233.google.com ([2607:f8b0:400c:c05::233]:35872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8YhA-0006yj-MJ for bug-gzip@gnu.org; Mon, 14 Dec 2015 14:22:04 -0500 Received: by vkay187 with SMTP id y187so160329864vka.3 for ; Mon, 14 Dec 2015 11:22:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=EVhiX6XSepzzZ41dSQ3iQ5ihcZBndY+JhlbggKLSM5U=; b=NcYtfA8/JrJLDl5EA3r77zKHs1jadn2YzvNWAMR5XFWmmAvboA0x/fw4phpagbLOdN Yvcwx6lnAbglEGzHGzmtNMYpU8iq68DvTNwBveGeXV6HE/CzSlq5QTTIS/51XCVe4X/1 1mHB7LmlKcZ2xVRBRjeJB0gu6jZZ8+CshEW4AJM+adHbOropRcbOVdblBqMC5PLxY6HX LJhUxyN7mynPhVASVqQA+YoibvjMfkI2zXosT+trRWzk8oLLGTPcKIL8Sy6DRS38tgok Vi0orSaS/X6R6RO2klHOBh4ZHFh913uwj6JSWS6DxOAxfzsHh9fkTe+wK2oCqwFd8vDo YsSw== MIME-Version: 1.0 X-Received: by 10.31.0.136 with SMTP id 130mr8112301vka.139.1450120923795; Mon, 14 Dec 2015 11:22:03 -0800 (PST) Received: by 10.31.74.68 with HTTP; Mon, 14 Dec 2015 11:22:03 -0800 (PST) Date: Mon, 14 Dec 2015 14:22:03 -0500 Message-ID: From: Patrick Boake Content-Type: multipart/alternative; boundary=001a113d9cca8b5a1d0526e096db X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Mon, 14 Dec 2015 14:43:56 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a113d9cca8b5a1d0526e096db Content-Type: text/plain; charset=UTF-8 ... 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 . 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 --001a113d9cca8b5a1d0526e096db Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
... when called in script.

N= o 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>&= gt; $GZIPERROR

Files get moved in nex= t line of script.
  • output varies
    • still com= pressed file (*.gz)
    • compressed file + decompressed file
    • dec= ompressed file

gzip -V

gzip 1.3.12
Copyright (C) 2007= Free Software Foundation, Inc.
Copyright (C) 1993 Jea= n-loup Gailly.
This is free software.=C2=A0 You may re= distribute copies of it under the terms of
the GNU Gen= eral Public License <ht= tp://www.gnu.org/licenses/gpl.html>.
There is N= O 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 x= 86_64 x86_64 GNU/Linux

bash --v= ersion

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

I r= ealize the gzip version is woefully out-of-date.

T= his is a certified system so changes, while not impossible, require justifi= cation.

Any help or direction greatly appreciated<= /div>
->>>--P= atrick---Boake---->



=
A small sum= can make a huge difference.
--001a113d9cca8b5a1d0526e096db-- From unknown Mon Aug 18 17:53:55 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22171: 'gzip -d' on single file fails silently ... Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gzip@gnu.org Resent-Date: Mon, 14 Dec 2015 23:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22171 X-GNU-PR-Package: gzip X-GNU-PR-Keywords: To: Patrick Boake , 22171@debbugs.gnu.org Received: via spool by 22171-submit@debbugs.gnu.org id=B22171.145013672629566 (code B ref 22171); Mon, 14 Dec 2015 23:46:02 +0000 Received: (at 22171) by debbugs.gnu.org; 14 Dec 2015 23:45:26 +0000 Received: from localhost ([127.0.0.1]:52008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8co2-0007gn-Aa for submit@debbugs.gnu.org; Mon, 14 Dec 2015 18:45:26 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48057) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8co0-0007gb-9q for 22171@debbugs.gnu.org; Mon, 14 Dec 2015 18:45:24 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4882B1605E1; Mon, 14 Dec 2015 15:45:18 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id D1X7jbfCa8d3; Mon, 14 Dec 2015 15:45:17 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 755DE160633; Mon, 14 Dec 2015 15:45:17 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id drgS-RbTXDVt; Mon, 14 Dec 2015 15:45:17 -0800 (PST) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 55F5D1605E1; Mon, 14 Dec 2015 15:45:17 -0800 (PST) References: From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <566F548D.7010207@cs.ucla.edu> Date: Mon, 14 Dec 2015 15:45:17 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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? From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 15 22:01:18 2016 Received: (at control) by debbugs.gnu.org; 16 Mar 2016 02:01:18 +0000 Received: from localhost ([127.0.0.1]:49576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ag0lx-0004Mt-TN for submit@debbugs.gnu.org; Tue, 15 Mar 2016 22:01:18 -0400 Received: from mail-ob0-f175.google.com ([209.85.214.175]:35653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ag0lw-0004Mg-Hw for control@debbugs.gnu.org; Tue, 15 Mar 2016 22:01:16 -0400 Received: by mail-ob0-f175.google.com with SMTP id fp4so36960274obb.2 for ; Tue, 15 Mar 2016 19:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=+R1ZMRUOLeJAAtglXgs7mpsbZSV8Bct0L/3bZTWyW4o=; b=elpyPdK4zlGLttGwZ8nV3I3aH4GJCIkwAJEogSer2eyrPnOnqRLdH6iY7Uh09KVAy3 QOQdRJlLmaoCozF2YVPHYPXZ2kDfVEVn8UFsZrxbJ/jM5FESls7KaC5vd6c82FwmuiGp VSHGaIOz3zGVD3VRuepRcqLtZ7LVARShg/ms9CRQ/R3Asq8cgW6FuM9GUZlJG4q2Flgr ukeuRPkU4MGcPdqIqzJSoIJZRtww0r5qLE78R4VPpvomdCPiCo/J3WkWbSEi1XM/uj4b QtLsmgNfLDQXJHXWkDxXsZqOMFwL/4X4JySGs9Ulxa05wOYtOtjijp7EW7bpkUVkLFsN mL3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=+R1ZMRUOLeJAAtglXgs7mpsbZSV8Bct0L/3bZTWyW4o=; b=TeYkLkqqrMORigdSHZ5lZtHCQaUeePnD/keFwOFLnqZsBqnOEME3iqhteZ7tQ3EOrN wLU0YshCO1zwvbJRW5A5CJDBXALyNN2npUs53eql/RTOka4aW3r+Fy8Eu1vrOTAr83ew 2q3pdEM9LYKIe5WGrCpsq1b3Ls5fPyrRltliVk+WbtU+QPbuQH1z5n62nhbBe240zbG8 yQZHI/ElRHGA3GjkOsJYBuxXogKnzHT/nDKZO9x+rWpc2kaFmyGeaAOHX2JpaDilFuck mw0clb/O7WBOdEXQvqT82AgH8RdL/ULO1E1OQCDLLFD75YkGU//bGtj2tix1i4noIntB XzMw== X-Gm-Message-State: AD7BkJL612STVWsEo2Db+fiQHJh33fek2sYGLpkNhVGA6NxCnR/3/oIgo9aS3Ff087agbHd1M7LNOiNjNq+G1A== X-Received: by 10.182.142.69 with SMTP id ru5mr721908obb.82.1458093670943; Tue, 15 Mar 2016 19:01:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.44.5 with HTTP; Tue, 15 Mar 2016 19:00:51 -0700 (PDT) From: Jim Meyering Date: Tue, 15 Mar 2016 19:00:51 -0700 X-Google-Sender-Auth: dgPkN3MN-b_Ir86Pg03zNugqyo0 Message-ID: Subject: Re: 'gzip -d' on single file fails silently ... To: GNU bug tracker automated control server Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) tags 22171 notabug close 22171 done Paul requested more information three months ago, with no reply, so I'm closing this as a non-bug. If you can provide more info, please do, and we'll be happy to investigate/reopen the issue.