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


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

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