tech-userlevel archive

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

Re: let and exp shell builtins



    Date:        Tue, 3 Dec 2019 08:29:20 +0000
    From:        Emmanuel Dreyfus <manu%netbsd.org@localhost>
    Message-ID:  <20191203082920.GA6638%homeworld.netbsd.org@localhost>

  | Today I discovered the let and exp shell builtins. They exist in /bin/sh
  | but are only documented in ksh(1). CVS tells us it came from 4.4BSD lite.

Yes.   Been there forever.   ("They" are one builtin with 2 names, "let"
is the more common version.)

  | Perhaps we need to document it in sh(1)?

If they were useful perhaps, but they really aren't much.   But if it is
desired, doing so would not be hard.

Another option would be to delete them (or at least "exp" which I think
has been removed from the FreeBSD sh).

kre



Home | Main Index | Thread Index | Old Index