GNU bug report logs - #16876
Zutils vs single compressor utilities

Previous Next

Package: gzip;

Reported by: Dagobert Michelsen <dam <at> opencsw.org>

Date: Tue, 25 Feb 2014 09:49:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dagobert Michelsen <dam <at> opencsw.org>
Subject: bug#16876: closed (Re: bug#16876: Zutils vs single compressor
 utilities)
Date: Mon, 04 Apr 2022 19:03:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#16876: Zutils vs single compressor utilities

which was filed against the gzip package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 16876 <at> debbugs.gnu.org.

-- 
16876: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16876
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Dagobert Michelsen <dam <at> opencsw.org>
Cc: 16876-done <at> debbugs.gnu.org, ant_diaz <at> teleline.es, rob <at> welcomehome.org
Subject: Re: bug#16876: Zutils vs single compressor utilities
Date: Mon, 4 Apr 2022 12:01:47 -0700
[Message part 3 (text/plain, inline)]
On 2/25/14 11:40, Paul Eggert wrote:
> On 02/25/2014 01:47 AM, Dagobert Michelsen wrote:
>> Shouldn’t the transformation be
>> applied to all occurrences?
> Yes, I think it should.

After eight years I got around to implementing this (since nobody else 
wanted to :-) and installed the attached. Something like this should 
appear in the next gzip release.
[0001-build-support-program-prefix-etc.patch (text/x-patch, attachment)]
[0002-build-update-gnulib-submodule-to-latest.patch (text/x-patch, attachment)]
[0003-maint-update-from-Gnulib.patch (text/x-patch, attachment)]
[Message part 7 (message/rfc822, inline)]
From: Dagobert Michelsen <dam <at> opencsw.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Antonio Diaz Diaz <ant_diaz <at> teleline.es>, bug-gzip <at> gnu.org,
 Rob Savoye <rob <at> welcomehome.org>
Subject: Re: Zutils vs single compressor utilities
Date: Tue, 25 Feb 2014 10:47:57 +0100
[Message part 8 (text/plain, inline)]
Hi Paul,

Am 16.01.2012 um 23:58 schrieb Paul Eggert <eggert <at> cs.ucla.edu>:
> On 01/16/12 10:59, Antonio Diaz Diaz wrote:
>> So here is a better patch
> 
> I don't see why either patch is needed.
> Without the patches, for example,
> "./configure --program-transform-name='s/^z/gz/'"
> followed by "make install" installs gzcat.1, not
> zcat.1.  Isn't that what you want?

I am currently rebuilding our gzip package and tried your suggestion:
it renames the programs and manpages but not the invocations:

> dam <at> unstable10s [unstable10s]:/home/dam/mgar/pkg/gzip/trunk/work/solaris10-sparc/pkgroot/opt/csw/bin > more gzfgrep
> #!/bin/bash
> bindir='/opt/csw/bin'
> case $1 in
> --__bindir) bindir=${2?}; shift; shift;;
> esac
> PATH=$bindir:$PATH
> exec zgrep --__bindir "$bindir" -F "$@„

Please note the invocation of zgrep here instead of gzgrep. Shouldn’t the transformation be
applied to all occurrences?


Best regards

  — Dago


-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

[smime.p7s (application/pkcs7-signature, attachment)]

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

Previous Next


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