Salve J Nilsen <[EMAIL PROTECTED]> writes:

> Smylers said:
>>
>> The convention of using '--' to mean 'that's the end of my own
>> arguments' neatly avoids all of these issues.
>
> FWIW, I'm with Smylers here. '--' has been around for many years as a
> command-line convention for "signifying the end of options." (from
> bash(1)).

  "end of arguments" ne "end of options".

  For what it's worth, I expect '--' to mean "end of options".  What
follows are non-option arguments, but still arguments.  In this case,
files or directories:

#       USAGE
#       
#        prove [options] [files or directories]


  Do I have a vote?

> [ ] --
> [X] something else (please specify)

  I would look to find(1)'s -exec, xterm(1)'s -e, or even perl(1)'s -e
for (somewhat analogous) prior art.  Any one of these would be good,
as far as I'm concerned; each has its downsides, sure, but I don't
think there is a solution without.

  Of all solutions I've seen suggested, '--' is the only one that runs
contrary to my expectations.


Eirik
-- 
Eirik Berg Hanssen, [EMAIL PROTECTED]
      Just this .sig then
              nothing more

Reply via email to