lkml.org 
[lkml]   [1997]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: procps-1.2.2
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


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.032 / U:1.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site