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

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

Re: tar POSIX error ?


From: Paul Eggert
Subject: Re: tar POSIX error ?
Date: Fri, 21 Dec 2001 14:04:55 -0800 (PST)

> From: jfree <address@hidden>
> Date: Fri, 21 Dec 2001 14:49:53 -0700
> 
> 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?

This appears to be a portability bug in that script.  POSIX does not
specify the 'tar' command.  It specifies only 'tar' format.  Many
non-GNU 'tar' implementations do not have -d at all; Solaris 8, for
example.



reply via email to

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