bug-gnu-utils
[Top][All Lists]
Advanced

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

tar POSIX error ?


From: jfree
Subject: tar POSIX error ?
Date: Fri, 21 Dec 2001 14:49:53 -0700
User-agent: Mutt/1.3.24i

The POSIX test suite found at

http://www.itl.nist.gov/div897/ctg/posix_form.htm
http://www.itl.nist.gov/div897/ctg/suites/NP_distr.Z.exe

has a script bin/dif_script

which does the following:

        ...
        (cd ${DIF_DATA_PATH}/tar.d; tar -xdpf ../dif.d/tar.ar)
        ...
        (cd ${DIF_DATA_PATH}/dif.d; tar -cdpf ../tar.d/tar_dif type_link_1 
type.d fnames.d ln_gt_100_test gt_100_link)


This would infer to me, at least for POSIXLY_CORRECT, the 'd' option
should be able to co-exist with the 'c' or 'x' options?
(compare archive and file system on the fly, while creating/extracting
archive?)


But it errors, saying

        # export POSIXLY_CORRECT=1
        # sh -x bin/dif_script
        ...
        + cd ./STD/DIF/data/tar.d
        + tar -xdpf ../dif.d/tar.ar
        tar: You may not specify more than one `-Acdtrux' option
        Try `tar --help' for more information.


[Running on Debian GNU/Linux 3.0, tar 1.13.25]



reply via email to

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