Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Mar 2004 20:37:01 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Stephen McKay <smckay@internode.on.net>, arch@freebsd.org
Subject:   Re: posix ps (was Re: Adding `pgrep' and `pkill' to /usr/bin)
Message-ID:  <p060204b5bc8d2ccabee5@[128.113.24.47]>
In-Reply-To: <200403280808.i2S88aJ7016011@dungeon.home>
References:  <p0602046abc879c5fe2f9@[128.113.24.47]> <20040325070120.GA67497@VARK.homeunix.com> <1a9c01c41359$b3da45e0$7890a8c0@dyndns.org> <p06020494bc8a5738af2f@[128.113.24.47]> <200403280808.i2S88aJ7016011@dungeon.home>

next in thread | previous in thread | raw e-mail | index | archive | help
At 6:08 PM +1000 3/28/04, Stephen McKay wrote:
>On Saturday, 27th March 2004, Garance A Drosihn wrote:
>
>>>$ PERSONALITY=freebsd ps -?
>>
>>  Secondly, I personally am not fond of commands which COMPLETELY
>>  change their behavior based on environment variables.  Different
>>  options, different formats, different rules.
>
>Unifying ps on all Unices (including FreeBSD) is an excellent idea,
>and I fully support this.
>
>Using an environment variable (no matter what name is used) to
>switch between radically different personalities is an appalling
>idea.  No script can depend on the output of ps thereafter.

Fwiw, I do have plans to improve `ps' some more, but no intention
for adding dramatic personality changes based on any environment
variable.  If the next version of POSIX/SUS describes such a
variable, *then* we'll consider supporting it.  That is the only
context where it makes sense, imo.  That's just my personal option,
based on my previous experience with such variables.

Note that I'll probably be tied up with "other matters" until
April 15th or so, so don't expect to hear too much from me in
the immediate future.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p060204b5bc8d2ccabee5>