Subject: 'gzip -d' on single file fails silently ...

From: Patrick Boake <[email-masked]>
Date: Mon, 14 Dec 2015 14:22:03 -0500

... 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>