[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16876: Zutils vs single compressor utilities

From: Dagobert Michelsen
Subject: bug#16876: Zutils vs single compressor utilities
Date: Tue, 25 Feb 2014 10:47:57 +0100

Hi Paul,

Am 16.01.2012 um 23:58 schrieb Paul Eggert <address@hidden>:
> 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:

> address@hidden 
> [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 "address@hidden

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]