gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] [BUG] tla dosen't handle '--' as end of option argu


From: Yann Droneaud
Subject: Re: [Gnu-arch-users] [BUG] tla dosen't handle '--' as end of option argument
Date: Sun, 12 Sep 2004 14:30:12 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Miles Bader <address@hidden> writes:

> On Sun, Sep 12, 2004 at 02:00:01PM +0200, Yann Droneaud wrote:
>> POSIX tell us, that '--' should be transparent on the command line, and
>> change only the behavior of the commande line parser, not the
>> behavior/work/purpose of the tool.
>> 
>> ls <files>
>> ls -- <files>
>> ls <files> --
>> 
>> are equivalents calls to a command if <files> doesn't contain files
>> beginning with '-'.  And it doesn't change the way ls will display your
>> files.
>
> I think this is a slightly miss-represention of what tla does.  It's more
> like the case of `ls <files>' versus `ls' -- the presence or absence of
> <file> arguments causes ls to behave differently.
>

but 'ls --' is equivalent to 'ls'.

'tla undo' is not equivalent to 'tla undo --', in fact the latter does
not work at all, the '--' command switch require argument : '--' change
the behavior of the command instead of changing only the command line
parsing.

But, the point is not to prove if tla behavor is POSIX compatible
(it's not ;), but to think if it's acceptable. And it's probably an
endless discussion.

(That's why i made this bug report a wishlist).

Regards.

-- 
Yann Droneaud (aka Meuh) <address@hidden>
http://meuh.org/ | http://sherkan.tuxfamily.net/~meuh/
Une vache perdue sur Internet | A cow lost in the Internet
1024D/BEA43321   5D91 B5B0 5137 B8FE 6882  FE19 CAA0 6F05 BEA4 3321




reply via email to

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