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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29968 in the body.
You can then email your comments to 29968 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gzip <at> gnu.org:
bug#29968; Package gzip. (Wed, 03 Jan 2018 21:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bob Proulx <bob <at> proulx.com>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Wed, 03 Jan 2018 21:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bob Proulx <bob <at> proulx.com>
To: bug-gzip <at> gnu.org
Subject: 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





Information forwarded to bug-gzip <at> gnu.org:
bug#29968; Package gzip. (Wed, 03 Jan 2018 21:32:02 GMT) Full text and rfc822 format available.

Message #8 received at 29968 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bob Proulx <bob <at> proulx.com>, 29968 <at> debbugs.gnu.org
Subject: Re: bug#29968: Was "ps ef" intending to be "ps -ef"?
Date: Wed, 3 Jan 2018 13:31:37 -0800
[Message part 1 (text/plain, inline)]
On 01/03/2018 01:09 PM, Bob Proulx wrote:
> -  cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef'
> +  cmds_='date; date +%N; free; who -a; w; ps auxww; ps -ef'

Thanks, I installed that, along with similar fixes to build-aux/mktempd.

[0001-test-framework-sh-ps-ef-not-ps-ef.txt (text/plain, attachment)]

Information forwarded to bug-gzip <at> gnu.org:
bug#29968; Package gzip. (Wed, 03 Jan 2018 22:35:02 GMT) Full text and rfc822 format available.

Message #11 received at 29968 <at> debbugs.gnu.org (full text, mbox):

From: Bob Proulx <bob <at> proulx.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 29968 <at> debbugs.gnu.org
Subject: Re: bug#29968: Was "ps ef" intending to be "ps -ef"?
Date: Wed, 3 Jan 2018 15:34:22 -0700
Paul Eggert wrote:
> Bob Proulx wrote:
> > -  cmds_='date; date +%N; free; who -a; w; ps auxww; ps ef'
> > +  cmds_='date; date +%N; free; who -a; w; ps auxww; ps -ef'
> 
> Thanks, I installed that, along with similar fixes to build-aux/mktempd.

Awesome!  Thanks!

Bob




bug closed, send any further explanations to 29968 <at> debbugs.gnu.org and Bob Proulx <bob <at> proulx.com> Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Fri, 01 Apr 2022 00:06:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Apr 2022 11:24:09 GMT) Full text and rfc822 format available.

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.