Re: procps-1.2.2

Jimmie Farmer (calvin@malchick.com)
Thu, 18 Dec 1997 10:41:54 -0800 (PST)


On Wed, 17 Dec 1997, Brian wrote:

> I upgraded to procps-1.2.2 as per the Changes file for the latest kernels,
> and noticed this:
>
> luna:~$ ps -aux
> warning: `-' deprecated; use `ps aux', not `ps -aux'
>
> Why did they do away with the "-"? Isn't it "standard" to use a - for
> arguments to a program? So now we are suppose to do like "ps aux"?

This was driving me batty as well, so I just commented that stupid
thing out in ps.c. =-) It is at about line 157, and I just did this:

/*
fprintf(stderr,
"warning: `-' deprecated; use `ps %s', not `ps %s'\n",
(p+1), p);
*/

I also added:

case 'g': break;

so when I type "ps -axgr" out of habbit, it won't complain. =-)

Of course, this won't help when the program won't accept ps -foo
at all, so I would beg the authors to not do this at all, please. Just
let it accept both ps -foo and ps foo equally.

Sincerely,
Jimmie Farmer

Jimmie Farmer | It is by the fortune of God that, in this country,
Techno Geek/Musician | we have three benefits: freedom of speech, freedom
calvin@malchick.com | of thought, and the wisdom never to use either.
http://www.malchick.com/ | -- Mark Twain