GNU bug report logs - #29968
Was "ps ef" intending to be "ps -ef"?

Previous Next

Package: gzip;

Reported by: Bob Proulx <bob <at> proulx.com>

Date: Wed, 3 Jan 2018 21:10:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bob Proulx <bob <at> proulx.com>
To: 29968 <at> debbugs.gnu.org
Subject: bug#29968: Was "ps ef" intending to be "ps -ef"?
Date: Wed, 3 Jan 2018 14:09:14 -0700
Paul Eggert wrote:
> Thanks. I installed the attached slightly-simpler patch into Gnulib, and it
> should appear in the next Gzip release.

> -  cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef; netstat -n'
> +  cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef'

I saw this in passing and it looks like there was another previous bug
there already.  I see "ps auxww; ps ef;" and I think immediately that
the original intention must have been "ps auxww; ps -ef;" since that
would be the normal idioms for BSD style and SysV style ps.

Which I think means this change is begging to be made:

-  cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef'
+  cmds_='date; date +%N; free; who -a; w; ps auxww; ps -ef'

Bob





This bug report was last modified 3 years and 51 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.