Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Identifying the NetBSD shell



    Date:        Tue, 22 Mar 2016 14:03:18 +0100
    From:        Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
    Message-ID:  <20160322130318.GB10605%britannica.bec.de@localhost>

  | I'm not sure I like *any* kind of implicitly defined environment
  | variable for this purpose. So why can't it be a special set argument
  | instead, just like most command line tools of GNUish origin support
  | something like -V?

Because that wouldn't work with any other shell in existence, and the
whole idea is to implement something that any shell (Bourne shell style,
forget csh) can use to determine which shell is running.

kre

ps: and in the NetBSD shell, -V means "vi editing enabled"...



Home | Main Index | Thread Index | Old Index