GNU bug report logs -
#16876
Zutils vs single compressor utilities
Previous Next
Full log
View this message in rfc822 format
[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.