bug-tar
[Top][All Lists]
Advanced

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

Re: ODP: [Bug-tar] LZO and LZMA compression


From: Joerg Schilling
Subject: Re: ODP: [Bug-tar] LZO and LZMA compression
Date: Wed, 17 Oct 2007 22:17:07 +0200
User-agent: nail 11.22 3/20/05

"Jan Psota" <address@hidden> 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:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden                (uni)  
       address@hidden     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily




reply via email to

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