Email List: Xaustin-review-lX
[All Lists]

Re: Defect in XBD Utility Syntax Guidelines

To: Glenn Fowler <yyy@xxxxxxxxxxxxxxxx>
Subject: Re: Defect in XBD Utility Syntax Guidelines
From: "Clive D.W. Feather" <yyyyy@xxxxxxxxx>
Date: Wed, 29 Sep 2004 08:06:27 +0100
Cc: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx, yyyyyy@xxxxxxxxxxx
References: <200409282347.AAA01226@xxxxxx> <200409290513.BAA93726@xxxxxx>
Glenn Fowler said:
>   Guideline 10: 
>      The argument -- should be accepted as a delimiter indicating
>      the end of options. Any following arguments should be treated
>      as operands, even if they begin with the '-' character. The --
>      argument should not be used as an option or as an operand. 

Hmm; as worded, this says that you can't have a file "--" passed to a
command that follows these guidelines, even by:

    rm -- xxx --

It should be "... as an option or as the first operand", surely?

-- 
Clive D.W. Feather  | Work:  <yyyyy@xxxxxxxxx>   | Tel:    +44 20 8495 6138
Internet Expert     | Home:  <yyyyy@xxxxxxxxxx>  | Fax:    +44 870 051 9937
Demon Internet      | WWW: http://www.davros.org | Mobile: +44 7973 377646
Thus plc            |                            |

<Prev in Thread] Current Thread [Next in Thread>