Pavel Raiskup <prais...@redhat.com> ha escrit:

>    In short, there would be nice to allow maintainers to specify something
>    like this:
> 
>      ./configure --with-lzma="xz --format=lzma"

I have pushed the necessary fixes (commit 7b5e8039).  Any option taking
a command name as its argument now accepts a full command line as well.
These options are:

  --checkpoint-action=exec
  -I, --use-compress-program
  -F, --info-script
  --to-command

Thus, one can do "tar -c -I 'gzip -9' .", for example.

The argument is split using almost the same rules as used by the shell
(excepting command substitution and arithmetic expansion).  For the
commands that take additional information from environment variables
created by tar it is now possible to pass these in the command line
as well (escaping them from being expanded prematurely), e.g.:

  tar -x -f a.tar --info-script='changevol $TAR_ARCHIVE $TAR_VOLUME'
        
Regards,
Sergey

Reply via email to