Re: Small change to 'ps'

2009-01-11 Thread Garance A Drosehn
At 1:51 AM -0500 1/9/09, Mike Meyer wrote: On Wed, 7 Jan 2009 Sheldon Givens shel...@sigsegv.ca wrote: And I guess I just feel like running a second command to do what should be possible to do with the first command (and is, on many platforms. ps --no-headers on linux for example) is a

Re: Small change to 'ps'

2009-01-10 Thread Tim Kientzle
Mike Meyer wrote: How about borrowing from existing commands that already implement this functionality (zfs and zpool) and using `-H', which is relatively rarely used elsewhere? Every BSD command that walks a filesystem supports -L, -P, and -H with consistent semantics: -L Logical traversal

Re: Small change to 'ps'

2009-01-09 Thread Mike Meyer
On Wed, 7 Jan 2009 09:27:24 -0800 Sheldon Givens shel...@sigsegv.ca wrote: And I guess I just feel like running a second command to do what should be possible to do with the first command (and is, on many platforms. ps --no-headers on linux for example) is a problem and presents opportunity for

Re: Small change to 'ps'

2009-01-07 Thread Ulrich Spoerlein
On Tue, 06.01.2009 at 11:52:39 -0800, Sheldon Givens wrote: Hello everyone, It occurs to me that FreeBSD ps lacks the ability to disable header. This seems like a really obvious feature, and I may have simply missed it's existence (despite my relentlessly searching the man page) but here is

Re: Small change to 'ps'

2009-01-07 Thread Sean C. Farley
On Wed, 7 Jan 2009, Ulrich Spoerlein wrote: On Tue, 06.01.2009 at 11:52:39 -0800, Sheldon Givens wrote: Hello everyone, It occurs to me that FreeBSD ps lacks the ability to disable header. This seems like a really obvious feature, and I may have simply missed it's existence (despite my

Re: Small change to 'ps'

2009-01-07 Thread Ulrich Spoerlein
On Wed, 07.01.2009 at 08:54:41 -0600, Sean C. Farley wrote: On Wed, 7 Jan 2009, Ulrich Spoerlein wrote: On Tue, 06.01.2009 at 11:52:39 -0800, Sheldon Givens wrote: Hello everyone, It occurs to me that FreeBSD ps lacks the ability to disable header. This seems like a really obvious

Re: Small change to 'ps'

2009-01-07 Thread Sheldon Givens
On Wed, Jan 7, 2009 at 7:48 AM, Ulrich Spoerlein uspoerl...@gmail.comwrote: On Wed, 07.01.2009 at 08:54:41 -0600, Sean C. Farley wrote: On Wed, 7 Jan 2009, Ulrich Spoerlein wrote: On Tue, 06.01.2009 at 11:52:39 -0800, Sheldon Givens wrote: Hello everyone, It occurs to me that

Re: Small change to 'ps'

2009-01-07 Thread Bert JW Regeer
On Jan 7, 2009, at 10:27 , Sheldon Givens wrote: On Wed, Jan 7, 2009 at 7:48 AM, Ulrich Spoerlein uspoerl...@gmail.comwrote: On Wed, 07.01.2009 at 08:54:41 -0600, Sean C. Farley wrote: On Wed, 7 Jan 2009, Ulrich Spoerlein wrote: On Tue, 06.01.2009 at 11:52:39 -0800, Sheldon Givens

Small change to 'ps'

2009-01-06 Thread Sheldon Givens
Hello everyone, It occurs to me that FreeBSD ps lacks the ability to disable header. This seems like a really obvious feature, and I may have simply missed it's existence (despite my relentlessly searching the man page) but here is a small patch that sets the flag 'n' to disable header output.

Re: Small change to 'ps'

2009-01-06 Thread Doug Barton
Sheldon Givens wrote: Hello everyone, It occurs to me that FreeBSD ps lacks the ability to disable header. Why is this necessary? Doug -- This .signature sanitized for your protection ___ freebsd-hackers@freebsd.org mailing list