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: Miles Bader
Subject: Re: [Gnu-arch-users] [BUG] tla dosen't handle '--' as end of option argument
Date: Sun, 12 Sep 2004 08:11:17 -0400
User-agent: Mutt/1.3.28i

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 for a bare POSIX user, the use of '--' in tla is not intuitive ;)

Nah, it's fine.  Don't worry so much.

-Miles
-- 
"1971 pickup truck; will trade for guns"




reply via email to

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