1*3e14f97fSRoger A. Faulkner10-03-05 --- Release ksh93t+ --- 2*3e14f97fSRoger A. Faulkner10-03-05 A varibale unset memory leak has been fixed and tests/leaks.sh 3*3e14f97fSRoger A. Faulkner has been added to verify the fix. 4*3e14f97fSRoger A. Faulkner10-03-04 Documentation, comment, and disgnostic spelling typos corrected. 5*3e14f97fSRoger A. Faulkner10-02-14 Fix sh_getenv() initialization to cooperate with the 3d fs. 6*3e14f97fSRoger A. Faulkner10-02-12 A bug in which the get discipline function was not invoked for 7*3e14f97fSRoger A. Faulkner associative array subscripts for unset array elements has been fixed. 8*3e14f97fSRoger A. Faulkner10-02-12 A bug which could occur if the last line of a script was an eval 9*3e14f97fSRoger A. Faulkner that executed multiple commands has been fixed. 10*3e14f97fSRoger A. Faulkner10-02-02 A buffer overflow in read and another in binary type base64 11*3e14f97fSRoger A. Faulkner encoding were fixed. 12*3e14f97fSRoger A. Faulkner10-01-20 A bug in the evaluation of arithmetic expression in which the 13*3e14f97fSRoger A. Faulkner subscript was evaluated twice for $((foo[x++]++)) has been fixed. 14*3e14f97fSRoger A. Faulkner10-01-19 A workaround for a double-free of a trap in both a subshell and its 15*3e14f97fSRoger A. Faulkner parent has been added. 16*3e14f97fSRoger A. Faulkner10-01-18 A bug in type handling of typeset -H has been fixed. 17*3e14f97fSRoger A. Faulkner10-01-15 The "adding empty subscript" warning now only emitted with -x set. 18*3e14f97fSRoger A. Faulkner10-01-01 A bug in the parser in which '$((case i in i):;esac);:))' was not 19*3e14f97fSRoger A. Faulkner parsed correctly was fixed. 20*3e14f97fSRoger A. Faulkner10-01-01 A bug in the parser in which '$(( 2 , 3.6 ))' dumped core for locales 21*3e14f97fSRoger A. Faulkner with radix char , and thousands separator . has been fixed. 22*3e14f97fSRoger A. Faulkner09-12-28 A bug in the handling of SIGCLD on systems that generated SIGCLD 23*3e14f97fSRoger A. Faulkner while blocked waiting for process to complete has been fixed. 24*3e14f97fSRoger A. Faulkner09-12-24 ast setlocale() reworked to differentiate env var changes from user 25*3e14f97fSRoger A. Faulkner override. 26*3e14f97fSRoger A. Faulkner09-12-18 A bug with the SHOPT_BGX option set which disabled traps for signals 27*3e14f97fSRoger A. Faulkner < SIGCHLD when a trap for a signal > SIGCHLD was set has been fixed. 28*3e14f97fSRoger A. Faulkner09-12-18 A bug where [[ -v var ]] was incorrect for some variables (including 29*3e14f97fSRoger A. Faulkner LC_* vars) has been fixed. 30*3e14f97fSRoger A. Faulkner09-12-15 A bug that produced a syntax error when a multibyte character 31*3e14f97fSRoger A. Faulkner straddled a buffer boundary has been fixed. 32*3e14f97fSRoger A. Faulkner09-12-11 A bug where the subscript of an unset variable was not evaluated has 33*3e14f97fSRoger A. Faulkner been fixed. 34*3e14f97fSRoger A. Faulkner09-12-09 A bug where shcomp dumped core on certain syntax errors has been fixed. 35*3e14f97fSRoger A. Faulkner09-12-07 A bug where a parent shell environment var reset in a subshell removed 36*3e14f97fSRoger A. Faulkner the value in subsequent children of the parent shell has been fixed. 37*3e14f97fSRoger A. Faulkner09-12-04 A bug in which in some cases a trap in a function executed in 38*3e14f97fSRoger A. Faulkner a subshell could trigger twice has been fixed. 39*3e14f97fSRoger A. Faulkner09-12-03 A bug in which SHLVL exported with some attributes could cause 40*3e14f97fSRoger A. Faulkner the shell to abort at startup has been fixed. 41*3e14f97fSRoger A. Faulkner09-12-02 A bug with pipefail in which the shell could hang waiting for the 42*3e14f97fSRoger A. Faulkner writer to complete before the last reader command has been fixed. 43*3e14f97fSRoger A. Faulkner09-11-30 A bug in which a trap could be inherited by the first element of 44*3e14f97fSRoger A. Faulkner a pipeline when the command had more than 63 arguments that did 45*3e14f97fSRoger A. Faulkner not contain any macro expansions has been fixed. 46*3e14f97fSRoger A. Faulkner09-11-19 When read from a terminal was called from with a while or foo loop, 47*3e14f97fSRoger A. Faulkner and an edit mode was on, a backspace or erase no longer will 48*3e14f97fSRoger A. Faulkner overwrite the prompt. 49*3e14f97fSRoger A. Faulkner09-11-17 Change .paths parse to handle BUILTIN_LIB=foo BUILTIN_LIB=foo-1.2. 50*3e14f97fSRoger A. Faulkner09-11-17 Inside a function, typeset foo.bar will bind foo to global variable 51*3e14f97fSRoger A. Faulkner foo if local variable foo does not exist, instead of creating a 52*3e14f97fSRoger A. Faulkner local variable. 53*3e14f97fSRoger A. Faulkner09-11-17 "read -n1" from the terminal has been fixed to read exactly one character. 54*3e14f97fSRoger A. Faulkner09-11-11 Job control now works for subshell commands, (...). 55*3e14f97fSRoger A. Faulkner09-11-11 If set -e is on for an interactive shell errors in special builtins 56*3e14f97fSRoger A. Faulkner now cause the shell to exit. 57*3e14f97fSRoger A. Faulkner09-11-11 A bug in which an interrupt handler processed during the read builtin 58*3e14f97fSRoger A. Faulkner when IFS did not contain a new line has been fixed. 59*3e14f97fSRoger A. Faulkner09-11-09 A bug in which a variable that has been unset in a subshell and then 60*3e14f97fSRoger A. Faulkner exported from that subshell does not show up in the environment 61*3e14f97fSRoger A. Faulkner has been fixed. 62*3e14f97fSRoger A. Faulkner09-11-02 ``,2'' is now a valid numeric constant for locales with 63*3e14f97fSRoger A. Faulkner decimal_point=','. 64*3e14f97fSRoger A. Faulkner09-11-02 A bug where "return" in .profile did not restore the shell state 65*3e14f97fSRoger A. Faulkner has been fixed. 66*3e14f97fSRoger A. Faulkner09-10-31 A bug that corrupted saved exit status when pids wrapped around has 67*3e14f97fSRoger A. Faulkner been fixed. 68*3e14f97fSRoger A. Faulkner09-10-26 A bug in { LANG LC_ALL LC_category } ordering has been fixed in -last. 69*3e14f97fSRoger A. Faulkner09-10-16 A bug where notification to libast that the environment has changed 70*3e14f97fSRoger A. Faulkner has been fixed. 7134f9b3eeSRoland Mainz09-10-12 A bug in which a function loaded in a subshell could leave side 7234f9b3eeSRoland Mainz effects in the parent shell has been fixed. 7334f9b3eeSRoland Mainz09-10-12 A bug in converting a printf %d operand to a number when the operand 7434f9b3eeSRoland Mainz contains multiple subscripts for the same variable has been fixed. 7534f9b3eeSRoland Mainz09-10-09 A bug in the handling of the escape character \ in directory prefixes 7634f9b3eeSRoland Mainz in command completion has been fixed. 7734f9b3eeSRoland Mainz09-10-09 $PATH processing has been changed to delay dir stat() and .paths 7834f9b3eeSRoland Mainz lookup until the directory is needed in the path search. 7934f9b3eeSRoland Mainz09-09-28 Call the ast setlocale() intercept on unset too. 8034f9b3eeSRoland Mainz09-09-24 A bug in which LANG=foo; LC_ALL=foo; unset LC_ALL; did not revert 8134f9b3eeSRoland Mainz LC_CTYPE etc. to the LANG value has been fixed. 8234f9b3eeSRoland Mainz09-09-17 A bug in which unsetting SVLVL could cause a script invoked by 8334f9b3eeSRoland Mainz name without #! to core dump has been fixed. 8434f9b3eeSRoland Mainz09-09-16 A bug in which a pipeline in a here-document could hang when the 8534f9b3eeSRoland Mainz pipefail option was on has been fixed. 8634f9b3eeSRoland Mainz09-09-09 A bug in the processing of line joining in here documents which 8734f9b3eeSRoland Mainz occurred when a buffer began with <escape><new-line> has been fixed. 8834f9b3eeSRoland Mainz09-09-09 A leading ; with commands in a brace group or parenthesis group 8934f9b3eeSRoland Mainz no longer causes an error. It now is used for the "showme" option. 9034f9b3eeSRoland Mainz09-09-09 A bug in which a subshell containing a background process could 9134f9b3eeSRoland Mainz block until the background process completed has been fixed. 9234f9b3eeSRoland Mainz09-09-04 A bug in handing ${var[sub]}, where var is a nameref has been fixed. 9334f9b3eeSRoland Mainz09-09-03 A bug which caused an index array to have the wrong number of elements 9434f9b3eeSRoland Mainz when it was converted from a compound variable by adding an another 9534f9b3eeSRoland Mainz element has been fixed. 9634f9b3eeSRoland Mainz09-09-03 Specifying export for a compound variable now generates an error. 9734f9b3eeSRoland Mainz09-09-02 $"..." localizations strings are no longer recognized inside `...`. 9834f9b3eeSRoland Mainz09-09-01 A bug in the for loop optimizer in the handling of type static 9934f9b3eeSRoland Mainz variables has been fixed. 10034f9b3eeSRoland Mainz09-09-01 An error message is not displayed when * and @ are used as subscripts. 10134f9b3eeSRoland Mainz09-09-01 Several bugs in the processing for types that included an associative 10234f9b3eeSRoland Mainz array of another type has been fixed. 10334f9b3eeSRoland Mainz09-09-01 A bug in the tracing of [[ a < b ]] and [[ a > b ]] has been fixed. 10434f9b3eeSRoland Mainz09-08-26 The .sh.file variable was not being set for a script that was run 10534f9b3eeSRoland Mainz by name and didn't start with #! and this has been fixed. 10634f9b3eeSRoland Mainz09-08-25 A bug in which a function called to deeply from command substitution 10734f9b3eeSRoland Mainz did not display an error message has been fixed. 10834f9b3eeSRoland Mainz09-08-24 When processing profiles, ksh93 now violates the POSIX standard and 10934f9b3eeSRoland Mainz treats &> as a redirection operator similar to bash. 110*3e14f97fSRoger A. Faulkner09-08-23 A bug in the handling of the trap on SIGPIPE that could lead to a 11134f9b3eeSRoland Mainz memory fault has been fixed. 11234f9b3eeSRoland Mainz09-08-21 A bug in the handling of the comma operator in arithmetic expressions 11334f9b3eeSRoland Mainz that could cause a core dump on some systems has been fixed. 11434f9b3eeSRoland Mainz09-08-20 A bug in which a compound variable containing an array of a type 11534f9b3eeSRoland Mainz that doesn't have any elements now expands correctly. 11634f9b3eeSRoland Mainz09-08-19 A bug which disabled function tracing inside a function after 11734f9b3eeSRoland Mainz a call to another function has been fixed. 11834f9b3eeSRoland Mainz09-08-19 A bug in which initializing a compound variable instance to another 11934f9b3eeSRoland Mainz compound variable by name has been fixed. 12034f9b3eeSRoland Mainz09-08-18 A bug in which compound variable instances could be lost after 12134f9b3eeSRoland Mainz an instance that invoked a type method discipline has been fixed. 12234f9b3eeSRoland Mainz09-08-18 A bug in which a discipline function for a type applied to an 12334f9b3eeSRoland Mainz array instance when invoked in a function ignored the subscript 12434f9b3eeSRoland Mainz has been fixed. 12534f9b3eeSRoland Mainz09-08-18 A scoping error with variables in arithmetic expression with 12634f9b3eeSRoland Mainz type variables when reference with a name reference has been fixed. 12734f9b3eeSRoland Mainz09-08-10 Several memory leaks were fixed primarily related to subshells. 12834f9b3eeSRoland Mainz09-08-06 A bug in which setting the trap on CHLD to ignore could cause 12934f9b3eeSRoland Mainz a script to hang has been fixed. 13034f9b3eeSRoland Mainz09-07-08 A bug in the processing of name reference assignments when it 13134f9b3eeSRoland Mainz contained pattern expansions with quoting has been fixed. 13234f9b3eeSRoland Mainz09-06-22 The default width for typeset -X has been changed so that there 13334f9b3eeSRoland Mainz should be no loss of precision when converting to a string. 13434f9b3eeSRoland Mainz09-06-19 A bug in the printing of array elements for binary variables with 13534f9b3eeSRoland Mainz printf %B has been fixed. 13634f9b3eeSRoland Mainz09-06-19 A bug which caused a core dump with trap DEBUG set with an array 13734f9b3eeSRoland Mainz assignment with no elements has been fixed. 13834f9b3eeSRoland Mainz09-06-19 A bug with read with typeset -b -Z<num> has been fixed. 13934f9b3eeSRoland Mainz09-06-19 Two bugs related to read -b for array variables has been fixed. 14034f9b3eeSRoland Mainz09-06-19 A bug with typeset for compound variables containing arrays of 14134f9b3eeSRoland Mainz compound variables has been fixed. 14234f9b3eeSRoland Mainz09-06-18 A bug in appending a compound variable to a an indexed array of 14334f9b3eeSRoland Mainz compound variables has been fixed. 14434f9b3eeSRoland Mainz09-06-18 A bug which occurs when appending a compound variable to an indexed 14534f9b3eeSRoland Mainz array element has been fixed. 14634f9b3eeSRoland Mainz09-06-18 Setting VISUAL to a value other than one ending in vi or emacs will 14734f9b3eeSRoland Mainz no longer unset the edit mode. 14834f9b3eeSRoland Mainz09-06-17 A bug in typeset -m when moving a local compound variable to a 14934f9b3eeSRoland Mainz global compound variable via a name reference has been fixed. 15034f9b3eeSRoland Mainz09-06-17 A bug in appending to nodes of an array of compound variables when 15134f9b3eeSRoland Mainz addressing them via nameref has been fixed. 15234f9b3eeSRoland Mainz09-06-17 A bug in typeset -p var, when var is an array of compound variables 15334f9b3eeSRoland Mainz in which the output only contained on array element has been fixed. 15434f9b3eeSRoland Mainz09-06-17 The prefix expansion ${!y.@} now works when y is a name 15534f9b3eeSRoland Mainz reference to an element of an array. 15634f9b3eeSRoland Mainz09-06-16 Traps on signals that are ignored when the shell is invoked 15734f9b3eeSRoland Mainz no longer display. Previously they were ignored as required but 15834f9b3eeSRoland Mainz would be listed with trap -p. 15934f9b3eeSRoland Mainz09-06-12 A bug in vi edit mode in which hitting the up arrow key at the 16034f9b3eeSRoland Mainz end of a line longer than 40 characters which caused a core dump 16134f9b3eeSRoland Mainz has been fixed. 16234f9b3eeSRoland Mainz09-06-11 A bug in which "eval non-builtin &" would create two processes, 16334f9b3eeSRoland Mainz one for the & and another for non-builtin has been fixed. 16434f9b3eeSRoland Mainz09-06-08 When var is an identifier and is unset, ${var} no longer tries to 16534f9b3eeSRoland Mainz run command substitution on the command var. 16634f9b3eeSRoland Mainz09-06-08 Process substitution arguments of the form <(command) can now be 16734f9b3eeSRoland Mainz used following the < redirection operator to redirect from command. 16834f9b3eeSRoland Mainz09-05-13 A bug in which redirections of the form 2>&1 1>&5 inside command 16934f9b3eeSRoland Mainz substitution could cause the command substitution to hang has been 17034f9b3eeSRoland Mainz fixed. 17134f9b3eeSRoland Mainz09-05-12 To conform with POSIX, the -u option only checks for unset variables 17234f9b3eeSRoland Mainz and subscript elements rather than checking for all parameters. 17334f9b3eeSRoland Mainz09-05-12 A bug which could cause a core dump when a variable whose name 17434f9b3eeSRoland Mainz begins with a . was referenced as part of a name reference inside 17534f9b3eeSRoland Mainz a function has been fixed. 17634f9b3eeSRoland Mainz09-05-01 A bug that caused a core dump when SIGWINCH was received and 17734f9b3eeSRoland Mainz both vi and emacs mode were off has been fixed. 17834f9b3eeSRoland Mainz09-04-22 Default alias compound='typeset -C' added. 179*3e14f97fSRoger A. Faulkner09-04-15 A bug that caused ${...;} to hang for large files has been fixed. 18034f9b3eeSRoland Mainz09-04-08 A change was made in the -n option which printed out an incorrect 18134f9b3eeSRoland Mainz warning with <>. 18234f9b3eeSRoland Mainz09-04-07 The emacs edit command M-_ and M_. and the vi command _ was fixed 18334f9b3eeSRoland Mainz to handle the case there there is no history file. 18434f9b3eeSRoland Mainz09-04-05 A bug in handling new-lines with read -n has been fixed. 18534f9b3eeSRoland Mainz09-04-05 The ENV variable defaults the the file named by $HOME/.kshrc rather 18634f9b3eeSRoland Mainz then to the string $HOME/.kshrc. 18734f9b3eeSRoland Mainz09-03-31 A bug in which a nested command substitution with redirections could 18834f9b3eeSRoland Mainz leave a file descriptor open has been fixed. 18934f9b3eeSRoland Mainz09-03-24 ksh now only uses the value of the _ variable on startup if it can 19034f9b3eeSRoland Mainz verify that it was set by the invoking process rather than being 19134f9b3eeSRoland Mainz inherited by some other ancestor. 19234f9b3eeSRoland Mainz09-03-24 When ksh is invoked without -p and ruid!=euid, and the shell is 19334f9b3eeSRoland Mainz compiled without SHOPT_P_UID or ruid<SHOPT_P_UID, the shell now 19434f9b3eeSRoland Mainz enables the -p option. The previous version instead set the 19534f9b3eeSRoland Mainz euid to the ruid as it does for set +p. 19634f9b3eeSRoland Mainz09-03-24 When SHOPT_P_UID is defined at compile time and the shell is started 19734f9b3eeSRoland Mainz without -p and ruid!=euid and ruid>=SHOPT_P_UID then euid is set 19834f9b3eeSRoland Mainz to ruid. A bug that did the wrong test (ruid<SHOPT_P_UID) was fixed. 19934f9b3eeSRoland Mainz09-03-17 The sleep(1) builtin now accept and ISO 8601 PnYnMnDTnHnMnS 20034f9b3eeSRoland Mainz duration or date(1) compatible date/time operand. 20134f9b3eeSRoland Mainz09-03-10 If a variable that was left or right justified or zero-filled was 20234f9b3eeSRoland Mainz changed with a typeset statement that was left or right justified 20334f9b3eeSRoland Mainz or zero-filled, then the original justification no longer affects 20434f9b3eeSRoland Mainz the result. 20534f9b3eeSRoland Mainz09-03-10 A bug in the handling of traps when the last command in a script 20634f9b3eeSRoland Mainz is a subshell grouping command has been fixed. 20734f9b3eeSRoland Mainz09-03-03 A bug in which an expansion of the form ${!prefix@} could generate 20834f9b3eeSRoland Mainz an exception after the return from a function has been fixed. 20934f9b3eeSRoland Mainz09-02-02 A bug in restricted mode in which the value of ENV could be 21034f9b3eeSRoland Mainz changed from within a function has been fixed. 21134f9b3eeSRoland Mainz09-02-02 A bug in which an erroneous message indicating that a process 21234f9b3eeSRoland Mainz terminated with a coredump has been fixed. 21334f9b3eeSRoland Mainz09-02-02 The exit status when exit was called without an argument from 21434f9b3eeSRoland Mainz a signal handler was incorrect and has been fixed. 21534f9b3eeSRoland Mainz09-02-02 A bug in which a function autoloaded in a subshell could cause 21634f9b3eeSRoland Mainz a core dump when the subshell completed has been fixed. 21734f9b3eeSRoland Mainz09-02-02 A bug in which 2>&1 inside a command substitution wasn't working 21834f9b3eeSRoland Mainz correctly has been fixed. 21934f9b3eeSRoland Mainz09-02-02 A bug in the call stack of arithmetic function with 2 args 22034f9b3eeSRoland Mainz returning int has been fixed. 22134f9b3eeSRoland Mainz09-01-30 A bug in which 'eval print \$0' inside a function was giving the 22234f9b3eeSRoland Mainz wrong value for $0 has been fixed. 22334f9b3eeSRoland Mainz09-01-28 A bug in which a command substitution could return an exit status 22434f9b3eeSRoland Mainz of 127 when the pipefail option is enabled has been fixed. 22534f9b3eeSRoland Mainz09-01-26 ksh93 now generates an error message if you attempt to create 22634f9b3eeSRoland Mainz a global name reference to a local variable. 22734f9b3eeSRoland Mainz09-01-26 The [[ -v var ]] operator was modified to test for array elements. 22834f9b3eeSRoland Mainz09-01-23 The redirection operator <>; was added. It is similar to <> 22934f9b3eeSRoland Mainz except that if the command it is applied to succeeds, the file 23034f9b3eeSRoland Mainz is truncated to the offset at the command completion. 23134f9b3eeSRoland Mainz09-01-23 The default file descriptor for <> was changed to 1. 23234f9b3eeSRoland Mainz09-01-20 A bug in which the exit status specified in an exit trap was 23334f9b3eeSRoland Mainz not used when a process terminated with a signal has been fixed. 23434f9b3eeSRoland Mainz09-01-19 A bug in which a signal whose default action is to terminate 23534f9b3eeSRoland Mainz a process could be ignored when the process is running a sub-shell 23634f9b3eeSRoland Mainz has been fixed. 23734f9b3eeSRoland Mainz09-01-19 A bug in which sending SIGWINCH to a process that reads from a pipe 23834f9b3eeSRoland Mainz could cause a memory fault has been fixed. 23934f9b3eeSRoland Mainz09-01-16 The -R unary operator was added to [[...]] and test to check whether 24034f9b3eeSRoland Mainz a variable is a name reference. 24134f9b3eeSRoland Mainz09-01-16 The -v unary operator was added to [[...]] and test to check whether 24234f9b3eeSRoland Mainz a variable is set. 24334f9b3eeSRoland Mainz09-01-14 The unset built-in was modified to return 0 exit status when 24434f9b3eeSRoland Mainz unsetting a variable that was unset to conform with the POSIX 24534f9b3eeSRoland Mainz standard. 24634f9b3eeSRoland Mainz09-01-14 The unset built-in was modified to continue to unset variables 24734f9b3eeSRoland Mainz after encountering a variable that it could not unset to 24834f9b3eeSRoland Mainz conform to the POSIX standard. 24934f9b3eeSRoland Mainz09-01-14 The parameter expansion ${x+value} no longer expands the value of 25034f9b3eeSRoland Mainz the variable x when determining whether x is set or not. 25134f9b3eeSRoland Mainz09-01-13 A bug in which background jobs and pipelines that were not waited 25234f9b3eeSRoland Mainz for could, in rare instances, cause the shell to go into an infinite 25334f9b3eeSRoland Mainz loop or fail has been fixed. 25434f9b3eeSRoland Mainz09-01-06 A bug in indexed arrays of compound variables in which referencing 25534f9b3eeSRoland Mainz non-existent sub-variable in an arithmetic expression could cause 25634f9b3eeSRoland Mainz the sub-variable to be created has been fixed. 25734f9b3eeSRoland Mainz09-01-05 A bug in which the \ character did not escape extended regular 25834f9b3eeSRoland Mainz expression pattern characters has been fixed. 25934f9b3eeSRoland Mainz08-12-24 A bug in which killing the last element of a pipe did not cause 26034f9b3eeSRoland Mainz a write to the pipe to generate a SIGPIPE has been fixed. 26134f9b3eeSRoland Mainz08-12-19 A bug which could cause command substitution to hang when the 26234f9b3eeSRoland Mainz last element of a pipeline in a command substitution was a built-in 26334f9b3eeSRoland Mainz and the output was more that PIPE_BUFF. 26434f9b3eeSRoland Mainz08-12-18 A bug which occurs when a here documented marker embedded in a 26534f9b3eeSRoland Mainz command substitution occurs on a buffer boundary has been fixed. 26634f9b3eeSRoland Mainz08-12-17 A bug in the output of typeset -p for variables that had attributes 26734f9b3eeSRoland Mainz but did not have a value has been fixed. 26834f9b3eeSRoland Mainz08-12-16 A bug in which a name reference to a name reference variable that 26934f9b3eeSRoland Mainz references an array element has been fixed. 27034f9b3eeSRoland Mainz08-12-16 A bug in which a variable given both the -A and -C attribute along 27134f9b3eeSRoland Mainz with an initial assignment didn't work correctly has been fixed. 27234f9b3eeSRoland Mainz08-12-10 The [[ -t fd ]] test was fixed to handle fd>9. 27334f9b3eeSRoland Mainz08-12-10 A bug where function stack misalignment could cause a bus error 27434f9b3eeSRoland Mainz has been fixed. 27534f9b3eeSRoland Mainz08-12-09 Command completion was changed to use \ to quote special characters 27634f9b3eeSRoland Mainz instead of quoting the argument in single quotes. 27734f9b3eeSRoland Mainz08-12-07 A bug in typeset -m which occurred when the target node was an 27834f9b3eeSRoland Mainz associative array element has been fixed. 27934f9b3eeSRoland Mainz08-12-07 A timing bug on some systems (for example darwin), that could 28034f9b3eeSRoland Mainz cause the last process of a pipeline entered interactively to fail 28134f9b3eeSRoland Mainz with an "Exec format error" has been fixed. 28234f9b3eeSRoland Mainz08-12-04 SHOPT_BGX enables background job extensions. Noted by "J" in 28334f9b3eeSRoland Mainz the version string when enabled. (1) JOBMAX=n limits the number 28434f9b3eeSRoland Mainz of concurrent & jobs to n; the n+1 & job will block until a 28534f9b3eeSRoland Mainz running background job completes. (2) SIGCHLD traps are queued 28634f9b3eeSRoland Mainz so that each completing background job gets its own trap; $! is 28734f9b3eeSRoland Mainz set to the job pid and $? is set to the job exit status at the 28834f9b3eeSRoland Mainz beginning of the trap. (3) sleep -s added to sleep until the time 28934f9b3eeSRoland Mainz expires or until a signal is delivered. 29034f9b3eeSRoland Mainz08-12-04 The sign of floating point zero is preserved across arithmetic 29134f9b3eeSRoland Mainz function calls. 29234f9b3eeSRoland Mainz08-12-04 A bug that caused print(1) to produce garbled stdout/stderr 29334f9b3eeSRoland Mainz output has been fixed. 29434f9b3eeSRoland Mainz08-12-04 A bug in which printf "%d\n" "'<euro>'" did not output the 29534f9b3eeSRoland Mainz numerical value of the EURO symbol, 8354, has been fixed. 29634f9b3eeSRoland Mainz08-11-24 /dev/fd* and /dev/std* redirections are first attempted with 29734f9b3eeSRoland Mainz open() to preserve seek semantics; failing that the corresponding 29834f9b3eeSRoland Mainz file descriptors are dup()'d. 29934f9b3eeSRoland Mainz08-11-20 A bug which could cause a core dump if a function compiled with 30034f9b3eeSRoland Mainz shcomp was found has been fixed. 30134f9b3eeSRoland Mainz08-11-20 A bug in which jobs were not cleared from the jobs table for 30234f9b3eeSRoland Mainz interactive shells when the pipefail option is on has been fixed. 30334f9b3eeSRoland Mainz08-11-11 A bug in which a field that was unset in a type definition and later 30434f9b3eeSRoland Mainz set for an instance could appear twice when displaying the variable 30534f9b3eeSRoland Mainz has been fixed. 30634f9b3eeSRoland Mainz08-11-11 A bug in which running a simple command & inside a function would 30734f9b3eeSRoland Mainz not return the correct process id has been fixed. 30834f9b3eeSRoland Mainz08=11-10 A bug in which the exit status of a command could be lost if the pid 30934f9b3eeSRoland Mainz was that of the most recent command substitution that had completed 31034f9b3eeSRoland Mainz has been fixed. 31134f9b3eeSRoland Mainz08-11-10 The maximum depth for subshells has been increased from 256 to 65536. 31234f9b3eeSRoland Mainz08-11-06 A bug which could cause a core dump when the _ reference variable was 31334f9b3eeSRoland Mainz used as an embedded type with a compound assignment has been fixed. 31434f9b3eeSRoland Mainz 3157c2fbfb3SApril Chin08-10-31 --- Release ksh93t --- 3167c2fbfb3SApril Chin08-10-31 Variable scoping/initialization bugs that could dump core were fixed. 3177c2fbfb3SApril Chin08-10-24 The lexer now accepts all RE characters for patterns prefixed 3187c2fbfb3SApril Chin with a ksh ~(...) option expression. 3197c2fbfb3SApril Chin08-10-24 For ${var/pat/sub} \0 in sub expands to the text matched by pat. 3207c2fbfb3SApril Chin08-10-18 A bug in array scoping that could dump core has been fixed. 3217c2fbfb3SApril Chin08-10-10 read -n and -N fixed to count characters in multibyte locales. 3227c2fbfb3SApril Chin08-10-10 A bug that mishandled _.array[] type references has been fixed. 32334f9b3eeSRoland Mainz08-10-09 ${.sh.version} now contains a concatenation of the following (after 3247c2fbfb3SApril Chin 'Version') denoting compile time features: 3257c2fbfb3SApril Chin A SHOPT_AUDIT 3267c2fbfb3SApril Chin B SHOPT_BASH 3277c2fbfb3SApril Chin L SHOPT_ACCT 3287c2fbfb3SApril Chin M SHOPT_MULTIBYTE 3297c2fbfb3SApril Chin08-10-09 A bug that caused subshell command substitution with redirection 3307c2fbfb3SApril Chin to hang has been fixed. 3317c2fbfb3SApril Chin08-10-08 Output errors, other than to stderr, now result in a diagnostic. 3327c2fbfb3SApril Chin08-10-08 ksh93 now supports types that contain arrays of other types as 3337c2fbfb3SApril Chin members. Earlier versions core dumped in this case. 3347c2fbfb3SApril Chin08-10-05 A bug which caused the shell to emit a syntax error for an arithmetic 3357c2fbfb3SApril Chin statement of the form (( var.name[sub] = value)) has been fixed. 3367c2fbfb3SApril Chin08-10-01 A bug that caused subshell command substitution to hang has 3377c2fbfb3SApril Chin been fixed. 3387c2fbfb3SApril Chin08-09-29 When the -p export option of typeset is used with other options, 3397c2fbfb3SApril Chin only those variables matching the specified options are displayed. 3407c2fbfb3SApril Chin08-09-29 When the shell reads the environment and finds variables that are 3417c2fbfb3SApril Chin not valid shell assignments, it now passes these on to subsequent 3427c2fbfb3SApril Chin commands rather than deleting them. 3437c2fbfb3SApril Chin08-09-29 A bug in the display of compound variables containing an indexed 3447c2fbfb3SApril Chin array of compound variables has been fixed. 3457c2fbfb3SApril Chin08-09-29 A bug in the display of compound variables containing an associative 3467c2fbfb3SApril Chin array with a subscript containing a . in the name has been fixed. 3477c2fbfb3SApril Chin08-09-26 A core dump in the subshell environment restore has been fixed. 3487c2fbfb3SApril Chin08-09-24 $(...) has been fixed to properly set the exit status in $?. 3497c2fbfb3SApril Chin08-09-23 $(<...) with IFS=$'\n\n' has been fixed to retain all but the last 3507c2fbfb3SApril Chin of multiple trailing newlines. 3517c2fbfb3SApril Chin08-09-23 The -p option to typeset when used with other attributes, restricts 3527c2fbfb3SApril Chin the output to variables with the specified attributes. 3537c2fbfb3SApril Chin08-09-22 A bug that sometimes lost the exit status of a job has been fixed. 3547c2fbfb3SApril Chin08-09-21 A bug that retained trailing command substitution newlines in 3557c2fbfb3SApril Chin cases where the command caused the shell to fork has been fixed. 3567c2fbfb3SApril Chin08-09-19 type, whence -v, and command -v were fixed to comply with POSIX 3577c2fbfb3SApril Chin by writing 'not found' diagnostics to the standard error. 3587c2fbfb3SApril Chin08-09-18 test and [...] were fixed to comply with POSIX in the case 3597c2fbfb3SApril Chin of test '(' binop ')' where binop is a valid binary test operator. 3607c2fbfb3SApril Chin08-09-16 If a method discipline named create is specified when defining a 3617c2fbfb3SApril Chin type, this function will be called when an instance is created. 3627c2fbfb3SApril Chin08-09-15 The variable _ is now set as a reference to the compound variable 3637c2fbfb3SApril Chin when defining a compound variable or a type. 3647c2fbfb3SApril Chin08-09-10 The shell now prints an error message when the type name specified 3657c2fbfb3SApril Chin for an indexed array subscript is not an enumeration type. 3667c2fbfb3SApril Chin08-09-10 A bug in which a subshell that spawned a background process could 3677c2fbfb3SApril Chin loose output that was produced after the foreground completed 3687c2fbfb3SApril Chin has been fixed. 3697c2fbfb3SApril Chin08-09-10 A timing bug on some systems that could cause coprocesses started by a 3707c2fbfb3SApril Chin subshell to not clean up and prevent other coprocesses has been fixed. 3717c2fbfb3SApril Chin08-09-09 The typeset -m option is now able to rename array elements from 3727c2fbfb3SApril Chin the same array. 3737c2fbfb3SApril Chin08-09-09 The exit status of 2 from the DEBUG trap causes the next command 3747c2fbfb3SApril Chin to be skipped. An exit value of 255 from a DEBUG trap called from 3757c2fbfb3SApril Chin a function causes the function to return. 3767c2fbfb3SApril Chin08-09-08 A bug in which a coprocess created in a subshell that did not 3777c2fbfb3SApril Chin complete when the subshell terminated could prevent a coprocess 3787c2fbfb3SApril Chin from being created in the parent shell has been fixed. 3797c2fbfb3SApril Chin08-09-05 An assignment of the form name1=name2 where name1 and name2 3807c2fbfb3SApril Chin are both compound variables causes name1 to get a copy of name2. 3817c2fbfb3SApril Chin name1+=name2 causes name2 sub-variables to be appended to name1. 3827c2fbfb3SApril Chin08-09-05 A bug in which unsetting a compound variable did not unset all 3837c2fbfb3SApril Chin the sub-variables has been fixed. 3847c2fbfb3SApril Chin08-09-01 A bug in the subshell cleanup code that could cause SIGSEGV has 3857c2fbfb3SApril Chin been fixed. 3867c2fbfb3SApril Chin06-08-26 The SHLVL variable which is an environment variable used by bash 3877c2fbfb3SApril Chin and zsh that gets incremented when the shell starts. 3887c2fbfb3SApril Chin08-08-25 For an indexed array, a negative subscript now refers to offsets 3897c2fbfb3SApril Chin from the end so that -1 refers to the last element. 3907c2fbfb3SApril Chin08-08-24 An alignment error for shorts on 64 bit architectures has been fixed. 3917c2fbfb3SApril Chin08-08-22 If oldvar is a compound variable, typeset -C newvar=oldvar creates 3927c2fbfb3SApril Chin newvar as a copy of oldvar. 3937c2fbfb3SApril Chin08-08-19 The ALRM signal no longer cause the sleep builtin to terminate. 3947c2fbfb3SApril Chin08-08-13 When used in an arithmetic expression, the .sh.version variable 3957c2fbfb3SApril Chin now produces a number that will be increasing for each release. 3967c2fbfb3SApril Chin08-08-11 A bug in which type instantiation with a compound assignment in 3977c2fbfb3SApril Chin a dot script in which the type is defined has been fixed. 3987c2fbfb3SApril Chin08-08-07 The -m option has been added to typeset to move or rename a 3997c2fbfb3SApril Chin variable. Not documented yet. 4007c2fbfb3SApril Chin08-08-06 A bug in read when used in a loop when a prompt was specified 4017c2fbfb3SApril Chin when reading from a terminal has been fixed. 4027c2fbfb3SApril Chin08-08-01 A bug with the pipefail option in which a nested pipeline could 4037c2fbfb3SApril Chin cause an asynchronous command to block has been fixed. 4047c2fbfb3SApril Chin08-08-01 A for loop optimizer bug that treats .sh.lineno as an invariant 4057c2fbfb3SApril Chin has been fixed. 4067c2fbfb3SApril Chin08-07-30 A bug in which expanding compound variable that had a get discipline 4077c2fbfb3SApril Chin from with a here document could cause a syntax error has been fixed. 4087c2fbfb3SApril Chin08-07-18 A bug in which a nameref caused a local variable to be created 4097c2fbfb3SApril Chin rather than binding to an existing variable in the global scope 4107c2fbfb3SApril Chin has been fixed. 4117c2fbfb3SApril Chin08-07-17 A bug which occurred when a nameref was created from within a 4127c2fbfb3SApril Chin function that was part of a pipeline has been fixed. 4137c2fbfb3SApril Chin08-07-14 The compile option SHOPT_STATS was added. With this option the 4147c2fbfb3SApril Chin compound variable .sh.stats keeps usage statistics that could help 4157c2fbfb3SApril Chin with performance tuning. 4167c2fbfb3SApril Chin08-07-10 The output of set now always uses a single line for each variable. 4177c2fbfb3SApril Chin For array variables, the complete set of values is now displayed. 4187c2fbfb3SApril Chin08-07-09 The typeset -C option can be used with arrays to indicate that 4197c2fbfb3SApril Chin each element should default to a compound variable. 4207c2fbfb3SApril Chin08-07-08 The %B format now outputs compound variables and arrays. The 4217c2fbfb3SApril Chin alternate flag # can be used to cause output into a single line. 4227c2fbfb3SApril Chin08-07-03 When the window change signal, WINCH, is received, the current 4237c2fbfb3SApril Chin edit line is redrawn in place. 4247c2fbfb3SApril Chin08-07-01 A bug in the handling of shared variables when inside an embedded 4257c2fbfb3SApril Chin type has been fixed. 4267c2fbfb3SApril Chin08-06-29 A bug in multiline edit mode which occurred when the prompt length 4277c2fbfb3SApril Chin was three characters or less has been fixed. 4287c2fbfb3SApril Chin08-06-23 A bug in which the SIGCLD was not be triggered when background 4297c2fbfb3SApril Chin jobs completed has been fixed. 4307c2fbfb3SApril Chin08-06-23 KSH_VERSION added as a name reference to .sh.version. 4317c2fbfb3SApril Chin08-06-20 type now outputs 'special builtin' for special builtins. 43234f9b3eeSRoland Mainz08-06-19 A couple of bugs in multi-dimensional arrays have been fixed. 4337c2fbfb3SApril Chin08-06-19 A bug in which a syntax error in a dot script could generated 4347c2fbfb3SApril Chin a syntax error in the next subsequent command has been fixed. 4357c2fbfb3SApril Chin08-06-17 Reduced the maximum function call depth to 2048 to avoid exceptions 4367c2fbfb3SApril Chin on some architectures. 4377c2fbfb3SApril Chin08-06-16 A bug in which printf "%B" could generate an exception when the 4387c2fbfb3SApril Chin specified variable was not set has been fixed. 4397c2fbfb3SApril Chin08-06-16 When typeset -p is followed by variable names, it now displays 4407c2fbfb3SApril Chin the attributes names and values for the specific names. 4417c2fbfb3SApril Chin08-06-14 A bug that could effect the drawing of the screen from multiline 4427c2fbfb3SApril Chin emacs or gmacs mode when walking up the history file has been fixed. 4437c2fbfb3SApril Chin08-06-13 A bug in which a compound variable defined in a subshell could 4447c2fbfb3SApril Chin have side effects into the parent shell has been fixed. 4457c2fbfb3SApril Chin08-06-13 A number of bugs related to using .sh.level to set the stack from 4467c2fbfb3SApril Chin for DEBUG traps have been fixed. 4477c2fbfb3SApril Chin08-06-13 The .sh.lineno variable has been added. When .sh.level is changed 4487c2fbfb3SApril Chin inside a DEBUG trap, the .sh.lineno contains the calling line number 4497c2fbfb3SApril Chin for the specified stack frame. 4507c2fbfb3SApril Chin08-06-13 The .sh.level variable has been documented and now works. 4517c2fbfb3SApril Chin08-06-11 The -C option has been added to read for reading compound command 4527c2fbfb3SApril Chin definitions from a file. 4537c2fbfb3SApril Chin08-06-11 The . command is now permitted inside a compound command definition. 4547c2fbfb3SApril Chin The dot script can contain declaration commands and dot commands. 4557c2fbfb3SApril Chin08-06-09 Add -C option to typeset so that typeset -C foo, is equivalent 4567c2fbfb3SApril Chin to foo=(). 4577c2fbfb3SApril Chin08-06-09 Added -n warning message for typeset option orderings that are valid 4587c2fbfb3SApril Chin with ksh88 but not valid with ksh93, for example Lx5. 4597c2fbfb3SApril Chin08-06-09 A bug in which the return value for an assignment command containing 4607c2fbfb3SApril Chin a command substitution with that failed was zero when the assignment 4617c2fbfb3SApril Chin contained redirections has been fixed. 4627c2fbfb3SApril Chin08-06-09 A bug in the quoting of $ inside a ERE pattern ~(E)(pattern) 4637c2fbfb3SApril Chin has been fixed. 4647c2fbfb3SApril Chin08-06-06 A bug when processing `` command substitution with the character 4657c2fbfb3SApril Chin sequence \$' has been fixed. 4667c2fbfb3SApril Chin08-06-02 When defining a type, the typeset -r attribute causes this field 4677c2fbfb3SApril Chin to be required to be specified for each instance of the type and 4687c2fbfb3SApril Chin does not allow a default value. 4697c2fbfb3SApril Chin08-06-02 Several bugs in which compound variables were modified by 4707c2fbfb3SApril Chin subshells have been fixed. 4717c2fbfb3SApril Chin08-05-22 The ceil function has been added to the math functions. 4727c2fbfb3SApril Chin08-05-21 A bug in which a name reference defined in a function and passed 4737c2fbfb3SApril Chin as an argument to another function could cause an incorrect binding. 4747c2fbfb3SApril Chin08-05-21 A bug in freeing compound variables that are local to functions 4757c2fbfb3SApril Chin has been fixed. 4767c2fbfb3SApril Chin08-05-19 The array expansions ${array[sub1..sub2]} and ${!array[sub1..sub2]} 4777c2fbfb3SApril Chin to expand to the value (or subscripts) for array between sub1 and 4787c2fbfb3SApril Chin sub2 inclusive. For associative arrays, the range is based on 4797c2fbfb3SApril Chin location in the POSIX locale. The .. must be explicit and cannot 4807c2fbfb3SApril Chin result from an expansion. 4817c2fbfb3SApril Chin08-05-15 The trap on SIGCLD is no longer triggered by the completion of 4827c2fbfb3SApril Chin the foreground job as with ksh88. 4837c2fbfb3SApril Chin08-05-14 A bug in the implementation of the editing feature added on 4847c2fbfb3SApril Chin 07-09-19 in emacs mode has been fixed. 4857c2fbfb3SApril Chin08-05-12 A bug in processing the test built-in with parenthesis has been 4867c2fbfb3SApril Chin fixed. 4877c2fbfb3SApril Chin08-05-12 The unset built-in now returns non-zero when deleting an array 4887c2fbfb3SApril Chin subscript that is not set. 4897c2fbfb3SApril Chin08-05-08 Changing the value of HISTFILE or HISTSIZE will cause the old 4907c2fbfb3SApril Chin history file to be close and reopened with the new name or size. 4917c2fbfb3SApril Chin08-05-08 When FPATH is changed functions that were found via a path search 4927c2fbfb3SApril Chin will be searched for again. 4937c2fbfb3SApril Chin08-05-08 A parser bug in which reserved words and labels were recognized 4947c2fbfb3SApril Chin inside compound indexed array assignment after a new-line has 4957c2fbfb3SApril Chin been fixed. 4967c2fbfb3SApril Chin08-05-07 A bug in getopts when handling numerical option arguments has 4977c2fbfb3SApril Chin been fixed. 4987c2fbfb3SApril Chin08-05-07 The typeset -S option was added for variables outside type 4997c2fbfb3SApril Chin definitions to provide a storage class similar to C static 5007c2fbfb3SApril Chin inside a function defined with function name. When outside 5017c2fbfb3SApril Chin type definitions and outside a function, the -S option cause 5027c2fbfb3SApril Chin the specified variable so be unset before the assignment and 5037c2fbfb3SApril Chin before the remaining attributes are supplied. 5047c2fbfb3SApril Chin08-05-07 A bug that affected the cursor movement in multiline mode when 5057c2fbfb3SApril Chin a character was deleted from near the beginning of the any 5067c2fbfb3SApril Chin line other than the first. 5077c2fbfb3SApril Chin08-05-01 In multiline edit mode, the refresh operation will now clear 5087c2fbfb3SApril Chin the remaining portion of the last line. 5097c2fbfb3SApril Chin08-05-01 A bug in computing prompt widths for the edit modes for prompts 5107c2fbfb3SApril Chin with multibyte characters has been fixed. 5117c2fbfb3SApril Chin08-05-01 A bug in the multiline edit mode which could cause the current 5127c2fbfb3SApril Chin line to be displayed incorrectly when moving backwards from third 5137c2fbfb3SApril Chin or higher line to the previous line has been fixed. 5147c2fbfb3SApril Chin08-05-01 A bug in which options set in functions declared with the function 5157c2fbfb3SApril Chin name syntax were carried across into functions invoked by these 5167c2fbfb3SApril Chin functions has been fixed. 5177c2fbfb3SApril Chin08-04-30 A bug which could cause a coprocess to hang when the read end 5187c2fbfb3SApril Chin is a builtin command has been fixed. 5197c2fbfb3SApril Chin08-04-30 The emacs and vi editors have been modified to handle window 5207c2fbfb3SApril Chin change commands as soon as they happen rather than waiting for 5217c2fbfb3SApril Chin the next command. 5227c2fbfb3SApril Chin08-04-28 A bug in which ${!x} did not expand to x when x was unset has been 5237c2fbfb3SApril Chin fixed. 5247c2fbfb3SApril Chin08-04-27 A bug in which the assignment x=(typeset -a foo=([0]=abc)) created 5257c2fbfb3SApril Chin x.foo as an associative array has been fixed. 5267c2fbfb3SApril Chin08-04-25 A bug in which $# did not report correctly when there were more 5277c2fbfb3SApril Chin than 32K positional parameters has been fixed. 5287c2fbfb3SApril Chin08-04-04 Choose the name _ as the sub-variable that holds type or instance 5297c2fbfb3SApril Chin specific data used by discipline functions. 5307c2fbfb3SApril Chin08-03-27 A bug in which the terminal group was not given back to the parent 5317c2fbfb3SApril Chin shell when the last part of a pipeline was handled by the parent shell 5327c2fbfb3SApril Chin and the other parts of the pipeline complete has been fixed. 5337c2fbfb3SApril Chin The symptom was that the pipeline became uninterruptable. 5347c2fbfb3SApril Chin08-03-25 A bug in restricted mode introduced in ksh93s that caused scripts 5357c2fbfb3SApril Chin that did not use #! to executed in restricted mode has been fixed. 5367c2fbfb3SApril Chin08-03-25 A bug in which the pipefail option did not work for a pipeline 5377c2fbfb3SApril Chin within a pipeline has been fixed. 5387c2fbfb3SApril Chin08-03-24 A bug in which OPTIND was not set correctly in subshells has 5397c2fbfb3SApril Chin been fixed. 5407c2fbfb3SApril Chin08-03-24 A bug which could cause a memory exception when a compound variable 5417c2fbfb3SApril Chin containing an indexed array with only element 0 defined was expanded. 5427c2fbfb3SApril Chin08-03-20 A bug in which ${!var[sub].*} was treated as an error has been fixed. 5437c2fbfb3SApril Chin08-03-20 Associative array assignments of the form ([name]=value ...) 5447c2fbfb3SApril Chin now allow ; as well as space tab and new line to separate elements. 5457c2fbfb3SApril Chin08-03-18 A buffering problem in which standard error was sometimes 5467c2fbfb3SApril Chin not flushed before sleep has been fixed. 5477c2fbfb3SApril Chin08-03-17 A bug in which a signal sent to $$ while in a subshell would be 5487c2fbfb3SApril Chin sent to the subshell rather than the parent has been fixed. 5497c2fbfb3SApril Chin08-03-17 --default option added to set(1) to handle set +o POSIX semantics. 5507c2fbfb3SApril Chin set --state added as a long name alias for set +o. 5517c2fbfb3SApril Chin08-03-14 A bug in which using monitor mode from within a script could 5527c2fbfb3SApril Chin cause the terminal group to change has been fixed. 5537c2fbfb3SApril Chin08-03-10 The new ${...} command substitution will treat the trailing } 5547c2fbfb3SApril Chin as a reserved word even if it is not at the beginning of a command, 5557c2fbfb3SApril Chin for example, ${ date }. 5567c2fbfb3SApril Chin08-03-10 If the name of the ENV begins with /./ or ././ then the 5577c2fbfb3SApril Chin /etc/ksh.kshrc file will not be executed on systems that support 5587c2fbfb3SApril Chin this interactive initialization file. 5597c2fbfb3SApril Chin08-03-07 A bug in which ksh -i did not run the ENV file has been fixed. 5607c2fbfb3SApril Chin08-03-07 A bug in which ulimit did not always produce the same output as 5617c2fbfb3SApril Chin ulimit -fS has been fixed. 5627c2fbfb3SApril Chin08-03-04 A bug in multiline mode in emacs and vi mode which could cause the 5637c2fbfb3SApril Chin cursor to be on the wrong line when interrupt was hit has been fixed. 5647c2fbfb3SApril Chin08-03-03 The change made in ksh93s+ on 07-06-18 in which braces became 5657c2fbfb3SApril Chin optional for ${a[i]} inside [[...]] was restored in the case 5667c2fbfb3SApril Chin where the argument can be a pattern. 5677c2fbfb3SApril Chin08-03-03 A bug in which creating a name reference to an associative array 5687c2fbfb3SApril Chin instance would fail when the subscript contained characters [ or 5697c2fbfb3SApril Chin ] has been fixed. 5707c2fbfb3SApril Chin08-02-29 The redirection operator >; has been added which for non-special 5717c2fbfb3SApril Chin files, generates the output in a temporary file and writes the 5727c2fbfb3SApril Chin specified file only of the command has completed successfully. 5737c2fbfb3SApril Chin08-02-15 A bug in ${var/pattern/string} for patterns of the form ?(*) and +(*) 5747c2fbfb3SApril Chin has bee fixed. 5757c2fbfb3SApril Chin08-02-07 A bug in which test \( ! -e \) produced an error has been fixed. 5767c2fbfb3SApril Chin08-02-14 The typeset -a option can now optionally be followed by the name 5777c2fbfb3SApril Chin of an enumeration type which allows subscripts to be enumerations. 5787c2fbfb3SApril Chin08-02-14 The enum builtin which creates enumeration types has been added. 5797c2fbfb3SApril Chin08-02-12 The backoff logic when there are no more processes has been fixed. 5807c2fbfb3SApril Chin08-02-07 The -X option has been added to typeset. The -X option creates 5817c2fbfb3SApril Chin a double precision number that gets displayed using the C99 %a 5827c2fbfb3SApril Chin format. It can be used along with -l for long double. 5837c2fbfb3SApril Chin08-01-31 The -T option to typeset has been added for creating typed 5847c2fbfb3SApril Chin variables. Also the -h and -S options have been added to 5857c2fbfb3SApril Chin typeset that are only applicable when defining a type. 5867c2fbfb3SApril Chin08-01-31 The prefix expansion operator @ has been added. ${@name} 5877c2fbfb3SApril Chin expands to the type of name or yields the attributes. 5887c2fbfb3SApril Chin07-11-15 A bug in the macro expander for multibyte characters in which 5897c2fbfb3SApril Chin part of the character contains a file pattern byte has been fixed. 5907c2fbfb3SApril Chin07-10-03 A bug in which : was not allowed as part of an alias name has been 5917c2fbfb3SApril Chin fixed. 5927c2fbfb3SApril Chin07-09-26 A bug in which appending a compound variable to a compound variable 5937c2fbfb3SApril Chin or to an index array didn't work has been fixed. 5947c2fbfb3SApril Chin07-09-19 In both emacs and vi edit mode, the escape sequence \E[A (usually 5957c2fbfb3SApril Chin cursor up, when the cursor is at the end of the line will fetch 5967c2fbfb3SApril Chin the most recent line starting with the current line. 5977c2fbfb3SApril Chin07-09-18 The value of ${!var} was correct when var was a reference to an 5987c2fbfb3SApril Chin array instance. 5997c2fbfb3SApril Chin07-09-18 The value of ${!var[sub]} was not expanding to var[sub] and this 6007c2fbfb3SApril Chin was fixed. It also fixed ${name} where name is a name reference 6017c2fbfb3SApril Chin to var[sub]. 6027c2fbfb3SApril Chin07-09-18 It is now legal to create a name reference without an initialization. 6037c2fbfb3SApril Chin It will be bound to a variable on the first assignment. 6047c2fbfb3SApril Chin07-08-30 A discipline function can be invoked as ${x.foo} and is equivalent 6057c2fbfb3SApril Chin to ${ x.foo;} and can be invoked as x.foo inside ((...)). 6067c2fbfb3SApril Chin07-07-09 A bug in which typeset -a did not list indexed arrays has been 6077c2fbfb3SApril Chin fixed. 6087c2fbfb3SApril Chin07-07-03 The command substitution ${ command;} has been added. It behaves 6097c2fbfb3SApril Chin like $(command) except that command is executed in the current 6107c2fbfb3SApril Chin shell environment. The ${ must be followed by a blank or an 6117c2fbfb3SApril Chin operator. 6127c2fbfb3SApril Chin 6137c2fbfb3SApril Chin08-04-17 --- Release ksh93s+ --- 6147c2fbfb3SApril Chin08-04-17 A bug in which umask was not being restored correctly after a 6157c2fbfb3SApril Chin subshell has been fixed. 6167c2fbfb3SApril Chin08-04-15 A bug in which sending a STOP signal to a job control shell started 6177c2fbfb3SApril Chin from within a shell function caused cause the invoking shell to 6187c2fbfb3SApril Chin terminate has been fixed. 6197c2fbfb3SApril Chin08-04-11 A bug which caused $(exec > /dev/null) to go into an infinite loop 6207c2fbfb3SApril Chin has been fixed. 6217c2fbfb3SApril Chin08-03-27 A bug in which typeset -LZ was being treated as -RZ has been fixed. 6227c2fbfb3SApril Chin08-03-06 A bug with ksh -P on systems that support the the profile shell, 6237c2fbfb3SApril Chin in which it would exit after running a non-builtin has been fixed. 6247c2fbfb3SApril Chin08-01-31 A bug in which command substitution inside ((...)) could cause 6257c2fbfb3SApril Chin syntax errors or lead to core dumps has been fixed. 6267c2fbfb3SApril Chin08-01-17 A bug in which discipline functions could be deleted when invoked 6277c2fbfb3SApril Chin from a subshell has been fixed. 6287c2fbfb3SApril Chin08-01-17 A bug in which a command substitution consisting only of 6297c2fbfb3SApril Chin assignments was treated as a noop has been fixed. 6307c2fbfb3SApril Chin08-01-17 A bug in which discipline functions invoked from withing a 6317c2fbfb3SApril Chin compound assignment could fail has been fixed. 6327c2fbfb3SApril Chin08-01-16 Incomplete arithmetic assignments, for example ((x += )), now 6337c2fbfb3SApril Chin generate an error message. 6347c2fbfb3SApril Chin08-01-16 A bug in which a set discipline defined for a variable before 6357c2fbfb3SApril Chin an array assignment could cause a core dump has been fixed. 6367c2fbfb3SApril Chin08-01-03 A bug in on some systems in which exit status 0 is incorrectly 6377c2fbfb3SApril Chin returned by a process that catches the SIGCONT signal is stopped 6387c2fbfb3SApril Chin and then continued. 6397c2fbfb3SApril Chin07-12-13 A race condition in which a program that has been stopped and then 6407c2fbfb3SApril Chin continued could loose the exit status has been fixed. 6417c2fbfb3SApril Chin07-12-12 Code to check for file system out of space write errors for all 6427c2fbfb3SApril Chin writes has been added. 6437c2fbfb3SApril Chin07-12-11 A bug in the macro expander for multibyte characters in which 6447c2fbfb3SApril Chin part of the character contains a file pattern byte has been fixed. 6457c2fbfb3SApril Chin07-12-06 A bug in the emacs edit mode when multiline was set that output 6467c2fbfb3SApril Chin a backspace before the newline to the screen has been fixed. 6477c2fbfb3SApril Chin07-12-04 A bug in which using <n>TAB after a variable name listing expansion 6487c2fbfb3SApril Chin in the edit modes would cause the $ to disappear has been fixed. 6497c2fbfb3SApril Chin07-11-28 A bug in which setting IFS to readonly could cause a subsequent 6507c2fbfb3SApril Chin command substitution to fail has been fixed. 6517c2fbfb3SApril Chin07-11-27 A work around for a gcc 4.* C99 "feature" that could cause a job 6527c2fbfb3SApril Chin control shell to go into an infinite loop by adding the volatile 6537c2fbfb3SApril Chin attribute to some auto vars in functions that call setjmp(). 6547c2fbfb3SApril Chin07-11-27 A bug in which the shell could read ahead on a pipe causing the 6557c2fbfb3SApril Chin standard input to be incorrectly positioned has been fixed. 6567c2fbfb3SApril Chin07-11-27 A bug in which compound variable UTF-8 multibyte values were not 6577c2fbfb3SApril Chin expanded or traced properly has been fixed. 6587c2fbfb3SApril Chin07-11-21 A bug where an unbalanced '[' in a command argument was not treated 6597c2fbfb3SApril Chin properly has been fixed. 6607c2fbfb3SApril Chin07-11-15 A bug in which compatibility mode (no long option names) getopts(1) 6617c2fbfb3SApril Chin incorrectly set the value of OPTARG for flag options has been fixed. 6627c2fbfb3SApril Chin07-11-15 A bug in which "hash -- name" treated "--" as an invalid name operand 6637c2fbfb3SApril Chin has been fixed. 6647c2fbfb3SApril Chin07-11-15 typeset now handles "-t -- [-r] [--]" for s5r4 hash(1) compatibility. 6657c2fbfb3SApril Chin07-11-15 A bug in which the umask builtin mis-handled symbolic mode operands 6667c2fbfb3SApril Chin has been fixed. 6677c2fbfb3SApril Chin07-11-15 Bugs in which shell arithmetic and the printf builtin mis-handled the 6687c2fbfb3SApril Chin signs of { -NaN -Inf -0.0 } have been fixed. 6697c2fbfb3SApril Chin07-11-15 The full { SIGRTMIN SIGRTMIN+1 ... SIGRTMAX-1 SIGRTMAX } range 6707c2fbfb3SApril Chin of signals, determined at runtime, are now supported. 6717c2fbfb3SApril Chin07-11-15 A bug in which creating an index array with only subscript 0 created 6727c2fbfb3SApril Chin only a simple variable has been fixed. 6737c2fbfb3SApril Chin07-11-14 A bug in which appending to an indexed array using the form 6747c2fbfb3SApril Chin name+=([sub]=value) could cause the array to become an associative 6757c2fbfb3SApril Chin array has been fixed. 6767c2fbfb3SApril Chin07-11-14 A bug in which typeset without arguments could coredump if a 6777c2fbfb3SApril Chin variable is declared as in indexed array and has no elements has 6787c2fbfb3SApril Chin been fixed. 6797c2fbfb3SApril Chin07-11-14 A bug in which creating a local SECONDS variable with typeset in 6807c2fbfb3SApril Chin a function could corrupt memory has been fixed. 6817c2fbfb3SApril Chin07-11-14 A bug which could cause a core dump when a script invoked by name 6827c2fbfb3SApril Chin from a function used compound variables has been fixed. 6837c2fbfb3SApril Chin07-11-05 A bug in which printf %d "'AB" did not diagnose unconverted characters 6847c2fbfb3SApril Chin has been fixed. 6857c2fbfb3SApril Chin07-11-05 printf %g "'A" support added for all floating point formats. 6867c2fbfb3SApril Chin07-11-01 A bug in which typeset -f fun did not display the function definition 6877c2fbfb3SApril Chin when invoked in a subshell has been fixed. 6887c2fbfb3SApril Chin07-10-29 The sleep builtin was fixed so that all floating point constants 6897c2fbfb3SApril Chin are valid operands. 6907c2fbfb3SApril Chin07-10-10 A bug in which the locale was not being restored after 6917c2fbfb3SApril Chin LANG=value command has been fixed. 6927c2fbfb3SApril Chin07-09-20 A bug in which a nameref to a compound variable that was local 6937c2fbfb3SApril Chin to the calling function would not expand correctly when displaying 6947c2fbfb3SApril Chin is value has been fixed. 6957c2fbfb3SApril Chin07-09-19 A bug which cause cause a core dump if .sh.edchar returned 6967c2fbfb3SApril Chin 80 characters or more from a keyboard trap has been fixed. 6977c2fbfb3SApril Chin07-09-14 A bug in which could cause a core dump when more than 8 file 6987c2fbfb3SApril Chin descriptors were in use has been fixed. 6997c2fbfb3SApril Chin07-09-10 A bug in which creating a name reference to an instance of 7007c2fbfb3SApril Chin an array when the array name is itself a reference has been fixed. 7017c2fbfb3SApril Chin07-09-10 The file completion code has been modified so that after an = in 7027c2fbfb3SApril Chin any word, each : will be considered a path delimiter. 7037c2fbfb3SApril Chin07-09-06 A bug in which subprocess cleanup could corrupt the malloc() heap 7047c2fbfb3SApril Chin has been fixed. 7057c2fbfb3SApril Chin07-08-26 A bug in which a name reference to an associative array instance 7067c2fbfb3SApril Chin could cause the subscript to be evaluated as an arithmetic expression 7077c2fbfb3SApril Chin has been fixed. 7087c2fbfb3SApril Chin07-08-22 A bug in which the value of an array instance was of a compound 7097c2fbfb3SApril Chin variable was not expanded correctly has been fixed. 7107c2fbfb3SApril Chin07-08-14 A bug which could cause a core dump when a compound assignment was 7117c2fbfb3SApril Chin made to a compound variable element with a typeset -a attribute 7127c2fbfb3SApril Chin has been fixed. 7137c2fbfb3SApril Chin07-08-08 A bug in which a trap ignored in a subshell caused it to be 7147c2fbfb3SApril Chin ignored by the parent has been fixed. 7157c2fbfb3SApril Chin07-08-07 A bug in which the set command would generated erroneous output 7167c2fbfb3SApril Chin for a variable with the -RZ attribute if the variable name had been 7177c2fbfb3SApril Chin passed to a function has been fixed. 7187c2fbfb3SApril Chin07-08-02 A bug in which read x[1] could core dump has been fixed. 7197c2fbfb3SApril Chin07-08-02 A second bug in which after read x[sub] into an associative array 7207c2fbfb3SApril Chin of an element that hasn't been assigned could lead to a core dump 7217c2fbfb3SApril Chin has been fixed. 7227c2fbfb3SApril Chin07-07-31 A bug in which a pipeline that completed correctly could have 7237c2fbfb3SApril Chin an exit status of 127 when pipefail was enabled has been fixed. 7247c2fbfb3SApril Chin07-07-09 The SHOPT_AUDIT compile option has been added for keyboard logging. 7257c2fbfb3SApril Chin07-06-25 In vi insert mode, ksh no longer emits a backspace character 7267c2fbfb3SApril Chin before the carriage return when the newline is entered. 7277c2fbfb3SApril Chin07-06-25 A bug in which pipefail would cause a command to return 0 7287c2fbfb3SApril Chin when the pipeline was the last command and the failure happened 7297c2fbfb3SApril Chin on a component other than the last has been fixed. 7307c2fbfb3SApril Chin07-06-25 A bug in the expansion of ${var/pattern/rep} when pattern or rep 7317c2fbfb3SApril Chin contained a left parenthesis in single quotes has been fixed. 7327c2fbfb3SApril Chin07-06-18 The braces for a subscripted variable with ${var[sub]} are now 7337c2fbfb3SApril Chin optional when inside [[...]], ((...)) or as a subscript. 7347c2fbfb3SApril Chin07-05-28 A bug in brace expansion in which single and double quotes did 7357c2fbfb3SApril Chin not treat the comma as a literal character has been fixed. 7367c2fbfb3SApril Chin07-05-24 The -p option of whence now disables -v. 7377c2fbfb3SApril Chin07-05-23 Several bug fixes in compound variables and arrays of arrays 7387c2fbfb3SApril Chin have been made. 7397c2fbfb3SApril Chin07-05-15 A bug in which the %B format of printf was affected by the 7407c2fbfb3SApril Chin locale has been fixed. 7417c2fbfb3SApril Chin07-05-14 A bug in which \ was not removed in the replacement pattern with 7427c2fbfb3SApril Chin ${var/pattern/rep} when it was not followed by \ or a digit has 7437c2fbfb3SApril Chin been fixed. 7447c2fbfb3SApril Chin07-05-10 A bug in which ksh -R file core dumped if no script was specified 7457c2fbfb3SApril Chin has been fixed. it not displays an error message. 7467c2fbfb3SApril Chin07-05-07 Added additional Solaris signals to signal table. 7477c2fbfb3SApril Chin07-04-30 A bug in which a pipeline with command substitution inside a 7487c2fbfb3SApril Chin function could cause a pipeline that invokes this function to 7497c2fbfb3SApril Chin hang when the pipefail option is on has been fixed. 7507c2fbfb3SApril Chin07-04-30 Added -q to whence. 751da2e3ebdSchin07-04-18 A small memory leak with each redirection of a non-builtin has 752da2e3ebdSchin been fixed. 753da2e3ebdSchin07-03-08 A bug in which set +o output command line options has been fixed. 754da2e3ebdSchin07-03-08 A bug in which an error in read (for example, an invalid variable 755da2e3ebdSchin name), could leave the terminal in raw mode has been fixed. 756da2e3ebdSchin07-03-06 A bug in which read could core dump when specified with an array 757da2e3ebdSchin variable with a subscript that is an arithmetic expression has 758da2e3ebdSchin been fixed. 759da2e3ebdSchin07-03-06 Several serious bugs with the restricted shell were reported and 760da2e3ebdSchin fixed. 761da2e3ebdSchin07-03-02 If a job is stopped, and subsequently restarted with a CONT 762da2e3ebdSchin signal and exits normally, ksh93 was incorrectly exiting with 763da2e3ebdSchin the exit status of the stop signal number. 764da2e3ebdSchin07-02-26 M-^L added to emacs mode to clear the screen. 765da2e3ebdSchin07-02-26 A bug in which setting a variable readonly in a subshell would 766da2e3ebdSchin cause an unset error when the subshell completed has been fixed. 767da2e3ebdSchin07-02-19 The format with printf uses the new = flag to center the output. 768da2e3ebdSchin07-02-19 A bug in which ksh93 did not allow multibyte characters in 769da2e3ebdSchin identifier names has been fixed. 770da2e3ebdSchin07-02-19 A bug introduced in ksh93 that causes global compound variable 771da2e3ebdSchin definitions inside functions to exit with "no parent" has been fixed. 772da2e3ebdSchin07-02-19 A bug in which using compound commands in process redirection 773da2e3ebdSchin arguments would give syntax errors <(...) and >(...) has been fixed. 774da2e3ebdSchin07-01-29 A bug which caused the shell to core dump which can occur when a 775da2e3ebdSchin built-in exits without closing files that it opens has been fixed. 776da2e3ebdSchin07-01-26 A bug in which ~(E) in patterns containing \ that are not inside () 777da2e3ebdSchin has been fixed. 778da2e3ebdSchin 779da2e3ebdSchin06-12-29 --- Release ksh93s --- 780da2e3ebdSchin06-12-29 A bug in which the value of IFS could be changed after a command 781da2e3ebdSchin substitution has been fixed. 782da2e3ebdSchin06-12-22 /dev/(tcp|udp|sctp)/HOST/SEVRICE now handles IPv6 addresses on 783da2e3ebdSchin systems that provide getaddrinfo(3). 784da2e3ebdSchin06-12-19 A -v option was added to read. With this option the value of 785da2e3ebdSchin the first variable name argument will become the default value 786da2e3ebdSchin when read from a terminal device. 787da2e3ebdSchin06-11-20 A bug in which "${foo[@]:1}}" expands a null argument (instead of 788da2e3ebdSchin no argument), when foo[0] is not empty has been fixed. 789da2e3ebdSchin06-11-16 The discipline functions have been modified to allow each subscript 790da2e3ebdSchin to act independently. Currently the discipline function will not 791da2e3ebdSchin be called when called from a discipline function of the same variable. 792da2e3ebdSchin06-11-14 A bug which could cause a core dump if a file descriptor for 793da2e3ebdSchin an internal file was closed from with a subshell has been fixed. 794da2e3ebdSchin06-10-30 The redirections <# pattern, and <## pattern have been added. 795da2e3ebdSchin Both seek forward to the beginning of the next line that contains 796da2e3ebdSchin the pattern. The <## form copies the skipped portion to standard 797da2e3ebdSchin output. 798da2e3ebdSchin06-10-26 On systems that support stream control transport, the virtual file 799da2e3ebdSchin name /dev/sctp/host/port can now be used to establish connections. 800da2e3ebdSchin06-10-26 The printf modifier # when used with d produces units in thousands 801da2e3ebdSchin with a single letter suffix added. The modifier # when used with 802da2e3ebdSchin the i specification provides units of 1024 with a two letter suffix. 803da2e3ebdSchin06-10-24 The value of $! is now set to the process id of a job put 804da2e3ebdSchin into the background with the bg command as required by POSIX. 805da2e3ebdSchin06-10-23 A bug in which the value of $! was affected by a background 806da2e3ebdSchin job started from a subshell has been fixed. 807da2e3ebdSchin06-10-23 A bug in ${var:offset:len} in multibyte locales has been fixed. 808da2e3ebdSchin06-10-15 The remaining math functions from C99 were added for any system 809da2e3ebdSchin that supports them. 810da2e3ebdSchin06-10-13 The klockwork.com software detected a few coding errors that 811da2e3ebdSchin have been fixed. 812da2e3ebdSchin06-10-12 A bug when skipping over `...` with ${x:=`...`} when x is set 813da2e3ebdSchin has been fixed. 814da2e3ebdSchin06-10-11 A bug in process floating constants produced by the %a format 815da2e3ebdSchin of printf has been fixed. 816da2e3ebdSchin06-10-06 A bug in which IFS was not being restored correctly in some 817da2e3ebdSchin cases after a subshell has been fixed. 818da2e3ebdSchin06-10-06 A bug in which pipefail was not detecting some failures in 819da2e3ebdSchin pipelines with 3 or more states has been fixed. 820da2e3ebdSchin06-10-03 A bug in the processing of >(...) with builtins which could 821da2e3ebdSchin cause the builtin to hang has been fixed. 822da2e3ebdSchin06-10-03 A bug in the for loop optimizer which causes >(...) process 823da2e3ebdSchin substitution to be ignored has been fixed. 824da2e3ebdSchin06-09-17 The -a option was added to typeset for indexed arrays. This 825da2e3ebdSchin is only needed when using the ([subscript]=value ...) form. 826da2e3ebdSchin06-09-06 The showme option was added. Each simple command not beginning 827da2e3ebdSchin with a redirection and not occurring with in the while, until, if, 828da2e3ebdSchin select condition can be preceded by a semi-colon which will 829da2e3ebdSchin be ignored when showme is off. When showme is on, any command 830da2e3ebdSchin preceded by a colon will be traced but not executed. 831da2e3ebdSchin06-08-16 As a new feature, a leading ~(N) on a pattern has no effect 832da2e3ebdSchin except when used for file expansion. In this case if not 833da2e3ebdSchin matches are found, the pattern is replaced by nothing rather 834da2e3ebdSchin than itself. 835da2e3ebdSchin06-08-11 A bug in the expansion of ${.sh.match[i]:${#.shmatch[i]}} has 836da2e3ebdSchin been fixed. 837da2e3ebdSchin06-08-10 The read builtin options -n and -N have been modified to treat 838da2e3ebdSchin the size as characters rather than bytes unless storing into a 839da2e3ebdSchin binary (typeset -B) variable. 840da2e3ebdSchin06-07-27 When the here document operator << is followed directly by a # 841da2e3ebdSchin rather than a -, the first line of the here-document determines 842da2e3ebdSchin how much whitespace is removed for each line. 843da2e3ebdSchin06-07-26 A bug in the C-shell history (enabled with set -H) in which the 844da2e3ebdSchin history event !$ was not processed has been fixed. 845da2e3ebdSchin06-07-21 A bug on some systems in which assigning PATH on a command line 846da2e3ebdSchin would not take effect has been fixed. 847da2e3ebdSchin06-07-20 Add ksh93 and rksh93 as allowable names for ksh binaries. 848da2e3ebdSchin06-07-20 Removed the SHOPT_OO compilation option which was only partially 849da2e3ebdSchin implemented. 850da2e3ebdSchin06-07-20 The ability to use egrep, grep, and fgrep expressions within 851da2e3ebdSchin shell patterns has been documented. 852da2e3ebdSchin06-07-17 A bug with arithmetic command expressions for locales in which 853da2e3ebdSchin the comma is a thousands separator has been fixed. 854da2e3ebdSchin06-07-13 The default HISTSIZE was increased from 128 to 512. 855da2e3ebdSchin06-07-13 A multibyte problem with locales that use shift codes has been fixed. 856da2e3ebdSchin06-06-23 A number of bug fixes for command, file, and variable completion 857da2e3ebdSchin have been mode. 858da2e3ebdSchin06-06-20 Floating point division by zero now yields the constant Inf or -Inf 859da2e3ebdSchin and floating functions with invalid arguments yield NaN. 860da2e3ebdSchin06-06-20 The floating point constants Inf and NaN can be used in arithmetic 861da2e3ebdSchin expressions. 862da2e3ebdSchin06-06-20 The functions isinf(), isnan(), tanhl() have been added for 863da2e3ebdSchin arithmetic expressions. 864da2e3ebdSchin06-06-13 Internal change to use ordering for variables instead of hashing 865da2e3ebdSchin to speed up prefix matching. 866da2e3ebdSchin06-06-13 A window between fork/exec in which a signal could get lost 867da2e3ebdSchin and cause a program to hang has been eliminated 868da2e3ebdSchin06-06-13 A bug in edit completion with quoted strings has been fixed. 869da2e3ebdSchin06-06-07 The restricted options can now be enabled by set as well as on 870da2e3ebdSchin the command line. Once set, it can not be disabled. 871da2e3ebdSchin06-06-04 Modified built-in binding so that for systems for which /bin 872da2e3ebdSchin and /usr/bin are the same, a builtin bound to /bin will get 873da2e3ebdSchin selected when either /bin or /usr/bin is scanned. 874da2e3ebdSchin06-06-04 Added literal-next character processing for emacs/gmacs mode. 875da2e3ebdSchin This change is not compatible with earlier versions of ksh93 876da2e3ebdSchin and ksh88 when the stty lnext is control-v. The sequence 877da2e3ebdSchin escape-control-v will display the shell version. 878da2e3ebdSchin06-05-31 Modified emacs and vi mode so that entering a TAB after a partial 879da2e3ebdSchin TAB completion, generates a listing of possible completions. 880da2e3ebdSchin After the second TAB, a number followed by a TAB will perform 881da2e3ebdSchin the completion with the corresponding item. 882da2e3ebdSchin06-05-19 Modified arithmetic so that conversions to strings default to 883da2e3ebdSchin the maximum number of precision digits. 884da2e3ebdSchin06-05-16 Bug fixes for multibyte locales. 885da2e3ebdSchin06-05-10 The =~ operator was added to [[...]] and [[ string ~= ERE ]] 886da2e3ebdSchin is equivalent to [[ string == ~(E)ERE ]]. 887da2e3ebdSchin06-04-25 A bug in the vi edit mode which could cause the shell to core dump 888da2e3ebdSchin when switching from emacs mode. 889da2e3ebdSchin06-04-17 A bug in which using LANG or LC_ in assignment lists with builtins 890da2e3ebdSchin did not restore the localed correctly has been fixed. 891da2e3ebdSchin06-04-04 A bug in which discipline functions could not be added to variables 892da2e3ebdSchin whose names started with .sh has been fixed. 893da2e3ebdSchin06-03-28 The -s option to typeset was added to modify -i to indicate short 894da2e3ebdSchin integers. 895da2e3ebdSchin06-03-28 A bug in which variables assignment lists before functions 896da2e3ebdSchin defined with function name were not passed on the functions 897da2e3ebdSchin invoked by this function has been fixed. 898da2e3ebdSchin06-03-28 A bug in which name references defined within a function defined 899da2e3ebdSchin with function name could not be used with compound variables has 900da2e3ebdSchin been fixed. 901da2e3ebdSchin06-03-27 A bug in which read <&p (print >&p) would cause the coprocess input 902da2e3ebdSchin (output) pipe to close before reading from (after writing to) 903da2e3ebdSchin it has been fixed. 904da2e3ebdSchin06-02-28 A bug in which stopping a job created with the hist builtin command 905da2e3ebdSchin would create a job that could not be restarted has been fixed. 906da2e3ebdSchin 907da2e3ebdSchin06-01-24 --- Release ksh93r --- 908da2e3ebdSchin06-01-24 A bug in which running commands with standard output closed would 909da2e3ebdSchin not work as expected has been fixed. 910da2e3ebdSchin06-01-23 A bug in which print -u<n> could fail when file descriptor <n> was 911da2e3ebdSchin open for writing has been fixed. 912da2e3ebdSchin06-01-19 The ?: arithmetic operator fixed to work when the operation after 913da2e3ebdSchin the colon was an assignment. 914da2e3ebdSchin05-12-24 A bug which could lead to a core dump when elements of a compound 915da2e3ebdSchin variable were array elements, i.e. foo=(bar=(1 2)), has been fixed. 916da2e3ebdSchin05-12-13 An arithmetic bug in which x+=y+=z was not working has been fixed. 917da2e3ebdSchin05-12-13 An arithmetic bug in which x||y was returning x when x was non-zero 918da2e3ebdSchin rather than 1 has been fixed. 919da2e3ebdSchin05-12-07 The aliases for integer and float have been changed to use attributes 920da2e3ebdSchin -li and -lE to handle long long and long double types. 921da2e3ebdSchin05-12-07 The histexpand (-H) option has been added which allows C-shell 922da2e3ebdSchin style history expansions using the history character !. 923da2e3ebdSchin05-12-07 The multiline option was added which changes that way the edit 924da2e3ebdSchin modes handle lines longer than the window width. Instead of 925da2e3ebdSchin horizontal scrolling, multiple lines on the screen are used. 926da2e3ebdSchin05-12-05 The whence builtin now returns an absolute pathname when the 927da2e3ebdSchin command is found in the current directory. 928da2e3ebdSchin05-11-29 A bug which caused ksh -c '[[ ! ((' to core dump rather than 929da2e3ebdSchin report a syntax error has been fixed. 930da2e3ebdSchin05-11-29 A bug when reading fixed length records into typeset -b variables 931da2e3ebdSchin which caused a zero byte to terminate the value has been fixed. 932da2e3ebdSchin05-11-22 The ability to seek to an offset within a file has been added 933da2e3ebdSchin with the new I/O redirection operators, <# and >#. Currently, 934da2e3ebdSchin these redirection operators must be followed by ((expr)) 935da2e3ebdSchin but in a future release, it should be able to used to seek forward 936da2e3ebdSchin to the specified shell pattern. In addition $(n<#) expands to the 937da2e3ebdSchin current byte offset for file descriptor n. 938da2e3ebdSchin05-11-22 The .sh.match array variable is now set after each [[ ... ]] 939da2e3ebdSchin pattern match. Previously it was only set for substring matches. 940da2e3ebdSchin05-10-17 A bug in which the library path variable could be prefixed 941da2e3ebdSchin with a directory when a .path file was not encountered in 942da2e3ebdSchin the directory of the executable has been fixed. 943da2e3ebdSchin05-09-15 A for/while loop optimizer bug in which $OPTIND was not 944da2e3ebdSchin correctly expanded has been fixed. 945da2e3ebdSchin05-09-05 A bug in which a history command that invoked a history 946da2e3ebdSchin command could go into an infinite loop has been fixed. 947da2e3ebdSchin05-08-31 In the case that IFS contains to adjacent new-lines so that 948da2e3ebdSchin new-line is not treated as a space delimiter, only a single 949da2e3ebdSchin new-line is deleted at the end of a command substitution. 950da2e3ebdSchin05-08-19 When a tilde substitution expands to the / directory and is 951da2e3ebdSchin followed by a /, it is replaced by the empty string. 952da2e3ebdSchin05-08-16 A bug in which n<&m did not synchronize m has been fixed. 953da2e3ebdSchin05-08-16 A bug in which process substitution ( <() and >() ) was not 954da2e3ebdSchin working within for and while loops has been fixed. 955da2e3ebdSchin05-07-24 A bug in which the pattern ~(E)(foo|bar) was treated as a syntax 956da2e3ebdSchin error has been fixed. 957da2e3ebdSchin05-07-24 A bug in completion with <n>=, where n was the one of the 958da2e3ebdSchin previous selection choices has been fixed. 959da2e3ebdSchin05-07-21 A bug with multibyte input when no edit mode was specified which 960da2e3ebdSchin caused the input line to shift left/right has been fixed. 961da2e3ebdSchin05-06-24 A race condition which could cause the exit status to get lost 962da2e3ebdSchin on some fast systems has been fixed. 963da2e3ebdSchin05-06-21 A bug in which nested patterns of the form {m,n}(pat) would cause 964da2e3ebdSchin syntax errors has been fixed. 965da2e3ebdSchin05-06-21 A bug in the macro expander has been fixed which could cause a 966da2e3ebdSchin syntax error for an expansion of the form ${x-$(...)} when 967da2e3ebdSchin x is set and the command substitution contained certain strings. 968da2e3ebdSchin05-06-08 On systems for which echo does not do System V style \ expansions, 969da2e3ebdSchin the -e option was added to enable these expansion. 970da2e3ebdSchin05-06-08 A bug in which ${var op pattern} to not work when inside an 971da2e3ebdSchin arithmetic expression has been fixed. 972da2e3ebdSchin05-05-23 An extension to shell patterns that allows matching of nested 973da2e3ebdSchin groups while skipping over quoted strings has been added. 974da2e3ebdSchin05-05-18 A bug in which the line number for errors was not correct for 975da2e3ebdSchin functions loaded from FPATH has been fixed. 976da2e3ebdSchin05-04-18 A bug in which the exit status $? is not set when a trap triggered 977da2e3ebdSchin by the [[...]] command is executed has been fixed. 978da2e3ebdSchin05-04-08 Redirection operators can be directly preceded with {varname} 979da2e3ebdSchin with no intervening space, where varname is a variable name which 980da2e3ebdSchin allows the shell to select a file descriptor > 10 and store it 981da2e3ebdSchin into varname. 982da2e3ebdSchin05-04-08 SHOPT_CMDLIB_BLTIN=1 now includes <cmdlist.h> generated table. 983da2e3ebdSchin05-04-07 [[ -o ?option ]] is true if "option" is a supported option. 984da2e3ebdSchin05-04-05 A bug in handling file completion with spaces in the names 985da2e3ebdSchin has been fixed. 986da2e3ebdSchin05-03-25 The SIGWINCH signal is caught by default to keeps the LINES and 987da2e3ebdSchin COLUMNS variables in sync with the actual window size. 988da2e3ebdSchin05-03-25 Building ksh with SHOPT_REMOTE=1 causes ksh to set --rc if stdin is 989da2e3ebdSchin a socket (presumably part of a remote shell invocation.) 990da2e3ebdSchin05-03-25 Building ksh with SHOPT_SYSRC=1 causes interactive ksh to source 991da2e3ebdSchin /etc/ksh.kshrc (if it exists) before sourcing the $ENV file. 992da2e3ebdSchin05-03-25 {first..last[..incr][%fmt]} sequences added to brace expansions 993da2e3ebdSchin when braceexpand is enabled. 994da2e3ebdSchin05-03-03 A bug where a SIGCHLD interrupt could cause a fifo open to fail has 995da2e3ebdSchin been fixed. 996da2e3ebdSchin05-02-25 A bug in which a builtin command run in the background could 997da2e3ebdSchin keep a file descriptor open which could cause a foreground 998da2e3ebdSchin process to hang has been fixed. 999da2e3ebdSchin05-02-24 A bug where builtin library commands (e.g., date and TZ) failed to 1000da2e3ebdSchin detect environment variable changes has been fixed. 1001da2e3ebdSchin05-02-22 The read builtin and word splitting are now consistent with respect 1002da2e3ebdSchin to IFS -- both treat IFS as field delimiters. 1003da2e3ebdSchin05-02-22 The read builtin no longer strips off trailing delimiters that 1004da2e3ebdSchin are not space characters when there are fewer variables than fields. 1005da2e3ebdSchin05-02-17 A builtin bug on systems where dlsym(libcmd) returns link-time 1006da2e3ebdSchin bindings has been fixed. 1007da2e3ebdSchin05-02-12 A bug in which the lib_init() function for .paths BUILTIN_LIB 1008da2e3ebdSchin libraries was not called has been fixed. 1009da2e3ebdSchin05-02-06 A bug on some systems in which moving the write end of a co-process 1010da2e3ebdSchin to a numbered file descriptor could cause it to close has been fixed. 1011da2e3ebdSchin05-02-06 A bug in the vi-edit mode in which the character under the cursor 1012da2e3ebdSchin was not deleted in some cases with the d% directive has been fixed. 1013da2e3ebdSchin05-02-06 A bug where external builtin stdout/stderr redirection corrupted 1014da2e3ebdSchin stdout has been fixed. 1015da2e3ebdSchin05-02-04 A bug where times formatting assumed CLK_TCK==60 has been fixed. 1016da2e3ebdSchin 1017da2e3ebdSchin05-01-11 --- Release ksh93q --- 1018da2e3ebdSchin05-01-11 A bug in the integral divide by zero check has been fixed. 1019da2e3ebdSchin05-01-11 The -l option has been added to read /etc/profile and 1020da2e3ebdSchin $HOME/.profile, if they exist, before the first command. 1021da2e3ebdSchin05-01-11 An argument parsing bug that caused `kill -s x -- n' to fail has 1022da2e3ebdSchin been fixed. 1023da2e3ebdSchin05-01-11 The .paths file, introduced in ksh93m, which can appear in 1024da2e3ebdSchin any directory in PATH, now allows a line of the form 'BUILTIN_LIB=.' 1025da2e3ebdSchin When a command is searched for this directory, and the full path 1026da2e3ebdSchin matches the path of the built-in version of the command (listed 1027da2e3ebdSchin by the 'builtin' command) then the built-in version of the command 1028da2e3ebdSchin is used. When ksh is built with SHOPT_CMDLIB_DIR=1 then all libcmd 1029da2e3ebdSchin functions become builtins with the '/opt/ast/bin/' directory prefix. 1030da2e3ebdSchin05-01-10 A bug in which a nameref to a compound name caused a core dump has 1031da2e3ebdSchin been fixed. 1032da2e3ebdSchin05-01-09 A bug in which some SIGCHLD interrupts (from child processes exiting) 1033da2e3ebdSchin caused a fatal print/echo error diagnostic has been fixed. 1034da2e3ebdSchin04-12-24 A bug in which some SIGCHLD interrupts (from child processes exiting) 1035da2e3ebdSchin corrupted the internal process/job list, sometimes causing the shell 1036da2e3ebdSchin to hang, has been fixed. 1037da2e3ebdSchin04-12-01 A bug in which typeset -Fn truncated less than n digits for large 1038da2e3ebdSchin numbers has been fixed. 1039da2e3ebdSchin04-11-25 A bug in which standard error could be closed after a redirection 1040da2e3ebdSchin to /dev/stderr has been fixed. 1041da2e3ebdSchin04-11-17 A bug in which an expansion of the form ${array[@]:3} could expand 1042da2e3ebdSchin to ${array[0]} when ${array[3]} was not set has been fixed. 1043da2e3ebdSchin04-10-22 The -E or -orc command line option reads ${ENV-$HOME/.kshrc} file. 1044da2e3ebdSchin04-10-22 `-o foo' equivalent to `+o nofoo', `-o nobar' equivalent to `+o bar'. 1045da2e3ebdSchin `--foo' equivalent to `-o foo', `--nofoo' equivalent to `+o foo' 1046da2e3ebdSchin04-10-05 The .paths file, introduced in ksh93m, which can appear in 1047da2e3ebdSchin any directory in PATH, now allows a line of the form 1048da2e3ebdSchin 'BUILTIN_LIB=libname'. When a command is searched for this directory, 1049da2e3ebdSchin the shared library named by libname will first be searched for a 1050da2e3ebdSchin built-in version of the command. 1051da2e3ebdSchin04-09-03 <<< here documents now handle quotes in the word token correctly. 1052da2e3ebdSchin04-08-08 The maximum size for read -n and and read -N was increased from 1053da2e3ebdSchin 4095 to 32M. 1054da2e3ebdSchin04-08-04 printf %q was modified so that if an no operand was supplied, no 1055da2e3ebdSchin no output would be generated rather than a quoted empty string. 1056da2e3ebdSchin04-08-01 The -n and -N options of the read builtin has been modified 1057da2e3ebdSchin when reading variables with the binary attribute so that the 1058da2e3ebdSchin data is stored directly rather than through assignment. 1059da2e3ebdSchin04-08-01 The shcomp command has been modified to process alias commands 1060da2e3ebdSchin under some conditions. 1061da2e3ebdSchin04-07-31 The .sh.match variable added in ksh93l, now works like other 1062da2e3ebdSchin indexed arrays. 1063da2e3ebdSchin04-07-08 A loop optimizer bug which occurs when typeset is used in 1064da2e3ebdSchin a for or while loop inside a function has been fixed. 1065da2e3ebdSchin04-06-24 The number of subexpressions in a pattern was increased to 64 1066da2e3ebdSchin from the current number of 20. 1067da2e3ebdSchin04-06-17 The -t option to read was modified to allow seconds to be 1068da2e3ebdSchin specified as any arithmetic expression rather than just 1069da2e3ebdSchin an integral number of seconds, for example even -t 'sin(.5)' 1070da2e3ebdSchin is now valid. 1071da2e3ebdSchin04-06-16 Two small memory leak problems were fixed. 1072da2e3ebdSchin04-06-15 A bug in ${var/pattern/"string"} which occurred when string 1073da2e3ebdSchin contained pattern matching characters has been fixed. 1074da2e3ebdSchin04-05-08 printf $'%d\n' produced an erroneous error message and has 1075da2e3ebdSchin been fixed. 1076da2e3ebdSchin04-05-24 A bug in which an associative array without any elements could 1077da2e3ebdSchin cause a core dump when a script with an associative array with 1078da2e3ebdSchin the same name was declared in a script invoked by name has 1079da2e3ebdSchin been fixed. 1080da2e3ebdSchin04-05-11 A bug in which an exec statement could close the script that 1081da2e3ebdSchin is being processed in a script that is run by name causing 1082da2e3ebdSchin a failure has been fixed. 1083da2e3ebdSchin04-04-28 If the first character of assignment to an integer variable was 0, 1084da2e3ebdSchin the variable had been treated as unsigned. This behavior was 1085da2e3ebdSchin undocumented and has been removed. 1086da2e3ebdSchin04-04-05 A bug in which the positioning of standard input could be incorrect 1087da2e3ebdSchin after reading from standard input from a subshell has been fixed. 1088da2e3ebdSchin04-03-30 A bug in the for loop optimizer which in rare cases could cause 1089da2e3ebdSchin memory corruption has been fixed. 1090da2e3ebdSchin04-03-29 The preset alias source='command .' has been added. 1091da2e3ebdSchin04-03-29 A bug introduced in ksh93p on some systems in which invoked by 1092da2e3ebdSchin name with #! on the first line would not get the signals handling 1093da2e3ebdSchin initialized correctly has been fixed. 1094da2e3ebdSchin04-03-29 A bug introduced in ksh93p in which a HUP signal received by 1095da2e3ebdSchin a shell that is a session group leader was not passed down to 1096da2e3ebdSchin its children has been fixed. 1097da2e3ebdSchin 1098da2e3ebdSchin04-02-28 --- Release ksh93p --- 1099da2e3ebdSchin04-02-28 The ability to apply an append discipline to any variable has 1100da2e3ebdSchin been added. 1101da2e3ebdSchin04-02-14 A bug in which the exportall option (set -a) would cause incorrect 1102da2e3ebdSchin results for arrays has been fixed. 1103da2e3ebdSchin04-02-02 A bug in which an exported array would pass more than 1104da2e3ebdSchin the first element to a script invoked by name has been fixed. 1105da2e3ebdSchin04-02-02 A bug on some systems in which name=value pairs preceding a script 1106da2e3ebdSchin invoked by name was not getting passed to the script has been fixed. 1107da2e3ebdSchin04-01-20 A bug in which an unset discipline function could cause a core 1108da2e3ebdSchin dump on some systems has been fixed. 1109da2e3ebdSchin04-01-12 A bug in which a continue or break called outside a loop from 1110da2e3ebdSchin inside a function defined with name() syntax could affect 1111da2e3ebdSchin the invoking function has been fixed. 1112da2e3ebdSchin04-01-08 If a command name begins with ~, only filename completion will be 1113da2e3ebdSchin attempted rather than pathname completion using the builtin editors. 1114da2e3ebdSchin04-01-08 A bug in the vi edit mode in which the wrong repeat count on 1115da2e3ebdSchin multiple word replacements with the . directive has been fixed. 1116da2e3ebdSchin04-01-06 Backspace characters are now handled correctly in prompt strings. 1117da2e3ebdSchin04-01-06 The getopts builtin has been modified to accept numerical 1118da2e3ebdSchin arguments of size long long on systems that support this. 1119da2e3ebdSchin04-01-06 A bug in which unsetting all elements of an associative array 1120da2e3ebdSchin would cause it to be treated as an indexed array has been fixed. 1121da2e3ebdSchin03-12-15 A bug in which a quoted string ending with an unescaped $ would 1122da2e3ebdSchin delete the ending $ in certain cases has been fixed. 1123da2e3ebdSchin03-12-05 A bug in which the shell could hang when set -x tracing a command 1124da2e3ebdSchin when an invalid multibyte character is encountered has been fixed. 1125da2e3ebdSchin03-12-05 On some systems, if the KEYBD trap is set, then commands that use 1126da2e3ebdSchin the meta key were not processed until return was hit. This 1127da2e3ebdSchin has been fixed. 1128da2e3ebdSchin03-12-05 A problem which occurred when the login shell was not a group 1129da2e3ebdSchin leader that could cause it to fail has been fixed. 1130da2e3ebdSchin03-12-05 A problem in which a shell could core dump after receiving a signal 1131da2e3ebdSchin that should cause it to terminate while it was in the process 1132da2e3ebdSchin of acquiring more space has been fixed. 1133da2e3ebdSchin03-12-05 If ENV is not specified, the shell will default to $HOME/.kshrc 1134da2e3ebdSchin for interactive shells. 1135da2e3ebdSchin03-11-21 A bug introduced in ksh93o in which the DEBUG trap could get 1136da2e3ebdSchin disabled after it triggered has been fixed. 1137da2e3ebdSchin03-11-04 A bug in which using arithmetic prefix operators ++ or -- on a 1138da2e3ebdSchin non-lvalue could cause a core dump has been fixed. 1139da2e3ebdSchin03-11-04 A bug in which leading zeros were stripped from variable 1140da2e3ebdSchin expansions within arithmetic computation to avoid being treated 1141da2e3ebdSchin as octal constants when they should not have, has been fixed. 1142da2e3ebdSchin03-10-08 A bug introduced in ksh93o in which a large here document inside 1143da2e3ebdSchin a function definition could get corrupted has been fixed. 1144da2e3ebdSchin03-09-22 A bug in which the .get discipline function was not being 1145da2e3ebdSchin called when a string variable was implicitly referenced from 1146da2e3ebdSchin within a numerical expression has been fixed. 1147da2e3ebdSchin03-09-22 A bug in which a script without a leading #! could get executed 1148da2e3ebdSchin by /bin/sh rather than the current shell on some systems has 1149da2e3ebdSchin been fixed. 1150da2e3ebdSchin03-09-12 To improve conformance with ksh88, leading zeros will be ignored 1151da2e3ebdSchin when getting the numerical value of a string variable so that 1152da2e3ebdSchin they will not be treated as octal constants. 1153da2e3ebdSchin03-09-03 The builtin kill command now processes obsolete invocations 1154da2e3ebdSchin such as kill -1 -pid. 1155da2e3ebdSchin03-09-02 The restriction on modifying FPATH in a restricted shell (sh -r) 1156da2e3ebdSchin has been documented. 1157da2e3ebdSchin03-09-02 The restricted shell (sh -r) has been modified to disallow 1158da2e3ebdSchin executing command -p. 1159da2e3ebdSchin03-08-07 A bug in which the KEYBD trap was not being invoked when 1160da2e3ebdSchin characters with the 8th bit set has been fixed. 1161da2e3ebdSchin03-08-02 A parser bug introduced in ksh93o which caused the character 1162da2e3ebdSchin after () in a Posix function definition to be skipped 1163da2e3ebdSchin when reading from standard input has been fixed. 1164da2e3ebdSchin03-08-01 A bug in which "${foo#pattern}(x)" treated (x) as if it were 1165da2e3ebdSchin part of the pattern has been fixed. 1166da2e3ebdSchin03-08-01 The command -x option has been modified so that any trailing 1167da2e3ebdSchin arguments that do expand to a single word will be included 1168da2e3ebdSchin on each invocation, so that commands like command -x mv * dir 1169da2e3ebdSchin work as expected. 1170da2e3ebdSchin 1171da2e3ebdSchin03-07-20 --- Release ksh93o+ --- 1172da2e3ebdSchin03-07-20 A bug in which could cause memory corruption when a posix 1173da2e3ebdSchin function invoked another one has been fixed. 1174da2e3ebdSchin03-07-15 A bug in which a file descriptor>2 could be closed before 1175da2e3ebdSchin executing a script has been fixed. 1176da2e3ebdSchin03-07-15 A parsing error for <() and >() process substitutions inside 1177da2e3ebdSchin command substitution has been fixed. 1178da2e3ebdSchin03-07-15 A parsing error for patterns of the form {...}(...) when 1179da2e3ebdSchin used inside ${...} has been fixed. 1180da2e3ebdSchin03-07-15 An error in which expanding an indexed array inside a compound 1181da2e3ebdSchin variable could cause a core dump has been fixed. 118234f9b3eeSRoland Mainz03-07-15 A bug in which on rare occasions a job completion interrupt 1183da2e3ebdSchin could cause to core dump has been fixed. 1184da2e3ebdSchin03-06-26 A bug in which process substitution embedded within command 1185da2e3ebdSchin substitution would generate a syntax error has been fixed. 1186da2e3ebdSchin03-96-23 A bug in which ${@:offset:len} could core dump when there 1187da2e3ebdSchin were no arguments has been fixed. 1188da2e3ebdSchin03-96-23 A bug in which ${X[@]:offset:len} could core dump when X 1189da2e3ebdSchin was unset has been fixed. 1190da2e3ebdSchin03-06-22 The -x option was added to the command builtin. If this 1191da2e3ebdSchin option is on, and the number of arguments would exceed ARG_MAX, 1192da2e3ebdSchin the command will be invoked multiple times with a subset of 1193da2e3ebdSchin the arguments. For example, with alias grep='command -x grep, 1194da2e3ebdSchin any number of arguments can be specified. 1195da2e3ebdSchin03-06-14 A bug in which could cause a core dump on some systems with 1196da2e3ebdSchin vi and emacs editors with the MULTIBYTE option has been fixed. 1197da2e3ebdSchin03-06-06 A bug in which the shell could core dump when a script was 1198da2e3ebdSchin run from its directory, and the script name a symlink to a file 1199da2e3ebdSchin beginning with .., has been fixed. 1200da2e3ebdSchin03-06-05 A bug in which the shell could core dump when a child process 1201da2e3ebdSchin that it is unaware of terminates while it is calling malloc() 1202da2e3ebdSchin has been fixed. 1203da2e3ebdSchin03-06-02 An option named globstar (set -G) has been added. When enabled, 1204da2e3ebdSchin during pathname expansion, any component that consists only of ** is 1205da2e3ebdSchin matches all files and any number of directory levels. 1206da2e3ebdSchin03-05-30 A bug in which the PATH search could give incorrect results when 1207da2e3ebdSchin run from directory foo and PATH contained .:foo:xxx has been fixed. 1208da2e3ebdSchin03-05-29 Some changes were made to the code that displays the prompt in edit 1209da2e3ebdSchin mode to better handle escape sequences in the prompt. 1210da2e3ebdSchin03-05-27 I added = to the list of characters that mark the beginning of 1211da2e3ebdSchin a word for edit completion so that filenames in assignments 1212da2e3ebdSchin can be completed. 1213da2e3ebdSchin03-05-20 A bug in which read -N could hang on some systems when reading 1214da2e3ebdSchin from a terminal or a pipe has been fixed. 1215da2e3ebdSchin03-05-19 A bug in which the output of uname from a command substitution 1216da2e3ebdSchin would go to the standard output of the invoking command when 1217da2e3ebdSchin uname was invoked with a non-standard option has been fixed. 1218da2e3ebdSchin03-05-19 A job control bug which would cause the shell to exit because 1219da2e3ebdSchin it hadn't take back the terminal has been fixed. The bug 1220da2e3ebdSchin could occur when running a function that contained a pipeline 1221da2e3ebdSchin whose last element was a function. 1222da2e3ebdSchin03-05-19 A job control timing bug introduced in ksh93o on some systems 1223da2e3ebdSchin which could cause a pipeline to hang if the first component 1224da2e3ebdSchin completed quickly has been fixed. 1225da2e3ebdSchin03-05-13 The read builtin has been modified so that the builtin editors 1226da2e3ebdSchin will not overwrite output from a previous incomplete line. 1227da2e3ebdSchin03-05-13 A bug in which the name of an identifier could have the string 1228da2e3ebdSchin .sh. prefixed to it after expanding a variable whose name begins 1229da2e3ebdSchin with .sh. has been fixed. 1230da2e3ebdSchin03-05-13 A bug in the expansion of $var for compound variables in which 1231da2e3ebdSchin some elements would not be output when the name was a prefix 1232da2e3ebdSchin of another name in the compound variable has been fixed. 1233da2e3ebdSchin03-05-08 The last item in the ksh93o release on 03-01-02 has been 1234da2e3ebdSchin altered slightly to preserve the leading 0's when the 1235da2e3ebdSchin preceding character is a digit. Thus, with typeset -LZ3 x=10, 1236da2e3ebdSchin $(( 1$x)) will be 1010 whereas $(( $x) will be 10. 1237da2e3ebdSchin03-04-25 A bug in which if x is a name reference, then nameref y=x.foo 1238da2e3ebdSchin did not follow x has been fixed. 1239da2e3ebdSchin 1240da2e3ebdSchin03-03-18 --- Release ksh93o --- 1241da2e3ebdSchin03-03-18 A -N unary operator was added to test and [[...]] which returns 1242da2e3ebdSchin true if the file exists and the file has been modified since it 1243da2e3ebdSchin was last read. 1244da2e3ebdSchin03-03-18 The TIMEFORMAT variable was added to control the format for 1245da2e3ebdSchin the time compound command. The formatting description is 1246da2e3ebdSchin described in the man page. 1247da2e3ebdSchin03-03-06 A -N n option was added to read which causes exactly n bytes 1248da2e3ebdSchin to be read unlike -n n which causes at most n bytes to be read. 1249da2e3ebdSchin03-03-03 Three new shell variables were added. The variable .sh.file 1250da2e3ebdSchin stores the full pathname of the file that the current command 1251da2e3ebdSchin was found in. The variable .sh.fun names the current function 1252da2e3ebdSchin that is running. The variable .sh.subshell contains the depth 1253da2e3ebdSchin of the current subshell or command substitution. 1254da2e3ebdSchin03-03-03 When the DEBUG trap is executed, the current command line after 1255da2e3ebdSchin expansions is placed in the variable .sh.command. The trap 1256da2e3ebdSchin is also now triggered before each iteration of a for, select, 1257da2e3ebdSchin and case command and before each assignment and redirection. 1258da2e3ebdSchin03-02-28 Function definitions are no longer stored in the history file so 1259da2e3ebdSchin that set -o nolog no longer has any meaning. 1260da2e3ebdSchin03-02-28 All function definitions can be displayed with typeset -f not 1261da2e3ebdSchin just those stored in the history file. In addition, typeset +f 1262da2e3ebdSchin displays the function name followed by a comment containing the 1263da2e3ebdSchin line number and the path name for the file that defined this function. 1264da2e3ebdSchin03-02-28 A bug in which the value of $LINENO was not correct when executing 1265da2e3ebdSchin command contained inside mult-line command substitutions has been 1266da2e3ebdSchin fixed. 1267da2e3ebdSchin03-02-19 Since some existing ksh88 scripts use the undocumented and 1268da2e3ebdSchin unintended ability to insert a : in front of the % and # parameter 1269da2e3ebdSchin expansion operators, ksh93 was modified to accept :% as equivalent 1270da2e3ebdSchin to % and :# as equivalent to # with ${name op word}. 1271da2e3ebdSchin03-02-14 A bug which could cause a core dump when reading from standard 1272da2e3ebdSchin error when standard error was a pty has been fixed. 1273da2e3ebdSchin03-02-14 The shell arithmetic was modified to use long double on systems 1274da2e3ebdSchin that provide this data type. 1275da2e3ebdSchin03-02-09 A bug in which a function located in the first directory in FPATH 1276da2e3ebdSchin would not be found when the last component of PATH was . and the 1277da2e3ebdSchin current directory was one of the directories in PATH has been fixed. 1278da2e3ebdSchin03-02-07 The trap and kill builtin commands now accept a leading SIG prefix 1279da2e3ebdSchin on the signal names as documented. 1280da2e3ebdSchin03-02-05 A bug in the expansion of ${var/$pattern}, when pattern contained 1281da2e3ebdSchin \[ has been fixed. 1282da2e3ebdSchin03-02-05 A bug in which .sh.match[n], n>0, was not being set for substring 1283da2e3ebdSchin matches with % and %% has been fixed. 1284da2e3ebdSchin03-01-15 A bug in which getopts did not work for numerical arguments specified 1285da2e3ebdSchin as n#var in the getopts string has been fixed. 1286da2e3ebdSchin03-01-09 A bug in which using ${.sh.match} multiple times could lead to 1287da2e3ebdSchin a memory exception has been fixed. 1288da2e3ebdSchin03-01-06 A bug in the expansion of ${var/pattern/$string} in the case that 1289da2e3ebdSchin $string contains \digit has been fixed. 1290da2e3ebdSchin03-01-02 A -P option was added for systems such as Solaris 8 that support 1291da2e3ebdSchin profile shell. 1292da2e3ebdSchin03-01-02 For backward compatibility with ksh88, arithmetic expansion 1293da2e3ebdSchin with ((...)) and let has been modified so that if x is a zero-filled 1294da2e3ebdSchin variable, $x will not be treated as an octal constant. 1295da2e3ebdSchin 1296da2e3ebdSchin02-12-05 --- Release ksh93n+ --- 1297da2e3ebdSchin02-11-30 A bug that can show up in evaluating arithmetic statements that 1298da2e3ebdSchin are in an autoloaded function when the function is autoload from 1299da2e3ebdSchin another function has been fixed. 1300da2e3ebdSchin02-11-30 An optimization bug in which an expansion of the form ${!name.@}, 1301da2e3ebdSchin which occurred inside a for or a while loop, when name is a name 1302da2e3ebdSchin reference, has been fixed. 1303da2e3ebdSchin02-11-18 A bug in which modifying array variables in a subshell could leave 1304da2e3ebdSchin side effects in the parent shell environment has been fixed. 1305da2e3ebdSchin02-11-18 A memory leak when unsetting an associative array has been fixed. 1306da2e3ebdSchin02-11-14 The code to display compound objects was rewritten to make 1307da2e3ebdSchin it easier for runtime extensions to reuse this code. 1308da2e3ebdSchin02-11-14 A change was made to allow runtime builtins to be notified when 1309da2e3ebdSchin a signal is received so that cleanup can be performed. 1310da2e3ebdSchin02-10-31 User applications can now trap the ALRM signal. Previously, 1311da2e3ebdSchin the ALRM signal was used internally and could not be used 1312da2e3ebdSchin by applications. 1313da2e3ebdSchin02-10-31 A bug in which signals received while reading from a coprocess 1314da2e3ebdSchin for which traps were set was not handled correctly has been fixed. 1315da2e3ebdSchin02-10-31 A bug in which a file opened with exec inside a subshell could 1316da2e3ebdSchin be closed before the subshell completed has been fixed. 1317da2e3ebdSchin02-10-21 A bug in which setting PATH or FPATH inside a function might not 1318da2e3ebdSchin take effect has been fixed. 1319da2e3ebdSchin02-10-21 A bug which could cause a core dump when a local SECONDS variable 1320da2e3ebdSchin is defined in a function has been fixed. 1321da2e3ebdSchin02-10-15 A bug in which the associate array name operator ${!array[@]} 1322da2e3ebdSchin could return the same name multiple times has been fixed. 1323da2e3ebdSchin02-10-15 A bug in which the zero'th element of an associative array was 1324da2e3ebdSchin not getting set when an assignment was made without a subscript 1325da2e3ebdSchin specified has been fixed. 1326da2e3ebdSchin 1327da2e3ebdSchin02-09-30 --- Release ksh93n --- 1328da2e3ebdSchin02-09-30 The maximum indexed array size was increased to 16Megs. 1329da2e3ebdSchin02-09-30 A bug which could cause a core dump when changing attributes 1330da2e3ebdSchin of associative array has been fixed. 1331da2e3ebdSchin02-09-30 A bug in which exporting an array variable would not export the 1332da2e3ebdSchin 0-th element has been fixed. 1333da2e3ebdSchin02-09-30 A bug in which an array assignment of the form a=($a ...) would unset 1334da2e3ebdSchin 'a' before the right hand side was evaluated has been fixed. 1335da2e3ebdSchin02-09-27 A bug in which the error message for ${var?message} when var was 1336da2e3ebdSchin null or unset did not contain the variable name var has been fixed. 1337da2e3ebdSchin02-09-27 A bug in which closing file descriptors 0 through 2 could 1338da2e3ebdSchin cause a subsequent here document to fail has been fixed. 1339da2e3ebdSchin02-09-14 A bug in whence which occurs when the specified name contained 1340da2e3ebdSchin a / has been fixed. 1341da2e3ebdSchin02-09-14 A bug in the parser for strings of the form name$((expr))=value 1342da2e3ebdSchin has been fixed. 1343da2e3ebdSchin02-09-14 A for loop optimization bug in which the number of elements in 1344da2e3ebdSchin an array was treated as an invariant has been fixed. 1345da2e3ebdSchin02-09-09 A bug in which redirection or closing of a file descriptor between 1346da2e3ebdSchin 3 and 9 could cause a subsequent here document to fail has been 1347da2e3ebdSchin fixed. 1348da2e3ebdSchin02-09-09 A bug in which a background job was not removed from the job list 1349da2e3ebdSchin when a subshell completed has been fixed, for example (prog&). 1350da2e3ebdSchin02-09-03 A bug in which an assignment of the form name=(integer x=3) 1351da2e3ebdSchin could be interpretted as an array assignment rather than a 1352da2e3ebdSchin compound variable assignment has been fixed. 1353da2e3ebdSchin02-08-19 A command completion bug which occurred on file systems that 1354da2e3ebdSchin are case insensitive has been fixed. 1355da2e3ebdSchin02-08-19 A bug which could lead to an exception on some systems (for 1356da2e3ebdSchin example FREEBSD) which occurred when setting PATH has been fixed. 1357da2e3ebdSchin02-08-11 A bug in arithmetic rounding in which a value input as a decimal 1358da2e3ebdSchin string would output as a rounded version of the string has 1359da2e3ebdSchin been fixed. 1360da2e3ebdSchin02-08-11 A bug in which the last character could be deleted from shell 1361da2e3ebdSchin traces and from whence when called from a multibyte locale 1362da2e3ebdSchin has been fixed. 1363da2e3ebdSchin02-08-01 A bug which could cause a core dump to occur when a shell script 1364da2e3ebdSchin is executed while a coprocess is running that has closed the 1365da2e3ebdSchin output pipe has been fixed. 1366da2e3ebdSchin02-08-01 A bug in which command completion in multibyte mode could 1367da2e3ebdSchin corrupt memory for long command lines has been fixed. 1368da2e3ebdSchin 1369da2e3ebdSchin02-06-17 --- Release ksh93n- --- 1370da2e3ebdSchin02-06-17 A bug in which user defined macros could cause a core dump in 13717c2fbfb3SApril Chin with MULTIBYTE mode has been fixed. 1372da2e3ebdSchin02-06-17 A bug in which printf format specifiers of the form %2$s were causing 1373da2e3ebdSchin a core dump has been fixed. 1374da2e3ebdSchin02-06-17 A bug in which setting stty to noecho mode did not prevent the 1375da2e3ebdSchin echoing of characters by ksh when emacs or viraw mode 1376da2e3ebdSchin was enabled has been fixed. 1377da2e3ebdSchin02-06-17 A bug in which background job completion could cause the sleep 1378da2e3ebdSchin builtin to terminate prematurely has been fixed. 1379da2e3ebdSchin02-06-17 A bug in which the shell could core dump if getopts was called 1380da2e3ebdSchin when the OPTIND variable contained a negative value has been fixed. 1381da2e3ebdSchin02-06-10 The edit mode prompt has been modified to handle escape sequences. 1382da2e3ebdSchin02-06-10 A bug which occurred for interactive shells in which the builtin 1383da2e3ebdSchin cat command was used in command substitution on a file whose 1384da2e3ebdSchin size was larger than PIPE_BUF has been fixed. 1385da2e3ebdSchin02-06-10 A bug in which the trap on ERR was not being processed when 1386da2e3ebdSchin set inside a function has been fixed. 1387da2e3ebdSchin02-06-07 A bug in which function definitions could cause the history count 1388da2e3ebdSchin to be decremented by one (and even become negative) has been fixed. 1389da2e3ebdSchin02-06-05 A bug in read in which share mode could be enabled has been fixed. 1390da2e3ebdSchin02-05-28 A bug which could occur when the last command of a script was 1391da2e3ebdSchin a case statement and the action selected ended in ;& instead of ;; 1392da2e3ebdSchin has been fixed. 1393da2e3ebdSchin02-05-23 A bug with unary + introduced in ksh93k has been fixed. 1394da2e3ebdSchin02-05-07 A bug in substitutions of the form ${var/pattern/string} in which 1395da2e3ebdSchin a backslash was inserted in the replacement string when it contained 1396da2e3ebdSchin a special pattern character has been fixed. 1397da2e3ebdSchin02-05-01 A bug in the emacs edit mode which occurred in versions compiled 1398da2e3ebdSchin for multibyte character sets which occurred when a repeated search 1399da2e3ebdSchin was requested after a long line had been returned for the previous 1400da2e3ebdSchin search has been fixed. 1401da2e3ebdSchin02-04-02 vi and emacs edit modes were modified so that tab completion is 1402da2e3ebdSchin disabled when invoked from the read built-in. 1403da2e3ebdSchin 1404da2e3ebdSchin02-03-26 --- Release ksh93m+ --- 1405da2e3ebdSchin02-03-26 A bug in which \ was not handled correctly when used in file 1406da2e3ebdSchin expansion has been fixed. 1407da2e3ebdSchin02-02-18 A bug in which lines beginning with a # were deleted from here 1408da2e3ebdSchin documents when the here-document delimiter was followed by 1409da2e3ebdSchin a comment has been fixed. 1410da2e3ebdSchin02-12-06 An optimization bug in which ${!x[@]) was treated as invariant in 1411da2e3ebdSchin a for loop has been fixed. 1412da2e3ebdSchin02-02-06 A bug in which the ERR trap is not cleared for a script invoked 1413da2e3ebdSchin by name from within a function has been fixed. 1414da2e3ebdSchin02-01-08 A bug in which a shell script executed from within a subshell 1415da2e3ebdSchin could cause this script to have an invalid pointer leading 1416da2e3ebdSchin to a memory fault has been fixed. 1417da2e3ebdSchin02-01-07 Added here documents of the form <<< word (as per zsh) which 1418da2e3ebdSchin is equivalent to << delim\nword\ndelim. 1419da2e3ebdSchin02-01-07 A bug in which the first word of a compound assignment, 1420da2e3ebdSchin x=(word ...), was treated as a reserved word has been fixed. 1421da2e3ebdSchin02-01-07 A bug in the handling of \ when noglob was enabled and a 1422da2e3ebdSchin substitution of the form ${word op pattern} occurred in the 1423da2e3ebdSchin same word has been fixed. 1424da2e3ebdSchin02-01-07 A compilation option, CMDLIB_BLTIN in the file OPTION, has 1425da2e3ebdSchin been added. When this options is set, all commands implemented 1426da2e3ebdSchin in libcmd become shell builtin commands by default. 1427da2e3ebdSchin02-01-07 A bug in which builtin foo, where foo is already a builtin 1428da2e3ebdSchin would result in the builtin foo getting removed has been fixed. 1429da2e3ebdSchin02-01-07 A bug which the shell executed a command found in the current 1430da2e3ebdSchin directory when PATH have no valid directories has been fixed. 1431da2e3ebdSchin01-11-28 The value of $? was not being set when called with exit. 1432da2e3ebdSchin01-11-28 If the last command was of the form (...) and a trap on EXIT or 1433da2e3ebdSchin ERR was set, and the command inside () modified the trap, then 1434da2e3ebdSchin the original trap wasn't executed. 1435da2e3ebdSchin01-11-26 The value for 0 is now preceded by the base number when 1436da2e3ebdSchin the base was not 10. 1437da2e3ebdSchin01-11-26 The default has compilation mode has been changes so that 1438da2e3ebdSchin viraw mode will always be on. 1439da2e3ebdSchin 1440da2e3ebdSchin01-10-31 --- Release ksh93m --- 1441da2e3ebdSchin01-10-31 A for loop optimizer bug for subshells contained withing for 1442da2e3ebdSchin loops has been fixed. 1443da2e3ebdSchin01-10-16 typeset without arguments no longer outputs variable names 1444da2e3ebdSchin that do not have any attributes that are set. 1445da2e3ebdSchin01-10-16 A bug introduced in ksh93l in which assignments specified with 1446da2e3ebdSchin the exec built-in were not being expanded properly has been 1447da2e3ebdSchin fixed. 1448da2e3ebdSchin01-10-11 An optimization bug in which ${!x) was treated as invariant in 1449da2e3ebdSchin a for loop has been fixed. 1450da2e3ebdSchin01-10-11 Unsigned integer variables in bases other than 10 are printed now 1451da2e3ebdSchin expand in that base with the base prefix. 1452da2e3ebdSchin01-10-10 A number of typos in the self generating man pages for shell 1453da2e3ebdSchin built-ins have been fixed. 1454da2e3ebdSchin01-10-04 The self generated man pages for hist and fc were not working 1455da2e3ebdSchin correctly and have been fixed. 1456da2e3ebdSchin01-10-03 Yet another optimizer bug in which shell patterns were 1457da2e3ebdSchin treated as invariants has been fixed. 1458da2e3ebdSchin01-09-27 Two bugs relating to multibyte history searches and to find 1459da2e3ebdSchin have been fixed. 1460da2e3ebdSchin01-09-27 A bug introduced in ksh93k in which the PATH searching was 1461da2e3ebdSchin not restored after running a command with an assignment list 1462da2e3ebdSchin has been fixed. 1463da2e3ebdSchin01-09-26 A bug in which a zero filled field was treated as octal when 1464da2e3ebdSchin converted to integer has been fixed. 1465da2e3ebdSchin01-09-26 Yet another bug in the optimization of for loops related to 1466da2e3ebdSchin recursive functions with break or continue statements has been fixed. 1467da2e3ebdSchin01-09-25 The exponentiation operator ** was added to the shell arithmetic 1468da2e3ebdSchin evaluation. It has higher precedence than * and is left 1469da2e3ebdSchin associative. 1470da2e3ebdSchin01-09-25 The code was modified to use the ast multibyte macros 1471da2e3ebdSchin and functions for handing multibyte locales. 1472da2e3ebdSchin01-09-25 The expansion ${parameter:offset:length} now handles negative 1473da2e3ebdSchin offsets which cause offsets to be measured from the end. 1474da2e3ebdSchin01-09-25 Some spelling errors in the documentation were corrected. 1475da2e3ebdSchin01-09-24 The /dev/tcp/host/port and /dev/udp/host/port now allow 1476da2e3ebdSchin the ports to be specified by service name. 1477da2e3ebdSchin01-09-24 The change staring with ksh93g in which the the appropriate 1478da2e3ebdSchin library path variable is prepended with a corresponding library 1479da2e3ebdSchin directory has been modified. With the new method, only the 1480da2e3ebdSchin library path defined in the file named .paths in the directory 1481da2e3ebdSchin where the executable is found will be modified. See the 1482da2e3ebdSchin man page for more details. 1483da2e3ebdSchin01-09-23 The .fpath file (see ksh93h) is no longer looked for in each 1484da2e3ebdSchin directory on the path to locate function directories. The 1485da2e3ebdSchin file named .paths is used instead. 1486da2e3ebdSchin01-09-23 A bug in which IFS was not being restored after being changed in 1487da2e3ebdSchin a subshell has been fixed. 1488da2e3ebdSchin01-09-16 With the vi and emacs edit modes, after a list of command 1489da2e3ebdSchin or functions is generated with = or M-= respectively, 1490da2e3ebdSchin any element from the list can be pasted on the command line 1491da2e3ebdSchin by preceding the = or M-= with a numeric parameter specifying 1492da2e3ebdSchin the position on the list. 1493da2e3ebdSchin01-09-16 A bug in ksh93l caused command completion not to find aliases 1494da2e3ebdSchin and functions. Command listing from the edit mode was presented 1495da2e3ebdSchin in reverse order. This has been fixed. 1496da2e3ebdSchin01-09-13 Another bug in the optimization of for loops related to subshells 1497da2e3ebdSchin when traps were set has been fixed. 1498da2e3ebdSchin01-09-07 A change in ksh93l caused brace expansion to stop working 1499da2e3ebdSchin and this has been fixed. 1500da2e3ebdSchin01-09-04 A bug introduced in ksh93k in which an arithmetic statement 1501da2e3ebdSchin within a function that used name references did not follow the 1502da2e3ebdSchin reference has been fixed. 1503da2e3ebdSchin01-09-04 A bug introduced in ksh93l in which export -p did not prefix 1504da2e3ebdSchin each export with the word export has been fixed. 1505da2e3ebdSchin01-08-29 A bug in multibyte input which occurred when a partial multibyte 1506da2e3ebdSchin character was received has been fixed. 1507da2e3ebdSchin01-08-29 A bug introduced in ksh93l which could cause a core dump 1508da2e3ebdSchin when an assignment list containing PATH is specified inside 1509da2e3ebdSchin command substitution has been fixed. 1510da2e3ebdSchin01-08-09 Another bug in the optimization of for loops in ksh93l caused 1511da2e3ebdSchin errors in recursive functions using local variables that 1512da2e3ebdSchin contained for loops has been fixed. 1513da2e3ebdSchin01-07-27 A bug in which IFS would be unset after a command substitution 1514da2e3ebdSchin inside a here document has been fixed. 1515da2e3ebdSchin01-07-26 To conform to the POSIX standard, if you invoked ksh name, 1516da2e3ebdSchin and name does not contain a /, it will first try to run 1517da2e3ebdSchin one in the current directory whether it is executable or not 1518da2e3ebdSchin before doing a path search for an executable script. Earlier 1519da2e3ebdSchin versions first checked for an executable script using the 1520da2e3ebdSchin PATH variable. 1521da2e3ebdSchin01-07-23 A bug in which unset -f invoked in a subshell could unset a 1522da2e3ebdSchin function defined in the parent has been fixed. 1523da2e3ebdSchin01-07-16 A bug in the optimization of for loops in ksh93l caused 1524da2e3ebdSchin name references to be treated as invariants has been fixed. 1525da2e3ebdSchin01-07-09 A bug in which a discipline function applied to a local variable 1526da2e3ebdSchin could cause a shell exception has been fixed. Discipline 1527da2e3ebdSchin functions can only be specified for global variables. 1528da2e3ebdSchin 1529da2e3ebdSchin01-06-18 --- Release ksh93l --- 1530da2e3ebdSchin01-06-18 A bug in assigning integers larger than can be represented as 1531da2e3ebdSchin long integers to floating point variables has been fixed. 1532da2e3ebdSchin01-06-18 A bug in the handling of unsigned integers (typeset -ui) has 1533da2e3ebdSchin been fixed. 1534da2e3ebdSchin01-06-04 The evaluation of the PS1 prompt no longer effects the value 1535da2e3ebdSchin of the $? variable. 1536da2e3ebdSchin01-06-01 A small memory leak from subshells has been fixed. 1537da2e3ebdSchin01-05-22 A bug in which attributes for variables that did not have 1538da2e3ebdSchin values would be lost after a subshell has been fixed. 1539da2e3ebdSchin01-05-22 The %R format has been added to convert a shell pattern into 1540da2e3ebdSchin an extended regular expression. 1541da2e3ebdSchin01-05-22 The escape sequences \e, \cX, \C[.collating-element.], and 1542da2e3ebdSchin \x{hex} have been added to ASCII-C strings and to printf format 1543da2e3ebdSchin strings. 1544da2e3ebdSchin01-05-20 Patterns of the form {n}(pattern) and {m,n}(pattern) are now 1545da2e3ebdSchin recognized. The first form matches exactly n of pattern whereas, 1546da2e3ebdSchin the second form matches from m to n instances of pattern. 1547da2e3ebdSchin01-05-20 The shell allows *-(pattern), +-(pattern), ?-(pattern), 1548da2e3ebdSchin {m,n}-(pattern}, and @-(pattern) to cause the minimal 1549da2e3ebdSchin match of pattern to be selected whenever possible rather 1550da2e3ebdSchin than the maximal (greedy) match. 1551da2e3ebdSchin01-05-20 The character class [:word:] has been added to patterns. 1552da2e3ebdSchin The word class is the union of [:alnum:] and the character _. 1553da2e3ebdSchin01-05-20 Inside (...) pattern groups, the \ character is now treated 1554da2e3ebdSchin specially even when in an enclosing character class. The 1555da2e3ebdSchin sequences, \w, \d, \s are equivalent to the character classes 1556da2e3ebdSchin word, digit, and space respectively. The sequences \W, \D, 1557da2e3ebdSchin and \S are their complement sets. 1558da2e3ebdSchin01-05-20 The shell now recognizes pattern groups of the form 1559da2e3ebdSchin ~(options:pattern) where options or :pattern can be omitted. 1560da2e3ebdSchin Options use the letters + and - to enable and disable options 1561da2e3ebdSchin respectively. The option letters g (greedy), i (ignore case) 1562da2e3ebdSchin are used to cause maximal matching and to cause case 1563da2e3ebdSchin insensitive matching respectively. If :pattern is also 1564da2e3ebdSchin specified, these options are only in effect while this 1565da2e3ebdSchin pattern is being processed. Otherwise, these options remain 1566da2e3ebdSchin in effect until the end of the pattern group that they are contained 1567da2e3ebdSchin in or until another ~(...) is encountered. These pattern groups 1568da2e3ebdSchin are not counted with respect to group numbering. 1569da2e3ebdSchin01-05-14 When edit completion, expansion, or listing occurs in the 1570da2e3ebdSchin middle of a quoted string, the leading quote is ignored when 1571da2e3ebdSchin performing the completion, expansion, or listing. 1572da2e3ebdSchin01-05-14 A small memory leak from subshells has been fixed. 1573da2e3ebdSchin01-05-10 A bug in which open files were not restored after a subshell 1574da2e3ebdSchin that had used exec to replace a file has been fixed. 1575da2e3ebdSchin01-05-10 Redirection to a null file name now generates an error message. 1576da2e3ebdSchin01-05-09 The shell now rejects some invalid parameter substitutions that 1577da2e3ebdSchin were previously processed in undefined ways. 1578da2e3ebdSchin01-05-09 A bug in which the output of select was not flushed before the 1579da2e3ebdSchin read when input did not come from the terminal has been fixed. 1580da2e3ebdSchin01-05-08 A bug in which job ids would not be freed for interactive shells 1581da2e3ebdSchin when subshells ran built-ins in the background has been fixed. 1582da2e3ebdSchin01-05-08 The FPATH variable now requires an explicit . to cause the 1583da2e3ebdSchin current directory to be treated as a function directory. 1584da2e3ebdSchin01-05-08 A bug in read -n when echo mode was disabled has been fixed. 1585da2e3ebdSchin01-05-07 A bug in which function definitions could be listed as part 1586da2e3ebdSchin of the history has been fixed. 1587da2e3ebdSchin01-04-30 This release uses a new and often much faster pattern matcher than 1588da2e3ebdSchin earlier releases. 1589da2e3ebdSchin01-04-30 An optimizer now eliminates invariant parameter expansions from 1590da2e3ebdSchin for while and until loops. 1591da2e3ebdSchin01-04-30 The variable .sh.match is set after each pattern match (# % or /) 1592da2e3ebdSchin in a variable substitution. The variable .sh.match is an 1593da2e3ebdSchin indexed array with element 0 being the complete match. 1594da2e3ebdSchin The array is only valid until the next subsequent pattern 1595da2e3ebdSchin match or until the value of the variable changes which ever 1596da2e3ebdSchin comes first. 1597da2e3ebdSchin01-04-30 A self generating man page has been added to shcomp. Also, 1598da2e3ebdSchin shcomp now stops compiling when it finds an exit or exec 1599da2e3ebdSchin command and copies the remainder so that it can be used 1600da2e3ebdSchin for standard input. 1601da2e3ebdSchin01-04-30 The shcomp command was modified so that it can work in an 1602da2e3ebdSchin EBCIDIC environment and that binary scripts are portable 1603da2e3ebdSchin across environments. 1604da2e3ebdSchin01-04-30 A bug in the handling of a trailing : in PATH has been fixed. 1605da2e3ebdSchin01-04-30 A bug in which the builtin version of a command would get invoked 1606da2e3ebdSchin even though the full pathname for the command was specified 1607da2e3ebdSchin has been fixed. 1608da2e3ebdSchin01-04-30 A bug in which read would loose the last character when 1609da2e3ebdSchin reading the last line of a file that did not contain a new-line 1610da2e3ebdSchin character has been fixed. 1611da2e3ebdSchin01-04-23 A bug on some systems in which in vi mode the end of file 1612da2e3ebdSchin character and end of line character could be swapped has 1613da2e3ebdSchin been fixed. 1614da2e3ebdSchin01-04-23 A bug on some systems in which invoking a shell script that 1615da2e3ebdSchin did not have execute permission could set the exit value to 1616da2e3ebdSchin 127 rather than 126 has been fixed. 1617da2e3ebdSchin01-04-20 A bug in which read -n from a pipe would block if fewer than 1618da2e3ebdSchin n characters was received has been fixed. 1619da2e3ebdSchin01-04-09 A bug in which invalid patterns, for example, ) by itself, 1620da2e3ebdSchin was not treated as a string has been fixed so that if i=')', 1621da2e3ebdSchin then [[ $i == $i ]] is true. 1622da2e3ebdSchin01-04-09 The shell arithmetic now interprets C character constants. 1623da2e3ebdSchin01-04-09 A bug in which a non-zero return from a function defined 1624da2e3ebdSchin with the function reserved word did not trigger the ERR 1625da2e3ebdSchin trap or exit with set -e has been fixed. 1626da2e3ebdSchin01-04-02 A bug on some systems, in which characters above 127 were 1627da2e3ebdSchin not displayed correctly in vi or emacs edit mode has been fixed. 1628da2e3ebdSchin01-04-02 A bug on some systems, introduced in the 'k' point release, in 1629da2e3ebdSchin which the erase character in viraw mode was moving the cursor 1630da2e3ebdSchin to the left without erasing the character has been fixed. 1631da2e3ebdSchin01-04-02 On some systems the wcwith() function was returning a wrong 1632da2e3ebdSchin value for characters and caused characters to be displayed 1633da2e3ebdSchin incorrectly from the shell edit modes. A work around for 1634da2e3ebdSchin this problem has been added. 1635da2e3ebdSchin01-03-26 A bug in which valid scripts could produce syntax errors 1636da2e3ebdSchin when run with locales that considered characters such as "'" 1637da2e3ebdSchin to be space characters has been fixed. 1638da2e3ebdSchin01-03-20 A bug in which an syntax error in an arithmetic expression 1639da2e3ebdSchin entered interactively could cause the shell to go into 1640da2e3ebdSchin an infinite loop outputting the error message has been fixed. 1641da2e3ebdSchin01-03-10 ksh93 accepts -l as a synonym for -L in test on systems for 1642da2e3ebdSchin which /bin/test -l tests for symbolic links. 1643da2e3ebdSchin01-03-10 A bug in parsing scripts in which { and } are used in place of 1644da2e3ebdSchin in and esac in case statements embedded in compound commands 1645da2e3ebdSchin has been fixed. Use of { and } for in and esac is obsolete. 1646da2e3ebdSchin01-03-06 A bug in which an argument of the form foo=bar was not 1647da2e3ebdSchin being passed correctly to a traced function whose name 1648da2e3ebdSchin was foo has been fixed. 1649da2e3ebdSchin01-03-02 Using $(trap -p name) did not print the name of the current 1650da2e3ebdSchin trap setting for trap name. 1651da2e3ebdSchin01-02-26 Exported floating point variables gave incorrect results 1652da2e3ebdSchin when passing them to ksh88. This has been fixed. 1653da2e3ebdSchin01-02-25 A race condition in which a coprocess which completed too quickly 1654da2e3ebdSchin would not allow subsequent coprocesses to start has been fixed. 1655da2e3ebdSchin01-02-25 The 'g' format specifier is now handled by printf. It had 1656da2e3ebdSchin inadvertently been omitted. 1657da2e3ebdSchin01-02-20 The + was not being displayed during an execution trace 1658da2e3ebdSchin with the += assignment operator. 1659da2e3ebdSchin01-02-19 The error message which occurs when the interpreter name 1660da2e3ebdSchin defined on the #! line does not exist is more informative. 1661da2e3ebdSchin01-02-19 A bug in which $0 would not be set correctly when a 1662da2e3ebdSchin script with #! was invoked by full pathname from the 1663da2e3ebdSchin directory of the script has been fixed. 1664da2e3ebdSchin01-02-19 A shell script did not always pick up tty mode changes 1665da2e3ebdSchin made by external commands such as stty which could 1666da2e3ebdSchin effect the behavior of read. 1667da2e3ebdSchin01-02-19 The -u, -g, and -k unary tests did not give the correct 1668da2e3ebdSchin results when used with negation and this has been fixed. 1669da2e3ebdSchin 1670da2e3ebdSchin01-02-05 --- Release ksh93k+ --- 1671da2e3ebdSchin01-02-05 The sequence \<newline> inside $'...' was not incrementing 1672da2e3ebdSchin the line count and this has been fixed. 1673da2e3ebdSchin01-02-05 Modified expansion of "${@-}" so that if no arguments are set 1674da2e3ebdSchin it results in null string rather than nothing. 1675da2e3ebdSchin01-02-02 memory leak problem with local variables in functions fixed. 1676da2e3ebdSchin01-01-25 allow arithmetic expressions with float%int and treat them 1677da2e3ebdSchin as ((int)float)%int rather than as an error. 1678da2e3ebdSchin01-01-19 read -n1 was not working and has been fixed. 1679da2e3ebdSchin01-01-17 ksh now handles the case in which a here document in command 1680da2e3ebdSchin substitution $() is terminated by the trailing ). Previously, 1681da2e3ebdSchin a new-line was needed at the end of the delimiter word. 1682da2e3ebdSchin01-01-02 A bug in which a KEYBD trap would cause a multi-line token 1683da2e3ebdSchin to be processed incorrectly has been fixed. 1684da2e3ebdSchin00-12-10 Arithmetic integer constants can now have L and U suffices. 1685da2e3ebdSchin00-12-10 A bug in the processing of arithmetic expressions with compound 1686da2e3ebdSchin variables when the -n option is on has been fixed. 1687da2e3ebdSchin00-12-08 A bug in M-f and M-b from emacs mode has been fixed. This 1688da2e3ebdSchin bug only occurs when ksh93 is compiled without MULTIBYTE enabled. 1689da2e3ebdSchin00-11-29 A bug in which jobs -p would yield 0 for background 1690da2e3ebdSchin jobs run in a script has been fixed. 1691da2e3ebdSchin00-11-21 A bug in integer arrays in which the number of elements is 1692da2e3ebdSchin incorrect when the ++ operator is applied to a non-existing 1693da2e3ebdSchin element has been fixed. For example, integer x; ((x[3]++)). 1694da2e3ebdSchin00-11-20 A timing bug in which the shell could reset the terminal 1695da2e3ebdSchin group to the wrong value in the case that the a new process 1696da2e3ebdSchin changes the terminal group during startup has been fixed. 1697da2e3ebdSchin 1698da2e3ebdSchin00-10-27 --- Release ksh93k --- 1699da2e3ebdSchin00-10-27 Using tab for completion now works only when applied 1700da2e3ebdSchin after a non-blank character at the end of the current line. 1701da2e3ebdSchin In other case a tab is inserted. 1702da2e3ebdSchin00-10-27 A bug in the emacs edit mode for ^X^E has been fixed. 1703da2e3ebdSchin The ^X^E sequence is supposed to invoke the full editor 1704da2e3ebdSchin on the current command. 1705da2e3ebdSchin00-10-18 A bug in which expansions of the form ${var//pattern/string} 1706da2e3ebdSchin did not work correctly when pattern was '/' or "/" has 1707da2e3ebdSchin been fixed. 1708da2e3ebdSchin00-10-18 The output format for indexed arrays in compound variables 1709da2e3ebdSchin has been modified so that it can be used as input. 1710da2e3ebdSchin00-10-18 Assignments with name references (typeset -n) will now 1711da2e3ebdSchin implicitly unreference an existing name reference. 1712da2e3ebdSchin00-10-17 A bug the += append operator when a single array element 1713da2e3ebdSchin is appended to a variable that is not an array has been fixed. 1714da2e3ebdSchin00-10-16 A bug in which the SIGCONT signal was being sent to 1715da2e3ebdSchin each process will kill -0 or kill -n 0 has been fixed. 1716da2e3ebdSchin00-10-12 The arithmetic evaluation portion has been rewritten to 1717da2e3ebdSchin perform a number of optimizations. 1718da2e3ebdSchin00-10-10 A bug in which name prefix matching ${!name.*} was not 1719da2e3ebdSchin checking name to see if it was a name reference has been fixed. 1720da2e3ebdSchin00-09-26 A bug in the multibyte version in which the width of for 1721da2e3ebdSchin non-printing characters was not correct has been fixed. 1722da2e3ebdSchin00-09-12 Made changes to get multibyte editing work on UWIN for windows 1723da2e3ebdSchin00-09-12 A bug in which multibyte characters would be displayed incorrectly 1724da2e3ebdSchin has been fixed. 1725da2e3ebdSchin00-08-08 Removed build dependency on iswprint() and iswalph(). 1726da2e3ebdSchin00-07-20 In some cases the read builtin would read more than a single 1727da2e3ebdSchin line from a pipe on standard input and therefore leave the seek 1728da2e3ebdSchin position in the wrong location. 1729da2e3ebdSchin00-07-05 If the directory / is on the path, a / will not be inserted 1730da2e3ebdSchin between the directory and the file name during path searching 1731da2e3ebdSchin to avoid searching // for systems that treat this specially. 1732da2e3ebdSchin00-06-26 A bug in which on rare occasions wait could return before all 1733da2e3ebdSchin jobs have completed has been fixed. 1734da2e3ebdSchin00-06-21 A bug in which backspace did not work correctly during the 1735da2e3ebdSchin R replace directive in vi-mode has been fixed. 1736da2e3ebdSchin00-06-12 Added variable name completion/expansion/listing to the set of 1737da2e3ebdSchin completions. Variable name completions begin with $ or "$ followed 1738da2e3ebdSchin by a letter. 1739da2e3ebdSchin00-05-09 --- Release ksh93j --- 1740da2e3ebdSchin00-05-09 Modified command substitution to avoid using /tmp files when 1741da2e3ebdSchin run on read-only file systems. 1742da2e3ebdSchin00-04-17 Modified printf to handle '%..Xc' and '%..Xs' options where X 1743da2e3ebdSchin is not an alpha character. Previous versions core dumped with this. 1744da2e3ebdSchin00-04-10 Changes to multibyte editing code were made to use standard 1745da2e3ebdSchin ISO C functions rather than methods devised before the standard. 1746da2e3ebdSchin00-04-09 Add %H options to printf to output strings with <"'&\t> properly 1747da2e3ebdSchin converted for use in HTML and XML documents. 1748da2e3ebdSchin00-04-07 Modified getopts builtin to handle \f...\f in usage string 1749da2e3ebdSchin by invoking specified function. 1750da2e3ebdSchin00-04-04 Added self generating man pages for bg, fc, fg, disown, jobs, 1751da2e3ebdSchin hist, let, ., and ulimit. 1752da2e3ebdSchin00-03-30 The append operator += has been added and can be used 1753da2e3ebdSchin for all assignments, strings, arrays, and compound variables. 1754da2e3ebdSchin00-03-30 Code was modified in several places to support automatic 1755da2e3ebdSchin generation of C locale dictionaries. 1756da2e3ebdSchin00-03-28 A bug in which the set and trap commands invoked with --name 1757da2e3ebdSchin type arguments would terminate the invoking script has 1758da2e3ebdSchin been fixed. 1759da2e3ebdSchin00-03-27 A bug in which the library path variable was not updated 1760da2e3ebdSchin correctly on some systems as described in the 'g' point 1761da2e3ebdSchin release has been fixed. 1762da2e3ebdSchin00-03-07 printf now returns a non-zero exit status when one of 1763da2e3ebdSchin its arguments cannot be converted to the given type. 1764da2e3ebdSchin00-03-05 The return value and error message for a command that 1765da2e3ebdSchin was found on the path but was not executable was set 1766da2e3ebdSchin incorrectly. 1767da2e3ebdSchin00-03-05 A prototype for ioctl() was removed from the vi edit mode. 1768da2e3ebdSchin 1769da2e3ebdSchin00-01-28 --- Release ksh93i --- 1770da2e3ebdSchin00-01-28 Most of the built-in commands and ksh itself are now 1771da2e3ebdSchin self documenting. Running command --man will produce 1772da2e3ebdSchin screen output. Running command --html produces the 1773da2e3ebdSchin man page in html format. 1774da2e3ebdSchin00-01-28 The getopts builtin can process command description 1775da2e3ebdSchin strings to produce man pages. 1776da2e3ebdSchin00-01-28 A bug in which a script could terminate when getopts 1777da2e3ebdSchin encountered an error when invoked inside a function 1778da2e3ebdSchin has been fixed. 1779da2e3ebdSchin00-01-28 When a symbolic link was specified as the name of 1780da2e3ebdSchin the script to invoke by name, the value of $0 was 1781da2e3ebdSchin set to the real file name rather than the link name 1782da2e3ebdSchin in some cases and this has been fixed. 1783da2e3ebdSchin00-01-28 A bug in which the precision given as an argument 1784da2e3ebdSchin to printf was not working has been fixed. 1785da2e3ebdSchin 1786da2e3ebdSchin99-03-31 --- Release ksh93h --- 1787da2e3ebdSchin99-03-31 The PATH search algorithm has been modified to look 1788da2e3ebdSchin for a file named .fpath in each bin directory and if 1789da2e3ebdSchin found, to search for functions in this directory if 1790da2e3ebdSchin it cannot find the command in that directory. 1791da2e3ebdSchin99-03-31 When performing pathname expansion, the shell checks 1792da2e3ebdSchin to see whether each directory it reads is case sensitive 1793da2e3ebdSchin or not, and performs the matching accordingly. 1794da2e3ebdSchin99-03-31 The %T format for printing formatted date/time. 1795da2e3ebdSchin99-03-31 The emacs and vi modes now handle arrow keys when 1796da2e3ebdSchin they use standard ANSI escape sequences. 1797da2e3ebdSchin99-03-31 The TAB key can be used for completion in emacs and viraw mode. 1798da2e3ebdSchin99-03-31 A bug in setting .sh.editchar during the KEYBD trap 1799da2e3ebdSchin for the MULTIBYTE option was fixed in release ksh93h. 1800da2e3ebdSchin99-03-31 A bug in shcomp for compilation of unary operators with [[...]] 1801da2e3ebdSchin has been fixed. 1802da2e3ebdSchin99-03-31 A bug in which the value of $? was changed when executing 1803da2e3ebdSchin a keyboard trap has been fixed. 1804da2e3ebdSchin99-03-31 The handling of SIGCHLD has been changed so that the 1805da2e3ebdSchin trap is not triggered while executing trap commands 1806da2e3ebdSchin to avoid recursive trap calls. 1807da2e3ebdSchin99-03-31 A bug in which a local variable in a function declared readonly 1808da2e3ebdSchin would generated an error when the function went out of 1809da2e3ebdSchin scope has been fixed. 1810da2e3ebdSchin99-03-31 A bug in which \<new_line> entered from the keyboard 1811da2e3ebdSchin with the KEYBD trap enabled has been fixed. 1812da2e3ebdSchin99-03-31 The error message for a misplaced ((, for example print ((3), 1813da2e3ebdSchin was often garbled and has been fixed. 1814da2e3ebdSchin99-03-31 A bug in the KEYBD trap in which escape sequences of the form 1815da2e3ebdSchin <ESC>[#~ were not being handled as a unit has been fixed. 1816da2e3ebdSchin99-03-31 A bug in which ksh would consider expressions like [[ (a) ]] 1817da2e3ebdSchin as syntax errors has been fixed. 1818da2e3ebdSchin99-03-31 A function defined as foo() without a function body 1819da2e3ebdSchin was not reported as a syntax error. 1820da2e3ebdSchin99-03-31 A bug in which ksh could run out of file descriptors when 1821da2e3ebdSchin a stream was repeatedly opened with exec and read from 1822da2e3ebdSchin has been fixed. 1823da2e3ebdSchin 1824da2e3ebdSchin98-04-30 --- Release ksh93g --- 1825da2e3ebdSchin98-04-30 The pipefail option has been added. With pipefail 1826da2e3ebdSchin enabled, a pipeline will not complete until all 1827da2e3ebdSchin commands are complete, and the return value will 1828da2e3ebdSchin be that of the last command to fail, or zero if 1829da2e3ebdSchin all complete successfully. 1830da2e3ebdSchin98-04-30 The name-value pair library uses the cdt library rather 1831da2e3ebdSchin than the hash library. This change should be transparent 1832da2e3ebdSchin to applications. 1833da2e3ebdSchin98-04-30 On the U/WIN version for Window 95 and Windows NT, 1834da2e3ebdSchin when a directory beginning with a letter followed by 1835da2e3ebdSchin a colon is given to cd, it is assumed to be an absolute 1836da2e3ebdSchin directory 1837da2e3ebdSchin98-04-30 When an executable is found on a given path, 1838da2e3ebdSchin the appropriate library path variable is prepended 1839da2e3ebdSchin with a corresponding library directory. 1840da2e3ebdSchin98-04-30 A bug in which a name reference could be created to 1841da2e3ebdSchin itself and later cause the shell to get into an infinite 1842da2e3ebdSchin loop has been fixed. 1843da2e3ebdSchin98-04-30 A bug in shcomp relating to compound variables was fixed. 1844da2e3ebdSchin98-04-30 A bug introduced in ksh93e in which leading 0's in -Z 1845da2e3ebdSchin fields caused the value to be treated as octal for arithmetic 1846da2e3ebdSchin evaluation has been fixed. 1847da2e3ebdSchin98-04-30 A bug when a name reference with a shorter name than 1848da2e3ebdSchin the variable it references was the subject of a compound 1849da2e3ebdSchin assignment has been fixed. 1850da2e3ebdSchin98-04-30 A bug which in which assignment to array variables in 1851da2e3ebdSchin a subshell could effect the parent shell has been 1852da2e3ebdSchin fixed. 1853da2e3ebdSchin98-04-30 read name?prompt was putting a 0 byte at the end of the 1854da2e3ebdSchin prompt on standard error. 1855da2e3ebdSchin98-04-30 A bug in [[ string1 > string2 ]] when ksh was run with -x 1856da2e3ebdSchin has been fixed. 1857da2e3ebdSchin98-04-30 A bug in which the escape character was not processed 1858da2e3ebdSchin correctly inside {...} when brace expansion is enabled 1859da2e3ebdSchin has been fixed, for example {\$foo}. 1860da2e3ebdSchin98-04-30 A bug in line continuation in here-documents has been 1861da2e3ebdSchin fixed. 1862da2e3ebdSchin98-04-30 The default base when not specified with typeset -i is 1863da2e3ebdSchin 10 in accordance with the documentation. Previously, 1864da2e3ebdSchin the value was determined by the first assignment. 1865da2e3ebdSchin98-04-30 A parsing bug in which a # preceded alphanumeric 1866da2e3ebdSchin characters inside a command substitution caused 1867da2e3ebdSchin a syntax error to be reported has been fixed. 1868da2e3ebdSchin98-04-30 A bug in which a decimal constant represented as 10#ddd 1869da2e3ebdSchin where ddd was more than five digits generated a syntax 1870da2e3ebdSchin error has been fixed. 1871da2e3ebdSchin98-04-30 A bug in here document expansion in which ${...} expansions 1872da2e3ebdSchin were split across buffer boundaries has been fixed. 1873da2e3ebdSchin98-04-30 The sh_fun() function now takes third argument which 1874da2e3ebdSchin is an argument list for the invoked discipline function 1875da2e3ebdSchin or built-in. 1876da2e3ebdSchin98-04-30 A callback function can be installed which will give 1877da2e3ebdSchin notification of file duplications and file closes. 1878da2e3ebdSchin98-04-30 When ksh is compiled on systems that do not use fork() 1879da2e3ebdSchin current option settings where not propagated to sub-shells. 1880da2e3ebdSchin 1881da2e3ebdSchin97-06-30 --- Release ksh93f --- 1882da2e3ebdSchin97-06-30 Hostnames in addition to host addresses can be given in 1883da2e3ebdSchin /dev/tcp/host/port virtual file names. 1884da2e3ebdSchin97-06-30 File name completion and expansion now quotes special 1885da2e3ebdSchin characters in file names from both emacs and vi edit modes. 1886da2e3ebdSchin97-06-30 An empty for list behave like a for list with null expansions. 1887da2e3ebdSchin It produces a warning message with sh -n. 1888da2e3ebdSchin97-06-30 The code has been modified to work with EBCDIC as well as ASCII. 1889da2e3ebdSchin97-06-30 A bug which would cause the secondary prompt to be 1890da2e3ebdSchin displayed when a user entered a literal carriage 1891da2e3ebdSchin return has been fixed. 1892da2e3ebdSchin97-06-30 A bug which caused ksh read -s name to core dump was 1893da2e3ebdSchin fixed. 1894da2e3ebdSchin97-06-30 A bug with the expansion of \} and \] inside double 1895da2e3ebdSchin quoted strings that also contained variable expansions 1896da2e3ebdSchin has been fixed 1897da2e3ebdSchin97-06-30 Changes in the ksh93e point release caused autoload 1898da2e3ebdSchin functions invoked from within command substitution 1899da2e3ebdSchin to fail. This has been fixed. 1900da2e3ebdSchin97-06-30 A bug in the processing of here-documents that could 1901da2e3ebdSchin prevent variable substitution to occur after $(...) command 1902da2e3ebdSchin substitution for long here documents has been fixed. 1903da2e3ebdSchin97-06-30 A bug caused by a race condition that could cause SIGTERM 1904da2e3ebdSchin to be ignored by a child process has been fixed. 1905da2e3ebdSchin97-06-30 A bug which prevented the startup of a coprocess immediately 1906da2e3ebdSchin after killing a running coprocess has been fixed. 1907da2e3ebdSchin97-06-30 ulimit foobar, where foobar is not an arithmetic 1908da2e3ebdSchin expression, now gives an error message as it did with ksh88 1909da2e3ebdSchin instead of setting the file size limit to 0. 1910da2e3ebdSchin97-06-30 A bug which could cause an interactive shell to terminate when 1911da2e3ebdSchin the last process of a pipeline was a POSIX function was fixed. 1912da2e3ebdSchin97-06-30 A bug which could cause command substitution of a shell script 1913da2e3ebdSchin to core dump has been fixed. 1914da2e3ebdSchin97-06-30 A security hole was fixed in suid_exec. 1915da2e3ebdSchin97-06-30 Arithmetic functions such as pow() that take more than 1916da2e3ebdSchin one argument, did not work if arguments other than the 1917da2e3ebdSchin first contained parenthesized sub-expression. 1918da2e3ebdSchin97-06-30 The error message from a script containing an incomplete 1919da2e3ebdSchin arithmetic expression has been corrected. 1920da2e3ebdSchin97-06-30 A bug which caused a core dump on some machines when 1921da2e3ebdSchin the value of a name reference contained a positional 1922da2e3ebdSchin parameter and the name reference was not defined inside 1923da2e3ebdSchin a function has been fixed. 1924da2e3ebdSchin97-06-30 Arithmetic expressions now correctly handle hexadecimal 1925da2e3ebdSchin constants. 1926da2e3ebdSchin97-06-30 A bug in which integer variables could be expanded 1927da2e3ebdSchin with a leading 10# when declared with typeset -i 1928da2e3ebdSchin multiple times has been corrected. 1929da2e3ebdSchin97-06-30 A bug in which IFS wasn't correctly restored when 1930da2e3ebdSchin set within command substitution has been fixed. 1931da2e3ebdSchin97-06-30 The _ character is now considered as part of a word 1932da2e3ebdSchin with the M-f and M-b emacs directives as it was in ksh88. 1933da2e3ebdSchin97-06-30 A bug in brace pattern expansions that caused expressions 1934da2e3ebdSchin such as {foo\,bar,bam} to expand incorrectly have been fixed. 1935da2e3ebdSchin 1936da2e3ebdSchin 1937da2e3ebdSchin96-07-31 --- Release ksh93e --- 1938da2e3ebdSchin96-07-31 The math functions, atan2, hypot, fmod, and pow were added. 1939da2e3ebdSchin96-07-31 When a shared library is loaded, if the function lib_init() 1940da2e3ebdSchin is defined in the library, it is invoked the first time that 1941da2e3ebdSchin the library is loaded with builtin -f library. 1942da2e3ebdSchin96-07-31 The k-shell information abstraction database option, KIA, 1943da2e3ebdSchin has been revamped. 1944da2e3ebdSchin96-07-31 Empty command substitutions of the form $() now work. 1945da2e3ebdSchin whence -v foo now gives the correct result after calling 1946da2e3ebdSchin builtin -d foo. 1947da2e3ebdSchin96-07-31 A bug in right to left arithmetic assignment for which 1948da2e3ebdSchin the arithmetic expression (( y = x = 1.5 )) did not 1949da2e3ebdSchin yield 1 for y when x was declared typeset -i was fixed. 1950da2e3ebdSchin96-07-31 printf has been fixed to handle format containing \0 1951da2e3ebdSchin and/or \0145 correctly. In addition, characters following 1952da2e3ebdSchin %b in the format string are no longer displayed when 1953da2e3ebdSchin the operand contains \c. 1954da2e3ebdSchin96-07-31 A bug in printf that could cause the %E format to 1955da2e3ebdSchin produce unnormalized results has been fixed. 1956da2e3ebdSchin96-07-31 A bug which causes some arithmetic expressions to be 1957da2e3ebdSchin incorrectly evaluated as integer expressions rather 1958da2e3ebdSchin that floating point has been fixed. 1959da2e3ebdSchin96-07-31 Functions defined inside a subshell no longer remain 1960da2e3ebdSchin defined when the subshell completes. 1961da2e3ebdSchin96-07-31 The error message from sh -c ';echo foo' has been 1962da2e3ebdSchin corrected. 1963da2e3ebdSchin96-07-31 The format for umask -S has been changed to agree 1964da2e3ebdSchin with the specification in the POSIX standard. 1965da2e3ebdSchin96-07-31 A bug that caused side effects in subscript evaluation 1966da2e3ebdSchin when tracing was enabled for subscripts using ++ or -- 1967da2e3ebdSchin has been fixed. 1968da2e3ebdSchin96-07-31 To conform to the Posix standard getopts has been changed 1969da2e3ebdSchin so that the option char is set to ? when it returns with 1970da2e3ebdSchin a non-zero exit status. 1971da2e3ebdSchin96-07-31 The handling of \} inside ${name...} has been fixed so 1972da2e3ebdSchin that the \ quotes the }. 1973da2e3ebdSchin96-07-31 A bug that caused the read builtin to resume execution 1974da2e3ebdSchin after processing a trap has been fixed. 1975da2e3ebdSchin96-07-31 [[ -s file ]] has been fixed so that if file is open 1976da2e3ebdSchin by ksh, it is flushed first. 1977da2e3ebdSchin96-07-31 In some cases attributes and sizes for non exported 1978da2e3ebdSchin variables weren't being reset before running a script. 1979da2e3ebdSchin96-07-31 The value of TMOUT was affected by changes make to 1980da2e3ebdSchin it in a subshell. 1981da2e3ebdSchin96-07-31 The jobs command did not reflect changes make by 1982da2e3ebdSchin sending the CONT signal to a command. 1983da2e3ebdSchin96-07-31 The error message for ksh -o unknown was incorrect. 1984da2e3ebdSchin96-07-31 Functions invoked as name=value name, did not use 1985da2e3ebdSchin values from the calling scope when evaluating value. 1986da2e3ebdSchin96-07-31 A bug in which the shell would reexecute previously 1987da2e3ebdSchin executed code when a shell script or coprocess was 1988da2e3ebdSchin run in the background has been fixed. 1989da2e3ebdSchin96-07-31 A bug in which an empty here-document would leave 1990da2e3ebdSchin a file descriptor open has been fixed. 1991da2e3ebdSchin96-07-31 A bug in which $(set -A array ...) would leave a 1992da2e3ebdSchin side effect has been fixed. 1993da2e3ebdSchin96-07-31 A discipline function for a global variable defined 1994da2e3ebdSchin within a function defined with the function keyword, 1995da2e3ebdSchin incorrectly created a local variable of the same name 1996da2e3ebdSchin and applied the discipline to it. 1997da2e3ebdSchin 1998da2e3ebdSchin95-08-28 --- Release ksh93d --- 1999da2e3ebdSchin95-08-28 The \ character was not handled correctly in replacement 2000da2e3ebdSchin patterns with ${x/pattern/replace}. 2001da2e3ebdSchin95-08-28 A bug with read in which the line did not end with 2002da2e3ebdSchin a new-line has been fixed. 2003da2e3ebdSchin95-08-28 A bug in file name generation which sometimes 2004da2e3ebdSchin appended a . for filenames that ended in / has 2005da2e3ebdSchin been fixed. 2006da2e3ebdSchin95-08-28 If a process is waited for after a status has 2007da2e3ebdSchin been returned by a previous wait, wait now 2008da2e3ebdSchin returns 127. 2009da2e3ebdSchin95-08-28 A bug with hist (fc) -e which prevented a command 2010da2e3ebdSchin to re-executed after it had been edited has been fixed. 2011da2e3ebdSchin95-08-28 A bug which prevented quoting from removing the meaning 2012da2e3ebdSchin of unary test operators has been fixed. 2013da2e3ebdSchin95-08-28 A bug with typeahead and KEYBOARD traps with the 2014da2e3ebdSchin MULTIBYTE option set has been fixed. 2015da2e3ebdSchin95-08-28 Builtin functions can take a third argument which is 2016da2e3ebdSchin a void*. 2017da2e3ebdSchin95-08-28 The nv_scan() function can restrict the scope of a walk 2018da2e3ebdSchin to the top scope. 2019da2e3ebdSchin 2020da2e3ebdSchin95-04-31 --- Release ksh93c --- 2021da2e3ebdSchin95-04-31 The expansion of "$@" was incorrect when $1 was the null 2022da2e3ebdSchin string. 2023da2e3ebdSchin95-04-31 A bug which could incorrectly report a syntax error in 2024da2e3ebdSchin a backquoted expression when a $ was preceded by \\ 2025da2e3ebdSchin has been fixed. 2026da2e3ebdSchin95-04-31 A bug which prevented the shell from exiting after 2027da2e3ebdSchin reporting an error when failing to open a script 2028da2e3ebdSchin has been fixed. 2029da2e3ebdSchin95-04-31 A bug that could lead to memory corruption when a 2030da2e3ebdSchin large here document that required parameter or command 2031da2e3ebdSchin substitution was expanded has been fixed. 2032da2e3ebdSchin95-04-31 A bug that could cause a core dump on some systems 2033da2e3ebdSchin after ksh detected an error when reading a function 2034da2e3ebdSchin has been fixed. 2035da2e3ebdSchin95-04-31 A bug which could cause a coprocess to hang when 2036da2e3ebdSchin reading from a process that has terminated has been fixed. 2037da2e3ebdSchin95-04-31 A bug which caused a script to terminate when set -e 2038da2e3ebdSchin was on and the first command of and && or || list 2039da2e3ebdSchin failed has been fixed. 2040da2e3ebdSchin95-04-31 A bug with here documents inside $(...) when the delimiter 2041da2e3ebdSchin word is an identifier has been fixed. 2042da2e3ebdSchin95-04-31 A bug which caused $0 to display the wrong value when 2043da2e3ebdSchin a script was invoked as an argument to the . command 2044da2e3ebdSchin and the eval command has been fixed. 2045da2e3ebdSchin95-04-31 A bug that could cause the built-in sleep to hang 2046da2e3ebdSchin has been fixed. 2047da2e3ebdSchin95-04-31 A bug introduces in 12/28/93b which caused the backslash 2048da2e3ebdSchin to be removed when it was followed by digit inside double 2049da2e3ebdSchin quotes in some instances has been fixed. 2050da2e3ebdSchin95-04-31 A bug which could cause a core dump if ksh was invoked with 2051da2e3ebdSchin standard input closed has been fixed. 2052da2e3ebdSchin95-04-31 A bug which could cause a core dump if typeset -A was 2053da2e3ebdSchin specified for an existing variable has been fixed. 2054da2e3ebdSchin95-04-31 Variables that were unset but had attributes such as readonly 2055da2e3ebdSchin and export were not listed with readonly, export and typeset. 2056da2e3ebdSchin95-04-31 Several problems with signals have been fixed. 2057da2e3ebdSchin95-04-31 A bug which prevented ulimit -t from working has been fixed. 2058da2e3ebdSchin Also, a bug in which failed ulimits could cause a core dump 2059da2e3ebdSchin has also been fixed. 2060da2e3ebdSchin95-04-31 A bug in expansion of the form ${name/#pattern/string} and 2061da2e3ebdSchin ${name/%pattern/string} has been fixed. 2062da2e3ebdSchin95-04-31 A bug which caused read -r on a line that contained only 2063da2e3ebdSchin blanks to get a non-null value has been fixed. 2064da2e3ebdSchin95-04-31 A bug introduced in the 'a' point release in which 2065da2e3ebdSchin ${x='\\'} expanded to \ when x was unset has been fixed. 2066da2e3ebdSchin95-04-31 A bug which prevented a trap on EXIT from being executed 2067da2e3ebdSchin when the last command in a script was a function invocation 2068da2e3ebdSchin has been fixed. 2069da2e3ebdSchin95-04-31 A bug which caused an interactive shell ignore input when 2070da2e3ebdSchin standard error was redirected to a file with exec, 2071da2e3ebdSchin and then restored with exec 2>&1 has been fixed. 2072da2e3ebdSchin95-04-31 An interactive shell turns on monitor mode even when 2073da2e3ebdSchin standard error has been redirected to a file. 2074da2e3ebdSchin95-04-31 A bug which could cause standard input to be incorrectly 2075da2e3ebdSchin positioned for the last command of a script has been fixed. 2076da2e3ebdSchin95-04-31 A bug in the edit modes which allowed walking back in 2077da2e3ebdSchin the history file for more than HISTSIZE commands has 20787c2fbfb3SApril Chin been fixed. 2079da2e3ebdSchin95-04-31 A bug which could cause a core dump if variable TMPDIR was 2080da2e3ebdSchin changed between two command substitutions has been fixed. 2081da2e3ebdSchin95-04-31. A bug which prevented a trap on EXIT from being cleared 2082da2e3ebdSchin has been fixed. 2083da2e3ebdSchin95-04-31 A bug fixed for the v directive in vi MULTIBYTE has been 2084da2e3ebdSchin fixed. 2085da2e3ebdSchin95-04-31 Code to for IFS handling of multibyte characters has 2086da2e3ebdSchin been added. 2087da2e3ebdSchin95-04-31 The displaying of multibyte strings in export, readonly, 2088da2e3ebdSchin typeset, and execution traces has been fixed. 2089da2e3ebdSchin95-04-31 Variables inside functions are now statically scoped. 2090da2e3ebdSchin The previous behavior was never documented. 2091da2e3ebdSchin95-04-31 Variables inside functions are now statically scoped. 2092da2e3ebdSchin The previous behavior was never documented. 2093da2e3ebdSchin95-04-31 A few changes have been made to the name-value library 2094da2e3ebdSchin that affect built-ins that use disciplines. The 2095da2e3ebdSchin changes allow disciplines to be shared by variables 2096da2e3ebdSchin and should make it possible to add new disciplines 2097da2e3ebdSchin without recompilation. 2098da2e3ebdSchin95-04-31 The name-value library interface has undergone significant 2099da2e3ebdSchin change for this revision. See the new nval.3 man page. 2100da2e3ebdSchin 2101da2e3ebdSchin94-12-31 --- Release ksh93b --- 2102da2e3ebdSchin94-12-31 Variables inside functions are now statically scoped. 2103da2e3ebdSchin The previous behavior was never documented. 2104da2e3ebdSchin94-12-31 If IFS contains two consecutive identical characters belonging 2105da2e3ebdSchin to the [:space:] class, then this character is treated as 2106da2e3ebdSchin a non-space delimiter so that each instance will delimit 2107da2e3ebdSchin a field. For example, IFS=$'\t\t' will cause two consecutive 2108da2e3ebdSchin tabs to delimit a null field. 2109da2e3ebdSchin94-12-31 The getopts command has a -a name option that specifies a 2110da2e3ebdSchin name that will be used for usage messages. 2111da2e3ebdSchin94-12-31 A bug which caused unset RANDOM to dump core has been 2112da2e3ebdSchin fixed. 2113da2e3ebdSchin94-12-31 A bug which prevented return for terminating a profile 2114da2e3ebdSchin or ENV file has been fixed. 2115da2e3ebdSchin94-12-31 A bug which prevented standard input from being 2116da2e3ebdSchin directed to /dev/null for background jobs when 2117da2e3ebdSchin monitor mode was turned off has been fixed. 2118da2e3ebdSchin94-12-31 Statements of the form typeset -options var[expr]=value 2119da2e3ebdSchin did not perform substitutions on expr as expected. 2120da2e3ebdSchin94-12-31 A bug which prevented the shell from sending a HUP 2121da2e3ebdSchin signal to some background jobs that were not disowned 2122da2e3ebdSchin has been fixed. 2123da2e3ebdSchin94-12-31 A bug which allowed a script to trap signals that are 2124da2e3ebdSchin ignored at the time that the shell was invoked by exec 2125da2e3ebdSchin has been fixed. 2126da2e3ebdSchin94-12-31 A bug which could cause a core dump when a discipline 2127da2e3ebdSchin function was unset within a discipline was fixed. 2128da2e3ebdSchin94-12-31 The typeset builtin now accepts a first argument of 2129da2e3ebdSchin + or - for compatibility with ksh88. 2130da2e3ebdSchin94-12-31 For compatibility with ksh88, the results of expansions 2131da2e3ebdSchin of command arguments will treat the extended character 2132da2e3ebdSchin match characters ()|& as ordinary characters. 2133da2e3ebdSchin94-12-31 A bug which caused read to fail on a file that was 2134da2e3ebdSchin open for read/write with <> when the first operation 2135da2e3ebdSchin was print or printf has been fixed. 2136da2e3ebdSchin94-12-31 When a job is suspended, it is put on the top of 2137da2e3ebdSchin the job list as required by the POSIX standard. 2138da2e3ebdSchin94-12-31 The value of OPTARG when an option that required 2139da2e3ebdSchin an argument but didn't have one was incorrect in the 2140da2e3ebdSchin case the the option string began with a :. 2141da2e3ebdSchin94-12-31 A bug which caused the terminal to get into a bad 2142da2e3ebdSchin state with some KEYBD traps in vi-mode has been fixed. 2143da2e3ebdSchin94-12-31 A bug which caused an invalid trap to cause a script 2144da2e3ebdSchin to terminate, rather than just return an error, has 2145da2e3ebdSchin been fixed. 2146da2e3ebdSchin94-12-31 Backreferencing sub-expressions in patterns and replacement 2147da2e3ebdSchin strings now works. 2148da2e3ebdSchin94-12-31 A bug in chmod which caused the -R option to fail has 2149da2e3ebdSchin been fixed. 2150da2e3ebdSchin94-12-31 More signal names have been added for Solaris 2151da2e3ebdSchin 2152da2e3ebdSchin94-06-30 --- Release ksh93a --- 2153da2e3ebdSchin94-06-30 An expansion bug which causes portions of a word after 2154da2e3ebdSchin a $((...)) expansion that contains a nested $var expansion 2155da2e3ebdSchin to be lost has been fixed. 2156da2e3ebdSchin94-06-30 A bug that caused a core dump when a script that did not 2157da2e3ebdSchin have PWD set and did a cd inside command substitution 2158da2e3ebdSchin has been fixed. 2159da2e3ebdSchin94-06-30 A bug which caused a core dump on some machines when 2160da2e3ebdSchin the LANG variable was assigned to has been fixed. 2161da2e3ebdSchin94-06-30 A bug which incorrectly handled set disciplines that 2162da2e3ebdSchin performed arithmetic evaluation when the discipline 2163da2e3ebdSchin was called from the arithmetic evaluator has been fixed. 2164da2e3ebdSchin94-06-30 A bug caused by an EXIT trap inside a function that 2165da2e3ebdSchin was executed in a subshell was fixed. 2166da2e3ebdSchin94-06-30 If foo is a function, and not a program, then command foo 2167da2e3ebdSchin now reports that foo isn't found rather than invoking foo. 2168da2e3ebdSchin94-06-30 The previous version incorrectly listed -A as an 2169da2e3ebdSchin invocation option. The -A option is only for set. 2170da2e3ebdSchin94-06-30 A bug was fixed which caused ksh to loop when execution trace 2171da2e3ebdSchin was enabled and the PS4 prompt required command substitution. 2172da2e3ebdSchin94-06-30 A bug which could cause the job control switch character 2173da2e3ebdSchin to be disabled when a script that enabled monitor mode 2174da2e3ebdSchin terminated was fixed. 2175da2e3ebdSchin94-06-30 A bug in the macro expansion global replacement operator //, 2176da2e3ebdSchin when the pattern began with a [ or +( has been fixed. 2177da2e3ebdSchin94-06-30 A bug which prevented ~ expansion from occurring when 2178da2e3ebdSchin it was terminated with a colon inside an assignment 2179da2e3ebdSchin has been fixed. 2180da2e3ebdSchin94-06-30 A bug in the dot command which prevented autoload functions 2181da2e3ebdSchin from working has been fixed. 2182da2e3ebdSchin94-06-30 A bug which caused a variable to be unset if the 2183da2e3ebdSchin its value were expanded inside a set discipline has 2184da2e3ebdSchin been fixed. 2185da2e3ebdSchin94-06-30 Whence -a now longer reports that a defined function 2186da2e3ebdSchin is undefined. 2187da2e3ebdSchin94-06-30 A bug on some systems in which $0 would be incorrect 2188da2e3ebdSchin in scripts invoked by name has been fixed. 2189da2e3ebdSchin94-06-30 Here documents with an empty body now work. 2190da2e3ebdSchin94-06-30 A bug which disabled argument passing and resetting 2191da2e3ebdSchin of options for a script invoked by name inside a 2192da2e3ebdSchin function has been fixed. 2193da2e3ebdSchin94-06-30 A bug in which an EXIT trap set the caller of a function 2194da2e3ebdSchin would be executed if a command called inside a function 2195da2e3ebdSchin was not found has been fixed. 2196da2e3ebdSchin94-06-30 A bug which allowed a script to trap signals that are 2197da2e3ebdSchin ignored at the time that the shell was invoked has 2198da2e3ebdSchin been fixed. 2199da2e3ebdSchin94-06-30 A bug which caused 2<&1- when applied to a shell built-in 2200da2e3ebdSchin to leave standard input closed has been fixed. 2201da2e3ebdSchin94-06-30 A bug which caused the shell to incorrectly parse 2202da2e3ebdSchin $() command substitutions with nested case statements 2203da2e3ebdSchin has been fixed. 2204da2e3ebdSchin 2205