>First off, I really like what this case is trying to do.  But I do have 
>a possible concern:  /usr/ucb/ps could have been used with  a leading 
>"-".  E.g. /usr/ucb/ps -aux and /usr/ucb/ps aux both return the same thing.
>
>I'd humbly suggest that if getexecname returns /usr/ucb/ps then the 
>legacy UCB behavior should be used unconditionally.

What I propose isn't all that different.  /usr/ucb/ps will ONLY behave
like /usr/bin/ps IF AND ONLY IF one of the arguments is NOT recognized by
/usr/ucb/ps.  Rather than printing an error message, it tries to do
something plausible.

I thought the examples clarified that.

Casper




Reply via email to