-
Notifications
You must be signed in to change notification settings - Fork 42
v vs. u m
dnewhall edited this page Nov 19, 2024
·
9 revisions
user-visible changes between 93v- 2014-12-24 and 93u+m*
All of these sections are incomplete
TODO: Add list of applicable bugfixes in 93v- not yet backported to 93u+m.
The 93v- RELEASE file lists at least some of these bugfixes:
https://github.com/ksh93/ksh93-history/blob/2016-01-10/src/cmd/ksh93/RELEASE
-
<>filedefault fd -
function f { return; }is now equal tofunction f { return "$?"; }. (not sure if bug or feature but now agrees with other shells.)
typeset -g-
.sh.{p,}pidspecial variables. (partial substitute for thepidsbuiltin) -
.sh.tilde.{set,get}disciplines.
-
~{fd}and~{var}expansions. (undocumented) -
__special variable. (undocumented) -
.sh.sigspecial compound variable. Exposes thesiginfo_tstructure. (undocumented) -
set -Knumeric and reverse sorting for various kinds of arrays or positional parameters. -
typeset -c new=objLiketypeset -m(move) but performs an object copy from obj to new. (undocumented) - A short-lived feature in which
${ .sh.value=result; }could be used to return a value was added then quietly removed. reference - The
grepandpollbuiltins. -
-mmethod option that reads a compound variable in a specific format. Two formats provided:kshandjson - JSON compound variable output with
print -jandprintf "%(json)B" - JSON input with
read -m json - enum constants can have
.DIG,.MAX,.MINsub-variables. - Floating-point variables can be following by
.DIG, .MAX, .MIN,.EPSILON,.INT_MAX,.INT_MIN, or.MAX_10_EXPto give values corresponding to the floating type of the variable. - Integer variables can be followed by
.DIG,.MAX, or.MINin arithmetic expression so give the values corresponding to that integer type. - Math constants such as
E,LOG2E,LOG10E,LN2,PI,PI_2,PI_4,SQRT2,SQRT1_2