James Carlson wrote:
> Scott Rotondo writes:
>> Garrett D'Amore wrote:
>>> That said, I do sort of think that the rule you have, while workable, is 
>>> more confusing and violates the principle of least surprise.    (I.e. 
>>> you added a switch by accident which suddenly changed the meaning of 
>>> other options in a totally unexpected fashion.)
>> This approach (interpreting the options as either BSD or SVR4 depending 
>> on whether the dash is present) has been used for ps on other systems 
>> before. I don't think anyone will be terribly surprised.
> 
> Depending on the presence of "-" isn't novel.  Other OSes have done
> this before.  Inspecting the options in a presumed-BSD-ish list and
> reverting to SVR4 behavior if an unexpected option is seen _is_ new,
> and it's what caused both Garrett and me to say something.
> 

OK, sorry I misunderstood your point.

        Scott

-- 
Scott Rotondo
Principal Engineer, Solaris Security Technologies
President, Trusted Computing Group
Phone/FAX: +1 408 850 3655 (Internal x68278)

Reply via email to