[Top][All Lists]

[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: Thu, 18 Oct 2007 00:17:38 +0200
User-agent: nail 11.22 3/20/05

"Sergey Poznyakoff" <address@hidden> wrote:

> To begin with, let me remind that we are discussing GNU tar here. 

Many people believe that GNU tar is tar and for this reason, GNU tar
should be as close to the behavior of tar as possible. In fact, PD-tar/SUG-tar
from John Gilmore (what GNU tar was based on) was very compatible.

> Joerg Schilling <address@hidden> ha escrit:
> > -   POSIX does not forbid long options, it only recommends to use short
> >     options.
> Right. In GNU, long options begin with two dashes, not one. Therefore -7z
> is not a long option.

POSIX strongly recommends single char options and POSIX strongly recommends
that options start with a single '-'.

A long option called "-abc" ignores one recommendation, a long option called 
"--abc" ignores two recommendations.

> > 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.
> Are you suggesting to remove short option support from GNU tar?

No, a decent option parser will not recognize -7z as -7 -z in case that
a long option named -7z is defined.

If GNU tar preferes to use --long-option, then should know that this is less 
close to POISX than -long-option. In the Schily universe, programs _also_ 
--long-option for user convenience....


 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]