"Peter Tribble" <[EMAIL PROTECTED]> wrote:

> >  The simple plan is this:
> >
> >         - if called with an argument which does not start with "-",
> >           be /usr/ucb/ps
> >         - if called with an argument starting with "-" behave like ucb ps
> >           or bin/ps depending on how the program was invoked
>
> The first is right; the second I'm not so sure. How I've had this for the
> last decade (and is similar to the way that some other ps implementations
> seemed to behave) is that if there's an argument starting with "-", be
> /usr/bin/ps.

I would say: if the first arg start with "-", be /usr/bin/ps, else be 
/usr/ucb/ps




Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to