GNU bug report logs - #72772
DEPRECATED

Previous Next

Package: gzip;

Reported by: Fellegi Sándor <fellegi.sandor <at> putnok.hu>

Date: Fri, 23 Aug 2024 08:34:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


Message #10 received at 72772-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Fellegi Sándor <fellegi.sandor <at> putnok.hu>
Cc: 72772-done <at> debbugs.gnu.org
Subject: Re: DEPRECATED
Date: Mon, 10 Feb 2025 23:35:47 -0800
On 2024-08-23 you wrote:

> root <at> INF-DESKTOP:/tmp# GZIP=-1 tar cfz saved.config.tar.gz saved.config
> gzip: warning: GZIP environment variable is deprecated; use an alias or script

Yes, that's the intended and documented behavior. The GZIP environment 
variable can make it hard to write portable scripts, as they have to 
unset GZIP to be safe. The intent is that gzip remove support for that 
variable in a future release.

You can work around the problem by using this shell command instead:

   tar -I'gzip -1' -cf saved.config.tar.gz saved.config




This bug report was last modified 100 days ago.

Previous Next


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