Hi Paul, Am 16.01.2012 um 23:58 schrieb Paul Eggert <[email protected]>: > 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@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
Description: S/MIME cryptographic signature
