jilles aa5140b7ec sh: Remove the "exp" builtin.
The "exp" builtin is undocumented, non-standard and not very useful.

If exp's return value is not used, something like
VAR=$(exp EXPRESSION)
is equivalent to
VAR=$((EXPRESSION))
except that errors in the expression are fatal and quoting special
characters is not needed in the latter case.

If exp's return value is used, something like
if exp EXPRESSION >/dev/null
can be replaced by
if [ $((EXPRESSION)) -ne 0 ]
with similar differences.

The exp-run showed that "let" is close enough to bash's and ksh's builtin
that removing it would break a few ports. Therefore, "let" remains in 9.x.

PR:		bin/104432
Exp-run done by: pav (with some other sh(1) changes)
2011-05-27 20:53:07 +00:00
..
2009-10-15 18:17:29 +00:00
2010-06-02 09:34:41 +00:00
2011-05-13 16:29:57 +00:00
2009-01-30 16:23:57 +00:00
2011-02-21 09:01:34 +00:00
2006-12-18 15:45:01 +00:00
2011-05-22 14:03:46 +00:00
2009-06-23 23:30:56 +00:00
2011-02-21 16:03:39 +00:00
2011-03-15 22:22:11 +00:00
2011-05-13 16:29:57 +00:00
2006-12-27 11:28:00 +00:00
2009-09-04 21:49:37 +00:00
2011-02-04 16:40:50 +00:00
2011-05-22 14:03:46 +00:00
2011-03-15 22:22:11 +00:00
2010-02-15 14:07:40 +00:00
2006-12-27 12:14:56 +00:00
2011-05-27 20:53:07 +00:00
2011-03-15 22:22:11 +00:00
2009-10-15 18:17:29 +00:00
2010-09-13 01:29:51 +00:00