Re: posix ps (was Re: Adding `pgrep' and `pkill' to /usr/bin)

From: Stephen McKay (smckay_at_internode.on.net)
Date: 03/28/04

  • Next message: M. Warner Losh: "Re: Where should devctl notifications be sent from?"
    To: arch@freebsd.org
    Date: Sun, 28 Mar 2004 18:08:36 +1000
    
    

    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.

    If multiple personalities is a desirable trait (and it's not clear that it
    is) then command line switches and aliases are the correct mechanisms to
    use.

    Stephen.
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: M. Warner Losh: "Re: Where should devctl notifications be sent from?"

    Relevant Pages

    • Re: Is there a way to control the serivce control manager?
      ... > Our XPe device has two personalities. ... but a switch on the device sets the personality. ... > control manager will see the changes and do the right thing? ...
      (microsoft.public.windowsxp.embedded)
    • Is there a way to control the serivce control manager?
      ... Our XPe device has two personalities. ... start and run a different set of services depending on that switch. ...
      (microsoft.public.windowsxp.embedded)
    • Re: posix ps (was Re: Adding `pgrep and `pkill to /usr/bin)
      ... >> change their behavior based on environment variables. ... >and I fully support this. ... >switch between radically different personalities is an appalling ... That's just my personal option, ...
      (freebsd-arch)
    • Re: DeXter
      ... >> Huh? ... Nothing prevents you from doing that in Delphi 2005. ... >> easily develop in different personalities and switch between them. ...
      (borland.public.delphi.non-technical)
    • Re: posix ps (was Re: Adding `pgrep and `pkill to /usr/bin)
      ... SM>Using an environment variable to switch ... SM>between radically different personalities is an appalling idea. ... utility output until you set LC_ALL=C, yet I have still to see a script ... SM>If multiple personalities is a desirable trait (and it's not clear that it ...
      (freebsd-arch)