"Jan Psota" <[EMAIL PROTECTED]> wrote:
> > That's difficult to do, since a two-letter short option violates POSIX
> > recommendations. -7z should be equivalent to -7 -z should be equivalent
> > to -z -7, but we already have -z.
> All the truth.
This is not true:
- POSIX does not forbid long options, it only recommends to use short
options.
- tar is not POSIX but SUSv2 and a tar implementation that "supports"
-z -7 violates SUSv2
The only conforming way to implement tar is _not_ to implement options
in tar. "tar cf7 /dev/rmt/0 ." is conforming, "tar -cf7 /dev/rmt/0 ."
is not.
For this reason, it is not possible to get into trouble with -7z, in special
as it is a _long_ option.
Jörg
--
EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni)
[EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily