On 04/26/2013 12:56 AM, Pavel Raiskup wrote:
> So you think something like remove the leading path '/usr/bin/' before
> comparison with 'GZIP_PROGRAM'?

I'm afraid that will lead to even more confusion; among other things,
tar shouldn't care what the program names are.

It may be better to have two different options.  One, designed
for programs that behave like 'compress' does, where exit status 2
is OK.  The other, for "normal" programs, where only exit status 0
is OK.  When tar infers a compressor it can also infer which of these
two options to use.

Reply via email to