Subject: Re: ps(1) sysv silliness
To: None <tech-userlevel@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: tech-userlevel
Date: 06/08/2000 12:42:52
ITOH Yasufumi wrote:

> cgd@sibyte.com writes:
> 
> > however, Net/2 (iirc) and therefore our 'ps' both accepts and
> > documents the dash form as acceptable for 'berkeley-ish' args.
> > 
> > in fact, ps(1) doesn't even document the non-dash form in any obvious
> > way.
> 
> Additionally, the non-dash form is so kludgey and seems to have some bugs:
> "ps -Uroot" works, "ps Uroot" not.  :)

Ummm:

	alpha:~ 6> ps Uroot
	PID TT STAT    TIME COMMAND
	198 E0 Is+  0:00.02 /usr/libexec/getty std.9600 console 
	alpha:~ 7> ps -Uroot
	PID TT STAT    TIME COMMAND
	198 E0 Is+  0:00.02 /usr/libexec/getty std.9600 console 

How old is your ps/which release are you running?  I didn't touch
argument processing at all...

Simon.