1*10898Sroland.mainz@nrubsig.org09-10-12 --- Release ksh93t+ --- 2*10898Sroland.mainz@nrubsig.org09-10-12 A bug in which a function loaded in a subshell could leave side 3*10898Sroland.mainz@nrubsig.org effects in the parent shell has been fixed. 4*10898Sroland.mainz@nrubsig.org09-10-12 A bug in converting a printf %d operand to a number when the operand 5*10898Sroland.mainz@nrubsig.org contains multiple subscripts for the same variable has been fixed. 6*10898Sroland.mainz@nrubsig.org09-10-09 A bug in the handling of the escape character \ in directory prefixes 7*10898Sroland.mainz@nrubsig.org in command completion has been fixed. 8*10898Sroland.mainz@nrubsig.org09-10-09 $PATH processing has been changed to delay dir stat() and .paths 9*10898Sroland.mainz@nrubsig.org lookup until the directory is needed in the path search. 10*10898Sroland.mainz@nrubsig.org09-09-28 Call the ast setlocale() intercept on unset too. 11*10898Sroland.mainz@nrubsig.org09-09-24 A bug in which LANG=foo; LC_ALL=foo; unset LC_ALL; did not revert 12*10898Sroland.mainz@nrubsig.org LC_CTYPE etc. to the LANG value has been fixed. 13*10898Sroland.mainz@nrubsig.org09-09-17 A bug in which unsetting SVLVL could cause a script invoked by 14*10898Sroland.mainz@nrubsig.org name without #! to core dump has been fixed. 15*10898Sroland.mainz@nrubsig.org09-09-16 A bug in which a pipeline in a here-document could hang when the 16*10898Sroland.mainz@nrubsig.org pipefail option was on has been fixed. 17*10898Sroland.mainz@nrubsig.org09-09-09 A bug in the processing of line joining in here documents which 18*10898Sroland.mainz@nrubsig.org occurred when a buffer began with <escape><new-line> has been fixed. 19*10898Sroland.mainz@nrubsig.org09-09-09 A leading ; with commands in a brace group or parenthesis group 20*10898Sroland.mainz@nrubsig.org no longer causes an error. It now is used for the "showme" option. 21*10898Sroland.mainz@nrubsig.org09-09-09 A bug in which a subshell containing a background process could 22*10898Sroland.mainz@nrubsig.org block until the background process completed has been fixed. 23*10898Sroland.mainz@nrubsig.org09-09-04 A bug in handing ${var[sub]}, where var is a nameref has been fixed. 24*10898Sroland.mainz@nrubsig.org09-09-03 A bug which caused an index array to have the wrong number of elements 25*10898Sroland.mainz@nrubsig.org when it was converted from a compound variable by adding an another 26*10898Sroland.mainz@nrubsig.org element has been fixed. 27*10898Sroland.mainz@nrubsig.org09-09-03 Specifying export for a compound variable now generates an error. 28*10898Sroland.mainz@nrubsig.org09-09-02 $"..." localizations strings are no longer recognized inside `...`. 29*10898Sroland.mainz@nrubsig.org09-09-01 A bug in the for loop optimizer in the handling of type static 30*10898Sroland.mainz@nrubsig.org variables has been fixed. 31*10898Sroland.mainz@nrubsig.org09-09-01 An error message is not displayed when * and @ are used as subscripts. 32*10898Sroland.mainz@nrubsig.org09-09-01 Several bugs in the processing for types that included an associative 33*10898Sroland.mainz@nrubsig.org array of another type has been fixed. 34*10898Sroland.mainz@nrubsig.org09-09-01 A bug in the tracing of [[ a < b ]] and [[ a > b ]] has been fixed. 35*10898Sroland.mainz@nrubsig.org09-08-26 The .sh.file variable was not being set for a script that was run 36*10898Sroland.mainz@nrubsig.org by name and didn't start with #! and this has been fixed. 37*10898Sroland.mainz@nrubsig.org09-08-25 A bug in which a function called to deeply from command substitution 38*10898Sroland.mainz@nrubsig.org did not display an error message has been fixed. 39*10898Sroland.mainz@nrubsig.org09-08-24 When processing profiles, ksh93 now violates the POSIX standard and 40*10898Sroland.mainz@nrubsig.org treats &> as a redirection operator similar to bash. 41*10898Sroland.mainz@nrubsig.org09-08-23 A bug in the handling of the trap on SIGPIPE that could lead to am 42*10898Sroland.mainz@nrubsig.org memory fault has been fixed. 43*10898Sroland.mainz@nrubsig.org09-08-21 A bug in the handling of the comma operator in arithmetic expressions 44*10898Sroland.mainz@nrubsig.org that could cause a core dump on some systems has been fixed. 45*10898Sroland.mainz@nrubsig.org09-08-20 A bug in which a compound variable containing an array of a type 46*10898Sroland.mainz@nrubsig.org that doesn't have any elements now expands correctly. 47*10898Sroland.mainz@nrubsig.org09-08-19 A bug which disabled function tracing inside a function after 48*10898Sroland.mainz@nrubsig.org a call to another function has been fixed. 49*10898Sroland.mainz@nrubsig.org09-08-19 A bug in which initializing a compound variable instance to another 50*10898Sroland.mainz@nrubsig.org compound variable by name has been fixed. 51*10898Sroland.mainz@nrubsig.org09-08-18 A bug in which compound variable instances could be lost after 52*10898Sroland.mainz@nrubsig.org an instance that invoked a type method discipline has been fixed. 53*10898Sroland.mainz@nrubsig.org09-08-18 A bug in which a discipline function for a type applied to an 54*10898Sroland.mainz@nrubsig.org array instance when invoked in a function ignored the subscript 55*10898Sroland.mainz@nrubsig.org has been fixed. 56*10898Sroland.mainz@nrubsig.org09-08-18 A scoping error with variables in arithmetic expression with 57*10898Sroland.mainz@nrubsig.org type variables when reference with a name reference has been fixed. 58*10898Sroland.mainz@nrubsig.org09-08-10 Several memory leaks were fixed primarily related to subshells. 59*10898Sroland.mainz@nrubsig.org09-08-06 A bug in which setting the trap on CHLD to ignore could cause 60*10898Sroland.mainz@nrubsig.org a script to hang has been fixed. 61*10898Sroland.mainz@nrubsig.org09-07-08 A bug in the processing of name reference assignments when it 62*10898Sroland.mainz@nrubsig.org contained pattern expansions with quoting has been fixed. 63*10898Sroland.mainz@nrubsig.org09-06-22 The default width for typeset -X has been changed so that there 64*10898Sroland.mainz@nrubsig.org should be no loss of precision when converting to a string. 65*10898Sroland.mainz@nrubsig.org09-06-19 A bug in the printing of array elements for binary variables with 66*10898Sroland.mainz@nrubsig.org printf %B has been fixed. 67*10898Sroland.mainz@nrubsig.org09-06-19 A bug which caused a core dump with trap DEBUG set with an array 68*10898Sroland.mainz@nrubsig.org assignment with no elements has been fixed. 69*10898Sroland.mainz@nrubsig.org09-06-19 A bug with read with typeset -b -Z<num> has been fixed. 70*10898Sroland.mainz@nrubsig.org09-06-19 Two bugs related to read -b for array variables has been fixed. 71*10898Sroland.mainz@nrubsig.org09-06-19 A bug with typeset for compound variables containing arrays of 72*10898Sroland.mainz@nrubsig.org compound variables has been fixed. 73*10898Sroland.mainz@nrubsig.org09-06-18 A bug in appending a compound variable to a an indexed array of 74*10898Sroland.mainz@nrubsig.org compound variables has been fixed. 75*10898Sroland.mainz@nrubsig.org09-06-18 A bug which occurs when appending a compound variable to an indexed 76*10898Sroland.mainz@nrubsig.org array element has been fixed. 77*10898Sroland.mainz@nrubsig.org09-06-18 Setting VISUAL to a value other than one ending in vi or emacs will 78*10898Sroland.mainz@nrubsig.org no longer unset the edit mode. 79*10898Sroland.mainz@nrubsig.org09-06-17 A bug in typeset -m when moving a local compound variable to a 80*10898Sroland.mainz@nrubsig.org global compound variable via a name reference has been fixed. 81*10898Sroland.mainz@nrubsig.org09-06-17 A bug in appending to nodes of an array of compound variables when 82*10898Sroland.mainz@nrubsig.org addressing them via nameref has been fixed. 83*10898Sroland.mainz@nrubsig.org09-06-17 A bug in typeset -p var, when var is an array of compound variables 84*10898Sroland.mainz@nrubsig.org in which the output only contained on array element has been fixed. 85*10898Sroland.mainz@nrubsig.org09-06-17 The prefix expansion ${!y.@} now works when y is a name 86*10898Sroland.mainz@nrubsig.org reference to an element of an array. 87*10898Sroland.mainz@nrubsig.org09-06-16 Traps on signals that are ignored when the shell is invoked 88*10898Sroland.mainz@nrubsig.org no longer display. Previously they were ignored as required but 89*10898Sroland.mainz@nrubsig.org would be listed with trap -p. 90*10898Sroland.mainz@nrubsig.org09-06-12 A bug in vi edit mode in which hitting the up arrow key at the 91*10898Sroland.mainz@nrubsig.org end of a line longer than 40 characters which caused a core dump 92*10898Sroland.mainz@nrubsig.org has been fixed. 93*10898Sroland.mainz@nrubsig.org09-06-11 A bug in which "eval non-builtin &" would create two processes, 94*10898Sroland.mainz@nrubsig.org one for the & and another for non-builtin has been fixed. 95*10898Sroland.mainz@nrubsig.org09-06-08 When var is an identifier and is unset, ${var} no longer tries to 96*10898Sroland.mainz@nrubsig.org run command substitution on the command var. 97*10898Sroland.mainz@nrubsig.org09-06-08 Process substitution arguments of the form <(command) can now be 98*10898Sroland.mainz@nrubsig.org used following the < redirection operator to redirect from command. 99*10898Sroland.mainz@nrubsig.org09-05-13 A bug in which redirections of the form 2>&1 1>&5 inside command 100*10898Sroland.mainz@nrubsig.org substitution could cause the command substitution to hang has been 101*10898Sroland.mainz@nrubsig.org fixed. 102*10898Sroland.mainz@nrubsig.org09-05-12 To conform with POSIX, the -u option only checks for unset variables 103*10898Sroland.mainz@nrubsig.org and subscript elements rather than checking for all parameters. 104*10898Sroland.mainz@nrubsig.org09-05-12 A bug which could cause a core dump when a variable whose name 105*10898Sroland.mainz@nrubsig.org begins with a . was referenced as part of a name reference inside 106*10898Sroland.mainz@nrubsig.org a function has been fixed. 107*10898Sroland.mainz@nrubsig.org09-05-01 A bug that caused a core dump when SIGWINCH was received and 108*10898Sroland.mainz@nrubsig.org both vi and emacs mode were off has been fixed. 109*10898Sroland.mainz@nrubsig.org09-04-22 Default alias compound='typeset -C' added. 110*10898Sroland.mainz@nrubsig.org09-04-15 A bug that caused ${...;} to hang for large files has ben fixed. 111*10898Sroland.mainz@nrubsig.org09-04-08 A change was made in the -n option which printed out an incorrect 112*10898Sroland.mainz@nrubsig.org warning with <>. 113*10898Sroland.mainz@nrubsig.org09-04-07 The emacs edit command M-_ and M_. and the vi command _ was fixed 114*10898Sroland.mainz@nrubsig.org to handle the case there there is no history file. 115*10898Sroland.mainz@nrubsig.org09-04-05 A bug in handling new-lines with read -n has been fixed. 116*10898Sroland.mainz@nrubsig.org09-04-05 The ENV variable defaults the the file named by $HOME/.kshrc rather 117*10898Sroland.mainz@nrubsig.org then to the string $HOME/.kshrc. 118*10898Sroland.mainz@nrubsig.org09-03-31 A bug in which a nested command substitution with redirections could 119*10898Sroland.mainz@nrubsig.org leave a file descriptor open has been fixed. 120*10898Sroland.mainz@nrubsig.org09-03-24 ksh now only uses the value of the _ variable on startup if it can 121*10898Sroland.mainz@nrubsig.org verify that it was set by the invoking process rather than being 122*10898Sroland.mainz@nrubsig.org inherited by some other ancestor. 123*10898Sroland.mainz@nrubsig.org09-03-24 When ksh is invoked without -p and ruid!=euid, and the shell is 124*10898Sroland.mainz@nrubsig.org compiled without SHOPT_P_UID or ruid<SHOPT_P_UID, the shell now 125*10898Sroland.mainz@nrubsig.org enables the -p option. The previous version instead set the 126*10898Sroland.mainz@nrubsig.org euid to the ruid as it does for set +p. 127*10898Sroland.mainz@nrubsig.org09-03-24 When SHOPT_P_UID is defined at compile time and the shell is started 128*10898Sroland.mainz@nrubsig.org without -p and ruid!=euid and ruid>=SHOPT_P_UID then euid is set 129*10898Sroland.mainz@nrubsig.org to ruid. A bug that did the wrong test (ruid<SHOPT_P_UID) was fixed. 130*10898Sroland.mainz@nrubsig.org09-03-17 The sleep(1) builtin now accept and ISO 8601 PnYnMnDTnHnMnS 131*10898Sroland.mainz@nrubsig.org duration or date(1) compatible date/time operand. 132*10898Sroland.mainz@nrubsig.org09-03-10 If a variable that was left or right justified or zero-filled was 133*10898Sroland.mainz@nrubsig.org changed with a typeset statement that was left or right justified 134*10898Sroland.mainz@nrubsig.org or zero-filled, then the original justification no longer affects 135*10898Sroland.mainz@nrubsig.org the result. 136*10898Sroland.mainz@nrubsig.org09-03-10 A bug in the handling of traps when the last command in a script 137*10898Sroland.mainz@nrubsig.org is a subshell grouping command has been fixed. 138*10898Sroland.mainz@nrubsig.org09-03-03 A bug in which an expansion of the form ${!prefix@} could generate 139*10898Sroland.mainz@nrubsig.org an exception after the return from a function has been fixed. 140*10898Sroland.mainz@nrubsig.org09-02-02 A bug in restricted mode in which the value of ENV could be 141*10898Sroland.mainz@nrubsig.org changed from within a function has been fixed. 142*10898Sroland.mainz@nrubsig.org09-02-02 A bug in which an erroneous message indicating that a process 143*10898Sroland.mainz@nrubsig.org terminated with a coredump has been fixed. 144*10898Sroland.mainz@nrubsig.org09-02-02 The exit status when exit was called without an argument from 145*10898Sroland.mainz@nrubsig.org a signal handler was incorrect and has been fixed. 146*10898Sroland.mainz@nrubsig.org09-02-02 A bug in which a function autoloaded in a subshell could cause 147*10898Sroland.mainz@nrubsig.org a core dump when the subshell completed has been fixed. 148*10898Sroland.mainz@nrubsig.org09-02-02 A bug in which 2>&1 inside a command substitution wasn't working 149*10898Sroland.mainz@nrubsig.org correctly has been fixed. 150*10898Sroland.mainz@nrubsig.org09-02-02 A bug in the call stack of arithmetic function with 2 args 151*10898Sroland.mainz@nrubsig.org returning int has been fixed. 152*10898Sroland.mainz@nrubsig.org09-01-30 A bug in which 'eval print \$0' inside a function was giving the 153*10898Sroland.mainz@nrubsig.org wrong value for $0 has been fixed. 154*10898Sroland.mainz@nrubsig.org09-01-28 A bug in which a command substitution could return an exit status 155*10898Sroland.mainz@nrubsig.org of 127 when the pipefail option is enabled has been fixed. 156*10898Sroland.mainz@nrubsig.org09-01-26 ksh93 now generates an error message if you attempt to create 157*10898Sroland.mainz@nrubsig.org a global name reference to a local variable. 158*10898Sroland.mainz@nrubsig.org09-01-26 The [[ -v var ]] operator was modified to test for array elements. 159*10898Sroland.mainz@nrubsig.org09-01-23 The redirection operator <>; was added. It is similar to <> 160*10898Sroland.mainz@nrubsig.org except that if the command it is applied to succeeds, the file 161*10898Sroland.mainz@nrubsig.org is truncated to the offset at the command completion. 162*10898Sroland.mainz@nrubsig.org09-01-23 The default file descriptor for <> was changed to 1. 163*10898Sroland.mainz@nrubsig.org09-01-20 A bug in which the exit status specified in an exit trap was 164*10898Sroland.mainz@nrubsig.org not used when a process terminated with a signal has been fixed. 165*10898Sroland.mainz@nrubsig.org09-01-19 A bug in which a signal whose default action is to terminate 166*10898Sroland.mainz@nrubsig.org a process could be ignored when the process is running a sub-shell 167*10898Sroland.mainz@nrubsig.org has been fixed. 168*10898Sroland.mainz@nrubsig.org09-01-19 A bug in which sending SIGWINCH to a process that reads from a pipe 169*10898Sroland.mainz@nrubsig.org could cause a memory fault has been fixed. 170*10898Sroland.mainz@nrubsig.org09-01-16 The -R unary operator was added to [[...]] and test to check whether 171*10898Sroland.mainz@nrubsig.org a variable is a name reference. 172*10898Sroland.mainz@nrubsig.org09-01-16 The -v unary operator was added to [[...]] and test to check whether 173*10898Sroland.mainz@nrubsig.org a variable is set. 174*10898Sroland.mainz@nrubsig.org09-01-14 The unset built-in was modified to return 0 exit status when 175*10898Sroland.mainz@nrubsig.org unsetting a variable that was unset to conform with the POSIX 176*10898Sroland.mainz@nrubsig.org standard. 177*10898Sroland.mainz@nrubsig.org09-01-14 The unset built-in was modified to continue to unset variables 178*10898Sroland.mainz@nrubsig.org after encountering a variable that it could not unset to 179*10898Sroland.mainz@nrubsig.org conform to the POSIX standard. 180*10898Sroland.mainz@nrubsig.org09-01-14 The parameter expansion ${x+value} no longer expands the value of 181*10898Sroland.mainz@nrubsig.org the variable x when determining whether x is set or not. 182*10898Sroland.mainz@nrubsig.org09-01-13 A bug in which background jobs and pipelines that were not waited 183*10898Sroland.mainz@nrubsig.org for could, in rare instances, cause the shell to go into an infinite 184*10898Sroland.mainz@nrubsig.org loop or fail has been fixed. 185*10898Sroland.mainz@nrubsig.org09-01-06 A bug in indexed arrays of compound variables in which referencing 186*10898Sroland.mainz@nrubsig.org non-existent sub-variable in an arithmetic expression could cause 187*10898Sroland.mainz@nrubsig.org the sub-variable to be created has been fixed. 188*10898Sroland.mainz@nrubsig.org09-01-05 A bug in which the \ character did not escape extended regular 189*10898Sroland.mainz@nrubsig.org expression pattern characters has been fixed. 190*10898Sroland.mainz@nrubsig.org08-12-24 A bug in which killing the last element of a pipe did not cause 191*10898Sroland.mainz@nrubsig.org a write to the pipe to generate a SIGPIPE has been fixed. 192*10898Sroland.mainz@nrubsig.org08-12-19 A bug which could cause command substitution to hang when the 193*10898Sroland.mainz@nrubsig.org last element of a pipeline in a command substitution was a built-in 194*10898Sroland.mainz@nrubsig.org and the output was more that PIPE_BUFF. 195*10898Sroland.mainz@nrubsig.org08-12-18 A bug which occurs when a here documented marker embedded in a 196*10898Sroland.mainz@nrubsig.org command substitution occurs on a buffer boundary has been fixed. 197*10898Sroland.mainz@nrubsig.org08-12-17 A bug in the output of typeset -p for variables that had attributes 198*10898Sroland.mainz@nrubsig.org but did not have a value has been fixed. 199*10898Sroland.mainz@nrubsig.org08-12-16 A bug in which a name reference to a name reference variable that 200*10898Sroland.mainz@nrubsig.org references an array element has been fixed. 201*10898Sroland.mainz@nrubsig.org08-12-16 A bug in which a variable given both the -A and -C attribute along 202*10898Sroland.mainz@nrubsig.org with an initial assignment didn't work correctly has been fixed. 203*10898Sroland.mainz@nrubsig.org08-12-10 The [[ -t fd ]] test was fixed to handle fd>9. 204*10898Sroland.mainz@nrubsig.org08-12-10 A bug where function stack misalignment could cause a bus error 205*10898Sroland.mainz@nrubsig.org has been fixed. 206*10898Sroland.mainz@nrubsig.org08-12-09 Command completion was changed to use \ to quote special characters 207*10898Sroland.mainz@nrubsig.org instead of quoting the argument in single quotes. 208*10898Sroland.mainz@nrubsig.org08-12-07 A bug in typeset -m which occurred when the target node was an 209*10898Sroland.mainz@nrubsig.org associative array element has been fixed. 210*10898Sroland.mainz@nrubsig.org08-12-07 A timing bug on some systems (for example darwin), that could 211*10898Sroland.mainz@nrubsig.org cause the last process of a pipeline entered interactively to fail 212*10898Sroland.mainz@nrubsig.org with an "Exec format error" has been fixed. 213*10898Sroland.mainz@nrubsig.org08-12-04 SHOPT_BGX enables background job extensions. Noted by "J" in 214*10898Sroland.mainz@nrubsig.org the version string when enabled. (1) JOBMAX=n limits the number 215*10898Sroland.mainz@nrubsig.org of concurrent & jobs to n; the n+1 & job will block until a 216*10898Sroland.mainz@nrubsig.org running background job completes. (2) SIGCHLD traps are queued 217*10898Sroland.mainz@nrubsig.org so that each completing background job gets its own trap; $! is 218*10898Sroland.mainz@nrubsig.org set to the job pid and $? is set to the job exit status at the 219*10898Sroland.mainz@nrubsig.org beginning of the trap. (3) sleep -s added to sleep until the time 220*10898Sroland.mainz@nrubsig.org expires or until a signal is delivered. 221*10898Sroland.mainz@nrubsig.org08-12-04 The sign of floating point zero is preserved across arithmetic 222*10898Sroland.mainz@nrubsig.org function calls. 223*10898Sroland.mainz@nrubsig.org08-12-04 A bug that caused print(1) to produce garbled stdout/stderr 224*10898Sroland.mainz@nrubsig.org output has been fixed. 225*10898Sroland.mainz@nrubsig.org08-12-04 A bug in which printf "%d\n" "'<euro>'" did not output the 226*10898Sroland.mainz@nrubsig.org numerical value of the EURO symbol, 8354, has been fixed. 227*10898Sroland.mainz@nrubsig.org08-11-24 /dev/fd* and /dev/std* redirections are first attempted with 228*10898Sroland.mainz@nrubsig.org open() to preserve seek semantics; failing that the corresponding 229*10898Sroland.mainz@nrubsig.org file descriptors are dup()'d. 230*10898Sroland.mainz@nrubsig.org08-11-20 A bug which could cause a core dump if a function compiled with 231*10898Sroland.mainz@nrubsig.org shcomp was found has been fixed. 232*10898Sroland.mainz@nrubsig.org08-11-20 A bug in which jobs were not cleared from the jobs table for 233*10898Sroland.mainz@nrubsig.org interactive shells when the pipefail option is on has been fixed. 234*10898Sroland.mainz@nrubsig.org08-11-11 A bug in which a field that was unset in a type definition and later 235*10898Sroland.mainz@nrubsig.org set for an instance could appear twice when displaying the variable 236*10898Sroland.mainz@nrubsig.org has been fixed. 237*10898Sroland.mainz@nrubsig.org08-11-11 A bug in which running a simple command & inside a function would 238*10898Sroland.mainz@nrubsig.org not return the correct process id has been fixed. 239*10898Sroland.mainz@nrubsig.org08=11-10 A bug in which the exit status of a command could be lost if the pid 240*10898Sroland.mainz@nrubsig.org was that of the most recent command substitution that had completed 241*10898Sroland.mainz@nrubsig.org has been fixed. 242*10898Sroland.mainz@nrubsig.org08-11-10 The maximum depth for subshells has been increased from 256 to 65536. 243*10898Sroland.mainz@nrubsig.org08-11-06 A bug which could cause a core dump when the _ reference variable was 244*10898Sroland.mainz@nrubsig.org used as an embedded type with a compound assignment has been fixed. 245*10898Sroland.mainz@nrubsig.org 2468462SApril.Chin@Sun.COM08-10-31 --- Release ksh93t --- 2478462SApril.Chin@Sun.COM08-10-31 Variable scoping/initialization bugs that could dump core were fixed. 2488462SApril.Chin@Sun.COM08-10-24 The lexer now accepts all RE characters for patterns prefixed 2498462SApril.Chin@Sun.COM with a ksh ~(...) option expression. 2508462SApril.Chin@Sun.COM08-10-24 For ${var/pat/sub} \0 in sub expands to the text matched by pat. 2518462SApril.Chin@Sun.COM08-10-18 A bug in array scoping that could dump core has been fixed. 2528462SApril.Chin@Sun.COM08-10-10 read -n and -N fixed to count characters in multibyte locales. 2538462SApril.Chin@Sun.COM08-10-10 A bug that mishandled _.array[] type references has been fixed. 254*10898Sroland.mainz@nrubsig.org08-10-09 ${.sh.version} now contains a concatenation of the following (after 2558462SApril.Chin@Sun.COM 'Version') denoting compile time features: 2568462SApril.Chin@Sun.COM A SHOPT_AUDIT 2578462SApril.Chin@Sun.COM B SHOPT_BASH 2588462SApril.Chin@Sun.COM L SHOPT_ACCT 2598462SApril.Chin@Sun.COM M SHOPT_MULTIBYTE 2608462SApril.Chin@Sun.COM08-10-09 A bug that caused subshell command substitution with redirection 2618462SApril.Chin@Sun.COM to hang has been fixed. 2628462SApril.Chin@Sun.COM08-10-08 Output errors, other than to stderr, now result in a diagnostic. 2638462SApril.Chin@Sun.COM08-10-08 ksh93 now supports types that contain arrays of other types as 2648462SApril.Chin@Sun.COM members. Earlier versions core dumped in this case. 2658462SApril.Chin@Sun.COM08-10-05 A bug which caused the shell to emit a syntax error for an arithmetic 2668462SApril.Chin@Sun.COM statement of the form (( var.name[sub] = value)) has been fixed. 2678462SApril.Chin@Sun.COM08-10-01 A bug that caused subshell command substitution to hang has 2688462SApril.Chin@Sun.COM been fixed. 2698462SApril.Chin@Sun.COM08-09-29 When the -p export option of typeset is used with other options, 2708462SApril.Chin@Sun.COM only those variables matching the specified options are displayed. 2718462SApril.Chin@Sun.COM08-09-29 When the shell reads the environment and finds variables that are 2728462SApril.Chin@Sun.COM not valid shell assignments, it now passes these on to subsequent 2738462SApril.Chin@Sun.COM commands rather than deleting them. 2748462SApril.Chin@Sun.COM08-09-29 A bug in the display of compound variables containing an indexed 2758462SApril.Chin@Sun.COM array of compound variables has been fixed. 2768462SApril.Chin@Sun.COM08-09-29 A bug in the display of compound variables containing an associative 2778462SApril.Chin@Sun.COM array with a subscript containing a . in the name has been fixed. 2788462SApril.Chin@Sun.COM08-09-26 A core dump in the subshell environment restore has been fixed. 2798462SApril.Chin@Sun.COM08-09-24 $(...) has been fixed to properly set the exit status in $?. 2808462SApril.Chin@Sun.COM08-09-23 $(<...) with IFS=$'\n\n' has been fixed to retain all but the last 2818462SApril.Chin@Sun.COM of multiple trailing newlines. 2828462SApril.Chin@Sun.COM08-09-23 The -p option to typeset when used with other attributes, restricts 2838462SApril.Chin@Sun.COM the output to variables with the specified attributes. 2848462SApril.Chin@Sun.COM08-09-22 A bug that sometimes lost the exit status of a job has been fixed. 2858462SApril.Chin@Sun.COM08-09-21 A bug that retained trailing command substitution newlines in 2868462SApril.Chin@Sun.COM cases where the command caused the shell to fork has been fixed. 2878462SApril.Chin@Sun.COM08-09-19 type, whence -v, and command -v were fixed to comply with POSIX 2888462SApril.Chin@Sun.COM by writing 'not found' diagnostics to the standard error. 2898462SApril.Chin@Sun.COM08-09-18 test and [...] were fixed to comply with POSIX in the case 2908462SApril.Chin@Sun.COM of test '(' binop ')' where binop is a valid binary test operator. 2918462SApril.Chin@Sun.COM08-09-16 If a method discipline named create is specified when defining a 2928462SApril.Chin@Sun.COM type, this function will be called when an instance is created. 2938462SApril.Chin@Sun.COM08-09-15 The variable _ is now set as a reference to the compound variable 2948462SApril.Chin@Sun.COM when defining a compound variable or a type. 2958462SApril.Chin@Sun.COM08-09-10 The shell now prints an error message when the type name specified 2968462SApril.Chin@Sun.COM for an indexed array subscript is not an enumeration type. 2978462SApril.Chin@Sun.COM08-09-10 A bug in which a subshell that spawned a background process could 2988462SApril.Chin@Sun.COM loose output that was produced after the foreground completed 2998462SApril.Chin@Sun.COM has been fixed. 3008462SApril.Chin@Sun.COM08-09-10 A timing bug on some systems that could cause coprocesses started by a 3018462SApril.Chin@Sun.COM subshell to not clean up and prevent other coprocesses has been fixed. 3028462SApril.Chin@Sun.COM08-09-09 The typeset -m option is now able to rename array elements from 3038462SApril.Chin@Sun.COM the same array. 3048462SApril.Chin@Sun.COM08-09-09 The exit status of 2 from the DEBUG trap causes the next command 3058462SApril.Chin@Sun.COM to be skipped. An exit value of 255 from a DEBUG trap called from 3068462SApril.Chin@Sun.COM a function causes the function to return. 3078462SApril.Chin@Sun.COM08-09-08 A bug in which a coprocess created in a subshell that did not 3088462SApril.Chin@Sun.COM complete when the subshell terminated could prevent a coprocess 3098462SApril.Chin@Sun.COM from being created in the parent shell has been fixed. 3108462SApril.Chin@Sun.COM08-09-05 An assignment of the form name1=name2 where name1 and name2 3118462SApril.Chin@Sun.COM are both compound variables causes name1 to get a copy of name2. 3128462SApril.Chin@Sun.COM name1+=name2 causes name2 sub-variables to be appended to name1. 3138462SApril.Chin@Sun.COM08-09-05 A bug in which unsetting a compound variable did not unset all 3148462SApril.Chin@Sun.COM the sub-variables has been fixed. 3158462SApril.Chin@Sun.COM08-09-01 A bug in the subshell cleanup code that could cause SIGSEGV has 3168462SApril.Chin@Sun.COM been fixed. 3178462SApril.Chin@Sun.COM06-08-26 The SHLVL variable which is an environment variable used by bash 3188462SApril.Chin@Sun.COM and zsh that gets incremented when the shell starts. 3198462SApril.Chin@Sun.COM08-08-25 For an indexed array, a negative subscript now refers to offsets 3208462SApril.Chin@Sun.COM from the end so that -1 refers to the last element. 3218462SApril.Chin@Sun.COM08-08-24 An alignment error for shorts on 64 bit architectures has been fixed. 3228462SApril.Chin@Sun.COM08-08-22 If oldvar is a compound variable, typeset -C newvar=oldvar creates 3238462SApril.Chin@Sun.COM newvar as a copy of oldvar. 3248462SApril.Chin@Sun.COM08-08-19 The ALRM signal no longer cause the sleep builtin to terminate. 3258462SApril.Chin@Sun.COM08-08-13 When used in an arithmetic expression, the .sh.version variable 3268462SApril.Chin@Sun.COM now produces a number that will be increasing for each release. 3278462SApril.Chin@Sun.COM08-08-11 A bug in which type instantiation with a compound assignment in 3288462SApril.Chin@Sun.COM a dot script in which the type is defined has been fixed. 3298462SApril.Chin@Sun.COM08-08-07 The -m option has been added to typeset to move or rename a 3308462SApril.Chin@Sun.COM variable. Not documented yet. 3318462SApril.Chin@Sun.COM08-08-06 A bug in read when used in a loop when a prompt was specified 3328462SApril.Chin@Sun.COM when reading from a terminal has been fixed. 3338462SApril.Chin@Sun.COM08-08-01 A bug with the pipefail option in which a nested pipeline could 3348462SApril.Chin@Sun.COM cause an asynchronous command to block has been fixed. 3358462SApril.Chin@Sun.COM08-08-01 A for loop optimizer bug that treats .sh.lineno as an invariant 3368462SApril.Chin@Sun.COM has been fixed. 3378462SApril.Chin@Sun.COM08-07-30 A bug in which expanding compound variable that had a get discipline 3388462SApril.Chin@Sun.COM from with a here document could cause a syntax error has been fixed. 3398462SApril.Chin@Sun.COM08-07-18 A bug in which a nameref caused a local variable to be created 3408462SApril.Chin@Sun.COM rather than binding to an existing variable in the global scope 3418462SApril.Chin@Sun.COM has been fixed. 3428462SApril.Chin@Sun.COM08-07-17 A bug which occurred when a nameref was created from within a 3438462SApril.Chin@Sun.COM function that was part of a pipeline has been fixed. 3448462SApril.Chin@Sun.COM08-07-14 The compile option SHOPT_STATS was added. With this option the 3458462SApril.Chin@Sun.COM compound variable .sh.stats keeps usage statistics that could help 3468462SApril.Chin@Sun.COM with performance tuning. 3478462SApril.Chin@Sun.COM08-07-10 The output of set now always uses a single line for each variable. 3488462SApril.Chin@Sun.COM For array variables, the complete set of values is now displayed. 3498462SApril.Chin@Sun.COM08-07-09 The typeset -C option can be used with arrays to indicate that 3508462SApril.Chin@Sun.COM each element should default to a compound variable. 3518462SApril.Chin@Sun.COM08-07-08 The %B format now outputs compound variables and arrays. The 3528462SApril.Chin@Sun.COM alternate flag # can be used to cause output into a single line. 3538462SApril.Chin@Sun.COM08-07-03 When the window change signal, WINCH, is received, the current 3548462SApril.Chin@Sun.COM edit line is redrawn in place. 3558462SApril.Chin@Sun.COM08-07-01 A bug in the handling of shared variables when inside an embedded 3568462SApril.Chin@Sun.COM type has been fixed. 3578462SApril.Chin@Sun.COM08-06-29 A bug in multiline edit mode which occurred when the prompt length 3588462SApril.Chin@Sun.COM was three characters or less has been fixed. 3598462SApril.Chin@Sun.COM08-06-23 A bug in which the SIGCLD was not be triggered when background 3608462SApril.Chin@Sun.COM jobs completed has been fixed. 3618462SApril.Chin@Sun.COM08-06-23 KSH_VERSION added as a name reference to .sh.version. 3628462SApril.Chin@Sun.COM08-06-20 type now outputs 'special builtin' for special builtins. 363*10898Sroland.mainz@nrubsig.org08-06-19 A couple of bugs in multi-dimensional arrays have been fixed. 3648462SApril.Chin@Sun.COM08-06-19 A bug in which a syntax error in a dot script could generated 3658462SApril.Chin@Sun.COM a syntax error in the next subsequent command has been fixed. 3668462SApril.Chin@Sun.COM08-06-17 Reduced the maximum function call depth to 2048 to avoid exceptions 3678462SApril.Chin@Sun.COM on some architectures. 3688462SApril.Chin@Sun.COM08-06-16 A bug in which printf "%B" could generate an exception when the 3698462SApril.Chin@Sun.COM specified variable was not set has been fixed. 3708462SApril.Chin@Sun.COM08-06-16 When typeset -p is followed by variable names, it now displays 3718462SApril.Chin@Sun.COM the attributes names and values for the specific names. 3728462SApril.Chin@Sun.COM08-06-14 A bug that could effect the drawing of the screen from multiline 3738462SApril.Chin@Sun.COM emacs or gmacs mode when walking up the history file has been fixed. 3748462SApril.Chin@Sun.COM08-06-13 A bug in which a compound variable defined in a subshell could 3758462SApril.Chin@Sun.COM have side effects into the parent shell has been fixed. 3768462SApril.Chin@Sun.COM08-06-13 A number of bugs related to using .sh.level to set the stack from 3778462SApril.Chin@Sun.COM for DEBUG traps have been fixed. 3788462SApril.Chin@Sun.COM08-06-13 The .sh.lineno variable has been added. When .sh.level is changed 3798462SApril.Chin@Sun.COM inside a DEBUG trap, the .sh.lineno contains the calling line number 3808462SApril.Chin@Sun.COM for the specified stack frame. 3818462SApril.Chin@Sun.COM08-06-13 The .sh.level variable has been documented and now works. 3828462SApril.Chin@Sun.COM08-06-11 The -C option has been added to read for reading compound command 3838462SApril.Chin@Sun.COM definitions from a file. 3848462SApril.Chin@Sun.COM08-06-11 The . command is now permitted inside a compound command definition. 3858462SApril.Chin@Sun.COM The dot script can contain declaration commands and dot commands. 3868462SApril.Chin@Sun.COM08-06-09 Add -C option to typeset so that typeset -C foo, is equivalent 3878462SApril.Chin@Sun.COM to foo=(). 3888462SApril.Chin@Sun.COM08-06-09 Added -n warning message for typeset option orderings that are valid 3898462SApril.Chin@Sun.COM with ksh88 but not valid with ksh93, for example Lx5. 3908462SApril.Chin@Sun.COM08-06-09 A bug in which the return value for an assignment command containing 3918462SApril.Chin@Sun.COM a command substitution with that failed was zero when the assignment 3928462SApril.Chin@Sun.COM contained redirections has been fixed. 3938462SApril.Chin@Sun.COM08-06-09 A bug in the quoting of $ inside a ERE pattern ~(E)(pattern) 3948462SApril.Chin@Sun.COM has been fixed. 3958462SApril.Chin@Sun.COM08-06-06 A bug when processing `` command substitution with the character 3968462SApril.Chin@Sun.COM sequence \$' has been fixed. 3978462SApril.Chin@Sun.COM08-06-02 When defining a type, the typeset -r attribute causes this field 3988462SApril.Chin@Sun.COM to be required to be specified for each instance of the type and 3998462SApril.Chin@Sun.COM does not allow a default value. 4008462SApril.Chin@Sun.COM08-06-02 Several bugs in which compound variables were modified by 4018462SApril.Chin@Sun.COM subshells have been fixed. 4028462SApril.Chin@Sun.COM08-05-22 The ceil function has been added to the math functions. 4038462SApril.Chin@Sun.COM08-05-21 A bug in which a name reference defined in a function and passed 4048462SApril.Chin@Sun.COM as an argument to another function could cause an incorrect binding. 4058462SApril.Chin@Sun.COM08-05-21 A bug in freeing compound variables that are local to functions 4068462SApril.Chin@Sun.COM has been fixed. 4078462SApril.Chin@Sun.COM08-05-19 The array expansions ${array[sub1..sub2]} and ${!array[sub1..sub2]} 4088462SApril.Chin@Sun.COM to expand to the value (or subscripts) for array between sub1 and 4098462SApril.Chin@Sun.COM sub2 inclusive. For associative arrays, the range is based on 4108462SApril.Chin@Sun.COM location in the POSIX locale. The .. must be explicit and cannot 4118462SApril.Chin@Sun.COM result from an expansion. 4128462SApril.Chin@Sun.COM08-05-15 The trap on SIGCLD is no longer triggered by the completion of 4138462SApril.Chin@Sun.COM the foreground job as with ksh88. 4148462SApril.Chin@Sun.COM08-05-14 A bug in the implementation of the editing feature added on 4158462SApril.Chin@Sun.COM 07-09-19 in emacs mode has been fixed. 4168462SApril.Chin@Sun.COM08-05-12 A bug in processing the test built-in with parenthesis has been 4178462SApril.Chin@Sun.COM fixed. 4188462SApril.Chin@Sun.COM08-05-12 The unset built-in now returns non-zero when deleting an array 4198462SApril.Chin@Sun.COM subscript that is not set. 4208462SApril.Chin@Sun.COM08-05-08 Changing the value of HISTFILE or HISTSIZE will cause the old 4218462SApril.Chin@Sun.COM history file to be close and reopened with the new name or size. 4228462SApril.Chin@Sun.COM08-05-08 When FPATH is changed functions that were found via a path search 4238462SApril.Chin@Sun.COM will be searched for again. 4248462SApril.Chin@Sun.COM08-05-08 A parser bug in which reserved words and labels were recognized 4258462SApril.Chin@Sun.COM inside compound indexed array assignment after a new-line has 4268462SApril.Chin@Sun.COM been fixed. 4278462SApril.Chin@Sun.COM08-05-07 A bug in getopts when handling numerical option arguments has 4288462SApril.Chin@Sun.COM been fixed. 4298462SApril.Chin@Sun.COM08-05-07 The typeset -S option was added for variables outside type 4308462SApril.Chin@Sun.COM definitions to provide a storage class similar to C static 4318462SApril.Chin@Sun.COM inside a function defined with function name. When outside 4328462SApril.Chin@Sun.COM type definitions and outside a function, the -S option cause 4338462SApril.Chin@Sun.COM the specified variable so be unset before the assignment and 4348462SApril.Chin@Sun.COM before the remaining attributes are supplied. 4358462SApril.Chin@Sun.COM08-05-07 A bug that affected the cursor movement in multiline mode when 4368462SApril.Chin@Sun.COM a character was deleted from near the beginning of the any 4378462SApril.Chin@Sun.COM line other than the first. 4388462SApril.Chin@Sun.COM08-05-01 In multiline edit mode, the refresh operation will now clear 4398462SApril.Chin@Sun.COM the remaining portion of the last line. 4408462SApril.Chin@Sun.COM08-05-01 A bug in computing prompt widths for the edit modes for prompts 4418462SApril.Chin@Sun.COM with multibyte characters has been fixed. 4428462SApril.Chin@Sun.COM08-05-01 A bug in the multiline edit mode which could cause the current 4438462SApril.Chin@Sun.COM line to be displayed incorrectly when moving backwards from third 4448462SApril.Chin@Sun.COM or higher line to the previous line has been fixed. 4458462SApril.Chin@Sun.COM08-05-01 A bug in which options set in functions declared with the function 4468462SApril.Chin@Sun.COM name syntax were carried across into functions invoked by these 4478462SApril.Chin@Sun.COM functions has been fixed. 4488462SApril.Chin@Sun.COM08-04-30 A bug which could cause a coprocess to hang when the read end 4498462SApril.Chin@Sun.COM is a builtin command has been fixed. 4508462SApril.Chin@Sun.COM08-04-30 The emacs and vi editors have been modified to handle window 4518462SApril.Chin@Sun.COM change commands as soon as they happen rather than waiting for 4528462SApril.Chin@Sun.COM the next command. 4538462SApril.Chin@Sun.COM08-04-28 A bug in which ${!x} did not expand to x when x was unset has been 4548462SApril.Chin@Sun.COM fixed. 4558462SApril.Chin@Sun.COM08-04-27 A bug in which the assignment x=(typeset -a foo=([0]=abc)) created 4568462SApril.Chin@Sun.COM x.foo as an associative array has been fixed. 4578462SApril.Chin@Sun.COM08-04-25 A bug in which $# did not report correctly when there were more 4588462SApril.Chin@Sun.COM than 32K positional parameters has been fixed. 4598462SApril.Chin@Sun.COM08-04-04 Choose the name _ as the sub-variable that holds type or instance 4608462SApril.Chin@Sun.COM specific data used by discipline functions. 4618462SApril.Chin@Sun.COM08-03-27 A bug in which the terminal group was not given back to the parent 4628462SApril.Chin@Sun.COM shell when the last part of a pipeline was handled by the parent shell 4638462SApril.Chin@Sun.COM and the other parts of the pipeline complete has been fixed. 4648462SApril.Chin@Sun.COM The symptom was that the pipeline became uninterruptable. 4658462SApril.Chin@Sun.COM08-03-25 A bug in restricted mode introduced in ksh93s that caused scripts 4668462SApril.Chin@Sun.COM that did not use #! to executed in restricted mode has been fixed. 4678462SApril.Chin@Sun.COM08-03-25 A bug in which the pipefail option did not work for a pipeline 4688462SApril.Chin@Sun.COM within a pipeline has been fixed. 4698462SApril.Chin@Sun.COM08-03-24 A bug in which OPTIND was not set correctly in subshells has 4708462SApril.Chin@Sun.COM been fixed. 4718462SApril.Chin@Sun.COM08-03-24 A bug which could cause a memory exception when a compound variable 4728462SApril.Chin@Sun.COM containing an indexed array with only element 0 defined was expanded. 4738462SApril.Chin@Sun.COM08-03-20 A bug in which ${!var[sub].*} was treated as an error has been fixed. 4748462SApril.Chin@Sun.COM08-03-20 Associative array assignments of the form ([name]=value ...) 4758462SApril.Chin@Sun.COM now allow ; as well as space tab and new line to separate elements. 4768462SApril.Chin@Sun.COM08-03-18 A buffering problem in which standard error was sometimes 4778462SApril.Chin@Sun.COM not flushed before sleep has been fixed. 4788462SApril.Chin@Sun.COM08-03-17 A bug in which a signal sent to $$ while in a subshell would be 4798462SApril.Chin@Sun.COM sent to the subshell rather than the parent has been fixed. 4808462SApril.Chin@Sun.COM08-03-17 --default option added to set(1) to handle set +o POSIX semantics. 4818462SApril.Chin@Sun.COM set --state added as a long name alias for set +o. 4828462SApril.Chin@Sun.COM08-03-14 A bug in which using monitor mode from within a script could 4838462SApril.Chin@Sun.COM cause the terminal group to change has been fixed. 4848462SApril.Chin@Sun.COM08-03-10 The new ${...} command substitution will treat the trailing } 4858462SApril.Chin@Sun.COM as a reserved word even if it is not at the beginning of a command, 4868462SApril.Chin@Sun.COM for example, ${ date }. 4878462SApril.Chin@Sun.COM08-03-10 If the name of the ENV begins with /./ or ././ then the 4888462SApril.Chin@Sun.COM /etc/ksh.kshrc file will not be executed on systems that support 4898462SApril.Chin@Sun.COM this interactive initialization file. 4908462SApril.Chin@Sun.COM08-03-07 A bug in which ksh -i did not run the ENV file has been fixed. 4918462SApril.Chin@Sun.COM08-03-07 A bug in which ulimit did not always produce the same output as 4928462SApril.Chin@Sun.COM ulimit -fS has been fixed. 4938462SApril.Chin@Sun.COM08-03-04 A bug in multiline mode in emacs and vi mode which could cause the 4948462SApril.Chin@Sun.COM cursor to be on the wrong line when interrupt was hit has been fixed. 4958462SApril.Chin@Sun.COM08-03-03 The change made in ksh93s+ on 07-06-18 in which braces became 4968462SApril.Chin@Sun.COM optional for ${a[i]} inside [[...]] was restored in the case 4978462SApril.Chin@Sun.COM where the argument can be a pattern. 4988462SApril.Chin@Sun.COM08-03-03 A bug in which creating a name reference to an associative array 4998462SApril.Chin@Sun.COM instance would fail when the subscript contained characters [ or 5008462SApril.Chin@Sun.COM ] has been fixed. 5018462SApril.Chin@Sun.COM08-02-29 The redirection operator >; has been added which for non-special 5028462SApril.Chin@Sun.COM files, generates the output in a temporary file and writes the 5038462SApril.Chin@Sun.COM specified file only of the command has completed successfully. 5048462SApril.Chin@Sun.COM08-02-15 A bug in ${var/pattern/string} for patterns of the form ?(*) and +(*) 5058462SApril.Chin@Sun.COM has bee fixed. 5068462SApril.Chin@Sun.COM08-02-07 A bug in which test \( ! -e \) produced an error has been fixed. 5078462SApril.Chin@Sun.COM08-02-14 The typeset -a option can now optionally be followed by the name 5088462SApril.Chin@Sun.COM of an enumeration type which allows subscripts to be enumerations. 5098462SApril.Chin@Sun.COM08-02-14 The enum builtin which creates enumeration types has been added. 5108462SApril.Chin@Sun.COM08-02-12 The backoff logic when there are no more processes has been fixed. 5118462SApril.Chin@Sun.COM08-02-07 The -X option has been added to typeset. The -X option creates 5128462SApril.Chin@Sun.COM a double precision number that gets displayed using the C99 %a 5138462SApril.Chin@Sun.COM format. It can be used along with -l for long double. 5148462SApril.Chin@Sun.COM08-01-31 The -T option to typeset has been added for creating typed 5158462SApril.Chin@Sun.COM variables. Also the -h and -S options have been added to 5168462SApril.Chin@Sun.COM typeset that are only applicable when defining a type. 5178462SApril.Chin@Sun.COM08-01-31 The prefix expansion operator @ has been added. ${@name} 5188462SApril.Chin@Sun.COM expands to the type of name or yields the attributes. 5198462SApril.Chin@Sun.COM07-11-15 A bug in the macro expander for multibyte characters in which 5208462SApril.Chin@Sun.COM part of the character contains a file pattern byte has been fixed. 5218462SApril.Chin@Sun.COM07-10-03 A bug in which : was not allowed as part of an alias name has been 5228462SApril.Chin@Sun.COM fixed. 5238462SApril.Chin@Sun.COM07-09-26 A bug in which appending a compound variable to a compound variable 5248462SApril.Chin@Sun.COM or to an index array didn't work has been fixed. 5258462SApril.Chin@Sun.COM07-09-19 In both emacs and vi edit mode, the escape sequence \E[A (usually 5268462SApril.Chin@Sun.COM cursor up, when the cursor is at the end of the line will fetch 5278462SApril.Chin@Sun.COM the most recent line starting with the current line. 5288462SApril.Chin@Sun.COM07-09-18 The value of ${!var} was correct when var was a reference to an 5298462SApril.Chin@Sun.COM array instance. 5308462SApril.Chin@Sun.COM07-09-18 The value of ${!var[sub]} was not expanding to var[sub] and this 5318462SApril.Chin@Sun.COM was fixed. It also fixed ${name} where name is a name reference 5328462SApril.Chin@Sun.COM to var[sub]. 5338462SApril.Chin@Sun.COM07-09-18 It is now legal to create a name reference without an initialization. 5348462SApril.Chin@Sun.COM It will be bound to a variable on the first assignment. 5358462SApril.Chin@Sun.COM07-08-30 A discipline function can be invoked as ${x.foo} and is equivalent 5368462SApril.Chin@Sun.COM to ${ x.foo;} and can be invoked as x.foo inside ((...)). 5378462SApril.Chin@Sun.COM07-07-09 A bug in which typeset -a did not list indexed arrays has been 5388462SApril.Chin@Sun.COM fixed. 5398462SApril.Chin@Sun.COM07-07-03 The command substitution ${ command;} has been added. It behaves 5408462SApril.Chin@Sun.COM like $(command) except that command is executed in the current 5418462SApril.Chin@Sun.COM shell environment. The ${ must be followed by a blank or an 5428462SApril.Chin@Sun.COM operator. 5438462SApril.Chin@Sun.COM 5448462SApril.Chin@Sun.COM08-04-17 --- Release ksh93s+ --- 5458462SApril.Chin@Sun.COM08-04-17 A bug in which umask was not being restored correctly after a 5468462SApril.Chin@Sun.COM subshell has been fixed. 5478462SApril.Chin@Sun.COM08-04-15 A bug in which sending a STOP signal to a job control shell started 5488462SApril.Chin@Sun.COM from within a shell function caused cause the invoking shell to 5498462SApril.Chin@Sun.COM terminate has been fixed. 5508462SApril.Chin@Sun.COM08-04-11 A bug which caused $(exec > /dev/null) to go into an infinite loop 5518462SApril.Chin@Sun.COM has been fixed. 5528462SApril.Chin@Sun.COM08-03-27 A bug in which typeset -LZ was being treated as -RZ has been fixed. 5538462SApril.Chin@Sun.COM08-03-06 A bug with ksh -P on systems that support the the profile shell, 5548462SApril.Chin@Sun.COM in which it would exit after running a non-builtin has been fixed. 5558462SApril.Chin@Sun.COM08-01-31 A bug in which command substitution inside ((...)) could cause 5568462SApril.Chin@Sun.COM syntax errors or lead to core dumps has been fixed. 5578462SApril.Chin@Sun.COM08-01-17 A bug in which discipline functions could be deleted when invoked 5588462SApril.Chin@Sun.COM from a subshell has been fixed. 5598462SApril.Chin@Sun.COM08-01-17 A bug in which a command substitution consisting only of 5608462SApril.Chin@Sun.COM assignments was treated as a noop has been fixed. 5618462SApril.Chin@Sun.COM08-01-17 A bug in which discipline functions invoked from withing a 5628462SApril.Chin@Sun.COM compound assignment could fail has been fixed. 5638462SApril.Chin@Sun.COM08-01-16 Incomplete arithmetic assignments, for example ((x += )), now 5648462SApril.Chin@Sun.COM generate an error message. 5658462SApril.Chin@Sun.COM08-01-16 A bug in which a set discipline defined for a variable before 5668462SApril.Chin@Sun.COM an array assignment could cause a core dump has been fixed. 5678462SApril.Chin@Sun.COM08-01-03 A bug in on some systems in which exit status 0 is incorrectly 5688462SApril.Chin@Sun.COM returned by a process that catches the SIGCONT signal is stopped 5698462SApril.Chin@Sun.COM and then continued. 5708462SApril.Chin@Sun.COM07-12-13 A race condition in which a program that has been stopped and then 5718462SApril.Chin@Sun.COM continued could loose the exit status has been fixed. 5728462SApril.Chin@Sun.COM07-12-12 Code to check for file system out of space write errors for all 5738462SApril.Chin@Sun.COM writes has been added. 5748462SApril.Chin@Sun.COM07-12-11 A bug in the macro expander for multibyte characters in which 5758462SApril.Chin@Sun.COM part of the character contains a file pattern byte has been fixed. 5768462SApril.Chin@Sun.COM07-12-06 A bug in the emacs edit mode when multiline was set that output 5778462SApril.Chin@Sun.COM a backspace before the newline to the screen has been fixed. 5788462SApril.Chin@Sun.COM07-12-04 A bug in which using <n>TAB after a variable name listing expansion 5798462SApril.Chin@Sun.COM in the edit modes would cause the $ to disappear has been fixed. 5808462SApril.Chin@Sun.COM07-11-28 A bug in which setting IFS to readonly could cause a subsequent 5818462SApril.Chin@Sun.COM command substitution to fail has been fixed. 5828462SApril.Chin@Sun.COM07-11-27 A work around for a gcc 4.* C99 "feature" that could cause a job 5838462SApril.Chin@Sun.COM control shell to go into an infinite loop by adding the volatile 5848462SApril.Chin@Sun.COM attribute to some auto vars in functions that call setjmp(). 5858462SApril.Chin@Sun.COM07-11-27 A bug in which the shell could read ahead on a pipe causing the 5868462SApril.Chin@Sun.COM standard input to be incorrectly positioned has been fixed. 5878462SApril.Chin@Sun.COM07-11-27 A bug in which compound variable UTF-8 multibyte values were not 5888462SApril.Chin@Sun.COM expanded or traced properly has been fixed. 5898462SApril.Chin@Sun.COM07-11-21 A bug where an unbalanced '[' in a command argument was not treated 5908462SApril.Chin@Sun.COM properly has been fixed. 5918462SApril.Chin@Sun.COM07-11-15 A bug in which compatibility mode (no long option names) getopts(1) 5928462SApril.Chin@Sun.COM incorrectly set the value of OPTARG for flag options has been fixed. 5938462SApril.Chin@Sun.COM07-11-15 A bug in which "hash -- name" treated "--" as an invalid name operand 5948462SApril.Chin@Sun.COM has been fixed. 5958462SApril.Chin@Sun.COM07-11-15 typeset now handles "-t -- [-r] [--]" for s5r4 hash(1) compatibility. 5968462SApril.Chin@Sun.COM07-11-15 A bug in which the umask builtin mis-handled symbolic mode operands 5978462SApril.Chin@Sun.COM has been fixed. 5988462SApril.Chin@Sun.COM07-11-15 Bugs in which shell arithmetic and the printf builtin mis-handled the 5998462SApril.Chin@Sun.COM signs of { -NaN -Inf -0.0 } have been fixed. 6008462SApril.Chin@Sun.COM07-11-15 The full { SIGRTMIN SIGRTMIN+1 ... SIGRTMAX-1 SIGRTMAX } range 6018462SApril.Chin@Sun.COM of signals, determined at runtime, are now supported. 6028462SApril.Chin@Sun.COM07-11-15 A bug in which creating an index array with only subscript 0 created 6038462SApril.Chin@Sun.COM only a simple variable has been fixed. 6048462SApril.Chin@Sun.COM07-11-14 A bug in which appending to an indexed array using the form 6058462SApril.Chin@Sun.COM name+=([sub]=value) could cause the array to become an associative 6068462SApril.Chin@Sun.COM array has been fixed. 6078462SApril.Chin@Sun.COM07-11-14 A bug in which typeset without arguments could coredump if a 6088462SApril.Chin@Sun.COM variable is declared as in indexed array and has no elements has 6098462SApril.Chin@Sun.COM been fixed. 6108462SApril.Chin@Sun.COM07-11-14 A bug in which creating a local SECONDS variable with typeset in 6118462SApril.Chin@Sun.COM a function could corrupt memory has been fixed. 6128462SApril.Chin@Sun.COM07-11-14 A bug which could cause a core dump when a script invoked by name 6138462SApril.Chin@Sun.COM from a function used compound variables has been fixed. 6148462SApril.Chin@Sun.COM07-11-05 A bug in which printf %d "'AB" did not diagnose unconverted characters 6158462SApril.Chin@Sun.COM has been fixed. 6168462SApril.Chin@Sun.COM07-11-05 printf %g "'A" support added for all floating point formats. 6178462SApril.Chin@Sun.COM07-11-01 A bug in which typeset -f fun did not display the function definition 6188462SApril.Chin@Sun.COM when invoked in a subshell has been fixed. 6198462SApril.Chin@Sun.COM07-10-29 The sleep builtin was fixed so that all floating point constants 6208462SApril.Chin@Sun.COM are valid operands. 6218462SApril.Chin@Sun.COM07-10-10 A bug in which the locale was not being restored after 6228462SApril.Chin@Sun.COM LANG=value command has been fixed. 6238462SApril.Chin@Sun.COM07-09-20 A bug in which a nameref to a compound variable that was local 6248462SApril.Chin@Sun.COM to the calling function would not expand correctly when displaying 6258462SApril.Chin@Sun.COM is value has been fixed. 6268462SApril.Chin@Sun.COM07-09-19 A bug which cause cause a core dump if .sh.edchar returned 6278462SApril.Chin@Sun.COM 80 characters or more from a keyboard trap has been fixed. 6288462SApril.Chin@Sun.COM07-09-14 A bug in which could cause a core dump when more than 8 file 6298462SApril.Chin@Sun.COM descriptors were in use has been fixed. 6308462SApril.Chin@Sun.COM07-09-10 A bug in which creating a name reference to an instance of 6318462SApril.Chin@Sun.COM an array when the array name is itself a reference has been fixed. 6328462SApril.Chin@Sun.COM07-09-10 The file completion code has been modified so that after an = in 6338462SApril.Chin@Sun.COM any word, each : will be considered a path delimiter. 6348462SApril.Chin@Sun.COM07-09-06 A bug in which subprocess cleanup could corrupt the malloc() heap 6358462SApril.Chin@Sun.COM has been fixed. 6368462SApril.Chin@Sun.COM07-08-26 A bug in which a name reference to an associative array instance 6378462SApril.Chin@Sun.COM could cause the subscript to be evaluated as an arithmetic expression 6388462SApril.Chin@Sun.COM has been fixed. 6398462SApril.Chin@Sun.COM07-08-22 A bug in which the value of an array instance was of a compound 6408462SApril.Chin@Sun.COM variable was not expanded correctly has been fixed. 6418462SApril.Chin@Sun.COM07-08-14 A bug which could cause a core dump when a compound assignment was 6428462SApril.Chin@Sun.COM made to a compound variable element with a typeset -a attribute 6438462SApril.Chin@Sun.COM has been fixed. 6448462SApril.Chin@Sun.COM07-08-08 A bug in which a trap ignored in a subshell caused it to be 6458462SApril.Chin@Sun.COM ignored by the parent has been fixed. 6468462SApril.Chin@Sun.COM07-08-07 A bug in which the set command would generated erroneous output 6478462SApril.Chin@Sun.COM for a variable with the -RZ attribute if the variable name had been 6488462SApril.Chin@Sun.COM passed to a function has been fixed. 6498462SApril.Chin@Sun.COM07-08-02 A bug in which read x[1] could core dump has been fixed. 6508462SApril.Chin@Sun.COM07-08-02 A second bug in which after read x[sub] into an associative array 6518462SApril.Chin@Sun.COM of an element that hasn't been assigned could lead to a core dump 6528462SApril.Chin@Sun.COM has been fixed. 6538462SApril.Chin@Sun.COM07-07-31 A bug in which a pipeline that completed correctly could have 6548462SApril.Chin@Sun.COM an exit status of 127 when pipefail was enabled has been fixed. 6558462SApril.Chin@Sun.COM07-07-09 The SHOPT_AUDIT compile option has been added for keyboard logging. 6568462SApril.Chin@Sun.COM07-06-25 In vi insert mode, ksh no longer emits a backspace character 6578462SApril.Chin@Sun.COM before the carriage return when the newline is entered. 6588462SApril.Chin@Sun.COM07-06-25 A bug in which pipefail would cause a command to return 0 6598462SApril.Chin@Sun.COM when the pipeline was the last command and the failure happened 6608462SApril.Chin@Sun.COM on a component other than the last has been fixed. 6618462SApril.Chin@Sun.COM07-06-25 A bug in the expansion of ${var/pattern/rep} when pattern or rep 6628462SApril.Chin@Sun.COM contained a left parenthesis in single quotes has been fixed. 6638462SApril.Chin@Sun.COM07-06-18 The braces for a subscripted variable with ${var[sub]} are now 6648462SApril.Chin@Sun.COM optional when inside [[...]], ((...)) or as a subscript. 6658462SApril.Chin@Sun.COM07-05-28 A bug in brace expansion in which single and double quotes did 6668462SApril.Chin@Sun.COM not treat the comma as a literal character has been fixed. 6678462SApril.Chin@Sun.COM07-05-24 The -p option of whence now disables -v. 6688462SApril.Chin@Sun.COM07-05-23 Several bug fixes in compound variables and arrays of arrays 6698462SApril.Chin@Sun.COM have been made. 6708462SApril.Chin@Sun.COM07-05-15 A bug in which the %B format of printf was affected by the 6718462SApril.Chin@Sun.COM locale has been fixed. 6728462SApril.Chin@Sun.COM07-05-14 A bug in which \ was not removed in the replacement pattern with 6738462SApril.Chin@Sun.COM ${var/pattern/rep} when it was not followed by \ or a digit has 6748462SApril.Chin@Sun.COM been fixed. 6758462SApril.Chin@Sun.COM07-05-10 A bug in which ksh -R file core dumped if no script was specified 6768462SApril.Chin@Sun.COM has been fixed. it not displays an error message. 6778462SApril.Chin@Sun.COM07-05-07 Added additional Solaris signals to signal table. 6788462SApril.Chin@Sun.COM07-04-30 A bug in which a pipeline with command substitution inside a 6798462SApril.Chin@Sun.COM function could cause a pipeline that invokes this function to 6808462SApril.Chin@Sun.COM hang when the pipefail option is on has been fixed. 6818462SApril.Chin@Sun.COM07-04-30 Added -q to whence. 6824887Schin07-04-18 A small memory leak with each redirection of a non-builtin has 6834887Schin been fixed. 6844887Schin07-03-08 A bug in which set +o output command line options has been fixed. 6854887Schin07-03-08 A bug in which an error in read (for example, an invalid variable 6864887Schin name), could leave the terminal in raw mode has been fixed. 6874887Schin07-03-06 A bug in which read could core dump when specified with an array 6884887Schin variable with a subscript that is an arithmetic expression has 6894887Schin been fixed. 6904887Schin07-03-06 Several serious bugs with the restricted shell were reported and 6914887Schin fixed. 6924887Schin07-03-02 If a job is stopped, and subsequently restarted with a CONT 6934887Schin signal and exits normally, ksh93 was incorrectly exiting with 6944887Schin the exit status of the stop signal number. 6954887Schin07-02-26 M-^L added to emacs mode to clear the screen. 6964887Schin07-02-26 A bug in which setting a variable readonly in a subshell would 6974887Schin cause an unset error when the subshell completed has been fixed. 6984887Schin07-02-19 The format with printf uses the new = flag to center the output. 6994887Schin07-02-19 A bug in which ksh93 did not allow multibyte characters in 7004887Schin identifier names has been fixed. 7014887Schin07-02-19 A bug introduced in ksh93 that causes global compound variable 7024887Schin definitions inside functions to exit with "no parent" has been fixed. 7034887Schin07-02-19 A bug in which using compound commands in process redirection 7044887Schin arguments would give syntax errors <(...) and >(...) has been fixed. 7054887Schin07-01-29 A bug which caused the shell to core dump which can occur when a 7064887Schin built-in exits without closing files that it opens has been fixed. 7074887Schin07-01-26 A bug in which ~(E) in patterns containing \ that are not inside () 7084887Schin has been fixed. 7094887Schin 7104887Schin06-12-29 --- Release ksh93s --- 7114887Schin06-12-29 A bug in which the value of IFS could be changed after a command 7124887Schin substitution has been fixed. 7134887Schin06-12-22 /dev/(tcp|udp|sctp)/HOST/SEVRICE now handles IPv6 addresses on 7144887Schin systems that provide getaddrinfo(3). 7154887Schin06-12-19 A -v option was added to read. With this option the value of 7164887Schin the first variable name argument will become the default value 7174887Schin when read from a terminal device. 7184887Schin06-11-20 A bug in which "${foo[@]:1}}" expands a null argument (instead of 7194887Schin no argument), when foo[0] is not empty has been fixed. 7204887Schin06-11-16 The discipline functions have been modified to allow each subscript 7214887Schin to act independently. Currently the discipline function will not 7224887Schin be called when called from a discipline function of the same variable. 7234887Schin06-11-14 A bug which could cause a core dump if a file descriptor for 7244887Schin an internal file was closed from with a subshell has been fixed. 7254887Schin06-10-30 The redirections <# pattern, and <## pattern have been added. 7264887Schin Both seek forward to the beginning of the next line that contains 7274887Schin the pattern. The <## form copies the skipped portion to standard 7284887Schin output. 7294887Schin06-10-26 On systems that support stream control transport, the virtual file 7304887Schin name /dev/sctp/host/port can now be used to establish connections. 7314887Schin06-10-26 The printf modifier # when used with d produces units in thousands 7324887Schin with a single letter suffix added. The modifier # when used with 7334887Schin the i specification provides units of 1024 with a two letter suffix. 7344887Schin06-10-24 The value of $! is now set to the process id of a job put 7354887Schin into the background with the bg command as required by POSIX. 7364887Schin06-10-23 A bug in which the value of $! was affected by a background 7374887Schin job started from a subshell has been fixed. 7384887Schin06-10-23 A bug in ${var:offset:len} in multibyte locales has been fixed. 7394887Schin06-10-15 The remaining math functions from C99 were added for any system 7404887Schin that supports them. 7414887Schin06-10-13 The klockwork.com software detected a few coding errors that 7424887Schin have been fixed. 7434887Schin06-10-12 A bug when skipping over `...` with ${x:=`...`} when x is set 7444887Schin has been fixed. 7454887Schin06-10-11 A bug in process floating constants produced by the %a format 7464887Schin of printf has been fixed. 7474887Schin06-10-06 A bug in which IFS was not being restored correctly in some 7484887Schin cases after a subshell has been fixed. 7494887Schin06-10-06 A bug in which pipefail was not detecting some failures in 7504887Schin pipelines with 3 or more states has been fixed. 7514887Schin06-10-03 A bug in the processing of >(...) with builtins which could 7524887Schin cause the builtin to hang has been fixed. 7534887Schin06-10-03 A bug in the for loop optimizer which causes >(...) process 7544887Schin substitution to be ignored has been fixed. 7554887Schin06-09-17 The -a option was added to typeset for indexed arrays. This 7564887Schin is only needed when using the ([subscript]=value ...) form. 7574887Schin06-09-06 The showme option was added. Each simple command not beginning 7584887Schin with a redirection and not occurring with in the while, until, if, 7594887Schin select condition can be preceded by a semi-colon which will 7604887Schin be ignored when showme is off. When showme is on, any command 7614887Schin preceded by a colon will be traced but not executed. 7624887Schin06-08-16 As a new feature, a leading ~(N) on a pattern has no effect 7634887Schin except when used for file expansion. In this case if not 7644887Schin matches are found, the pattern is replaced by nothing rather 7654887Schin than itself. 7664887Schin06-08-11 A bug in the expansion of ${.sh.match[i]:${#.shmatch[i]}} has 7674887Schin been fixed. 7684887Schin06-08-10 The read builtin options -n and -N have been modified to treat 7694887Schin the size as characters rather than bytes unless storing into a 7704887Schin binary (typeset -B) variable. 7714887Schin06-07-27 When the here document operator << is followed directly by a # 7724887Schin rather than a -, the first line of the here-document determines 7734887Schin how much whitespace is removed for each line. 7744887Schin06-07-26 A bug in the C-shell history (enabled with set -H) in which the 7754887Schin history event !$ was not processed has been fixed. 7764887Schin06-07-21 A bug on some systems in which assigning PATH on a command line 7774887Schin would not take effect has been fixed. 7784887Schin06-07-20 Add ksh93 and rksh93 as allowable names for ksh binaries. 7794887Schin06-07-20 Removed the SHOPT_OO compilation option which was only partially 7804887Schin implemented. 7814887Schin06-07-20 The ability to use egrep, grep, and fgrep expressions within 7824887Schin shell patterns has been documented. 7834887Schin06-07-17 A bug with arithmetic command expressions for locales in which 7844887Schin the comma is a thousands separator has been fixed. 7854887Schin06-07-13 The default HISTSIZE was increased from 128 to 512. 7864887Schin06-07-13 A multibyte problem with locales that use shift codes has been fixed. 7874887Schin06-06-23 A number of bug fixes for command, file, and variable completion 7884887Schin have been mode. 7894887Schin06-06-20 Floating point division by zero now yields the constant Inf or -Inf 7904887Schin and floating functions with invalid arguments yield NaN. 7914887Schin06-06-20 The floating point constants Inf and NaN can be used in arithmetic 7924887Schin expressions. 7934887Schin06-06-20 The functions isinf(), isnan(), tanhl() have been added for 7944887Schin arithmetic expressions. 7954887Schin06-06-13 Internal change to use ordering for variables instead of hashing 7964887Schin to speed up prefix matching. 7974887Schin06-06-13 A window between fork/exec in which a signal could get lost 7984887Schin and cause a program to hang has been eliminated 7994887Schin06-06-13 A bug in edit completion with quoted strings has been fixed. 8004887Schin06-06-07 The restricted options can now be enabled by set as well as on 8014887Schin the command line. Once set, it can not be disabled. 8024887Schin06-06-04 Modified built-in binding so that for systems for which /bin 8034887Schin and /usr/bin are the same, a builtin bound to /bin will get 8044887Schin selected when either /bin or /usr/bin is scanned. 8054887Schin06-06-04 Added literal-next character processing for emacs/gmacs mode. 8064887Schin This change is not compatible with earlier versions of ksh93 8074887Schin and ksh88 when the stty lnext is control-v. The sequence 8084887Schin escape-control-v will display the shell version. 8094887Schin06-05-31 Modified emacs and vi mode so that entering a TAB after a partial 8104887Schin TAB completion, generates a listing of possible completions. 8114887Schin After the second TAB, a number followed by a TAB will perform 8124887Schin the completion with the corresponding item. 8134887Schin06-05-19 Modified arithmetic so that conversions to strings default to 8144887Schin the maximum number of precision digits. 8154887Schin06-05-16 Bug fixes for multibyte locales. 8164887Schin06-05-10 The =~ operator was added to [[...]] and [[ string ~= ERE ]] 8174887Schin is equivalent to [[ string == ~(E)ERE ]]. 8184887Schin06-04-25 A bug in the vi edit mode which could cause the shell to core dump 8194887Schin when switching from emacs mode. 8204887Schin06-04-17 A bug in which using LANG or LC_ in assignment lists with builtins 8214887Schin did not restore the localed correctly has been fixed. 8224887Schin06-04-04 A bug in which discipline functions could not be added to variables 8234887Schin whose names started with .sh has been fixed. 8244887Schin06-03-28 The -s option to typeset was added to modify -i to indicate short 8254887Schin integers. 8264887Schin06-03-28 A bug in which variables assignment lists before functions 8274887Schin defined with function name were not passed on the functions 8284887Schin invoked by this function has been fixed. 8294887Schin06-03-28 A bug in which name references defined within a function defined 8304887Schin with function name could not be used with compound variables has 8314887Schin been fixed. 8324887Schin06-03-27 A bug in which read <&p (print >&p) would cause the coprocess input 8334887Schin (output) pipe to close before reading from (after writing to) 8344887Schin it has been fixed. 8354887Schin06-02-28 A bug in which stopping a job created with the hist builtin command 8364887Schin would create a job that could not be restarted has been fixed. 8374887Schin 8384887Schin06-01-24 --- Release ksh93r --- 8394887Schin06-01-24 A bug in which running commands with standard output closed would 8404887Schin not work as expected has been fixed. 8414887Schin06-01-23 A bug in which print -u<n> could fail when file descriptor <n> was 8424887Schin open for writing has been fixed. 8434887Schin06-01-19 The ?: arithmetic operator fixed to work when the operation after 8444887Schin the colon was an assignment. 8454887Schin05-12-24 A bug which could lead to a core dump when elements of a compound 8464887Schin variable were array elements, i.e. foo=(bar=(1 2)), has been fixed. 8474887Schin05-12-13 An arithmetic bug in which x+=y+=z was not working has been fixed. 8484887Schin05-12-13 An arithmetic bug in which x||y was returning x when x was non-zero 8494887Schin rather than 1 has been fixed. 8504887Schin05-12-07 The aliases for integer and float have been changed to use attributes 8514887Schin -li and -lE to handle long long and long double types. 8524887Schin05-12-07 The histexpand (-H) option has been added which allows C-shell 8534887Schin style history expansions using the history character !. 8544887Schin05-12-07 The multiline option was added which changes that way the edit 8554887Schin modes handle lines longer than the window width. Instead of 8564887Schin horizontal scrolling, multiple lines on the screen are used. 8574887Schin05-12-05 The whence builtin now returns an absolute pathname when the 8584887Schin command is found in the current directory. 8594887Schin05-11-29 A bug which caused ksh -c '[[ ! ((' to core dump rather than 8604887Schin report a syntax error has been fixed. 8614887Schin05-11-29 A bug when reading fixed length records into typeset -b variables 8624887Schin which caused a zero byte to terminate the value has been fixed. 8634887Schin05-11-22 The ability to seek to an offset within a file has been added 8644887Schin with the new I/O redirection operators, <# and >#. Currently, 8654887Schin these redirection operators must be followed by ((expr)) 8664887Schin but in a future release, it should be able to used to seek forward 8674887Schin to the specified shell pattern. In addition $(n<#) expands to the 8684887Schin current byte offset for file descriptor n. 8694887Schin05-11-22 The .sh.match array variable is now set after each [[ ... ]] 8704887Schin pattern match. Previously it was only set for substring matches. 8714887Schin05-10-17 A bug in which the library path variable could be prefixed 8724887Schin with a directory when a .path file was not encountered in 8734887Schin the directory of the executable has been fixed. 8744887Schin05-09-15 A for/while loop optimizer bug in which $OPTIND was not 8754887Schin correctly expanded has been fixed. 8764887Schin05-09-05 A bug in which a history command that invoked a history 8774887Schin command could go into an infinite loop has been fixed. 8784887Schin05-08-31 In the case that IFS contains to adjacent new-lines so that 8794887Schin new-line is not treated as a space delimiter, only a single 8804887Schin new-line is deleted at the end of a command substitution. 8814887Schin05-08-19 When a tilde substitution expands to the / directory and is 8824887Schin followed by a /, it is replaced by the empty string. 8834887Schin05-08-16 A bug in which n<&m did not synchronize m has been fixed. 8844887Schin05-08-16 A bug in which process substitution ( <() and >() ) was not 8854887Schin working within for and while loops has been fixed. 8864887Schin05-07-24 A bug in which the pattern ~(E)(foo|bar) was treated as a syntax 8874887Schin error has been fixed. 8884887Schin05-07-24 A bug in completion with <n>=, where n was the one of the 8894887Schin previous selection choices has been fixed. 8904887Schin05-07-21 A bug with multibyte input when no edit mode was specified which 8914887Schin caused the input line to shift left/right has been fixed. 8924887Schin05-06-24 A race condition which could cause the exit status to get lost 8934887Schin on some fast systems has been fixed. 8944887Schin05-06-21 A bug in which nested patterns of the form {m,n}(pat) would cause 8954887Schin syntax errors has been fixed. 8964887Schin05-06-21 A bug in the macro expander has been fixed which could cause a 8974887Schin syntax error for an expansion of the form ${x-$(...)} when 8984887Schin x is set and the command substitution contained certain strings. 8994887Schin05-06-08 On systems for which echo does not do System V style \ expansions, 9004887Schin the -e option was added to enable these expansion. 9014887Schin05-06-08 A bug in which ${var op pattern} to not work when inside an 9024887Schin arithmetic expression has been fixed. 9034887Schin05-05-23 An extension to shell patterns that allows matching of nested 9044887Schin groups while skipping over quoted strings has been added. 9054887Schin05-05-18 A bug in which the line number for errors was not correct for 9064887Schin functions loaded from FPATH has been fixed. 9074887Schin05-04-18 A bug in which the exit status $? is not set when a trap triggered 9084887Schin by the [[...]] command is executed has been fixed. 9094887Schin05-04-08 Redirection operators can be directly preceded with {varname} 9104887Schin with no intervening space, where varname is a variable name which 9114887Schin allows the shell to select a file descriptor > 10 and store it 9124887Schin into varname. 9134887Schin05-04-08 SHOPT_CMDLIB_BLTIN=1 now includes <cmdlist.h> generated table. 9144887Schin05-04-07 [[ -o ?option ]] is true if "option" is a supported option. 9154887Schin05-04-05 A bug in handling file completion with spaces in the names 9164887Schin has been fixed. 9174887Schin05-03-25 The SIGWINCH signal is caught by default to keeps the LINES and 9184887Schin COLUMNS variables in sync with the actual window size. 9194887Schin05-03-25 Building ksh with SHOPT_REMOTE=1 causes ksh to set --rc if stdin is 9204887Schin a socket (presumably part of a remote shell invocation.) 9214887Schin05-03-25 Building ksh with SHOPT_SYSRC=1 causes interactive ksh to source 9224887Schin /etc/ksh.kshrc (if it exists) before sourcing the $ENV file. 9234887Schin05-03-25 {first..last[..incr][%fmt]} sequences added to brace expansions 9244887Schin when braceexpand is enabled. 9254887Schin05-03-03 A bug where a SIGCHLD interrupt could cause a fifo open to fail has 9264887Schin been fixed. 9274887Schin05-02-25 A bug in which a builtin command run in the background could 9284887Schin keep a file descriptor open which could cause a foreground 9294887Schin process to hang has been fixed. 9304887Schin05-02-24 A bug where builtin library commands (e.g., date and TZ) failed to 9314887Schin detect environment variable changes has been fixed. 9324887Schin05-02-22 The read builtin and word splitting are now consistent with respect 9334887Schin to IFS -- both treat IFS as field delimiters. 9344887Schin05-02-22 The read builtin no longer strips off trailing delimiters that 9354887Schin are not space characters when there are fewer variables than fields. 9364887Schin05-02-17 A builtin bug on systems where dlsym(libcmd) returns link-time 9374887Schin bindings has been fixed. 9384887Schin05-02-12 A bug in which the lib_init() function for .paths BUILTIN_LIB 9394887Schin libraries was not called has been fixed. 9404887Schin05-02-06 A bug on some systems in which moving the write end of a co-process 9414887Schin to a numbered file descriptor could cause it to close has been fixed. 9424887Schin05-02-06 A bug in the vi-edit mode in which the character under the cursor 9434887Schin was not deleted in some cases with the d% directive has been fixed. 9444887Schin05-02-06 A bug where external builtin stdout/stderr redirection corrupted 9454887Schin stdout has been fixed. 9464887Schin05-02-04 A bug where times formatting assumed CLK_TCK==60 has been fixed. 9474887Schin 9484887Schin05-01-11 --- Release ksh93q --- 9494887Schin05-01-11 A bug in the integral divide by zero check has been fixed. 9504887Schin05-01-11 The -l option has been added to read /etc/profile and 9514887Schin $HOME/.profile, if they exist, before the first command. 9524887Schin05-01-11 An argument parsing bug that caused `kill -s x -- n' to fail has 9534887Schin been fixed. 9544887Schin05-01-11 The .paths file, introduced in ksh93m, which can appear in 9554887Schin any directory in PATH, now allows a line of the form 'BUILTIN_LIB=.' 9564887Schin When a command is searched for this directory, and the full path 9574887Schin matches the path of the built-in version of the command (listed 9584887Schin by the 'builtin' command) then the built-in version of the command 9594887Schin is used. When ksh is built with SHOPT_CMDLIB_DIR=1 then all libcmd 9604887Schin functions become builtins with the '/opt/ast/bin/' directory prefix. 9614887Schin05-01-10 A bug in which a nameref to a compound name caused a core dump has 9624887Schin been fixed. 9634887Schin05-01-09 A bug in which some SIGCHLD interrupts (from child processes exiting) 9644887Schin caused a fatal print/echo error diagnostic has been fixed. 9654887Schin04-12-24 A bug in which some SIGCHLD interrupts (from child processes exiting) 9664887Schin corrupted the internal process/job list, sometimes causing the shell 9674887Schin to hang, has been fixed. 9684887Schin04-12-01 A bug in which typeset -Fn truncated less than n digits for large 9694887Schin numbers has been fixed. 9704887Schin04-11-25 A bug in which standard error could be closed after a redirection 9714887Schin to /dev/stderr has been fixed. 9724887Schin04-11-17 A bug in which an expansion of the form ${array[@]:3} could expand 9734887Schin to ${array[0]} when ${array[3]} was not set has been fixed. 9744887Schin04-10-22 The -E or -orc command line option reads ${ENV-$HOME/.kshrc} file. 9754887Schin04-10-22 `-o foo' equivalent to `+o nofoo', `-o nobar' equivalent to `+o bar'. 9764887Schin `--foo' equivalent to `-o foo', `--nofoo' equivalent to `+o foo' 9774887Schin04-10-05 The .paths file, introduced in ksh93m, which can appear in 9784887Schin any directory in PATH, now allows a line of the form 9794887Schin 'BUILTIN_LIB=libname'. When a command is searched for this directory, 9804887Schin the shared library named by libname will first be searched for a 9814887Schin built-in version of the command. 9824887Schin04-09-03 <<< here documents now handle quotes in the word token correctly. 9834887Schin04-08-08 The maximum size for read -n and and read -N was increased from 9844887Schin 4095 to 32M. 9854887Schin04-08-04 printf %q was modified so that if an no operand was supplied, no 9864887Schin no output would be generated rather than a quoted empty string. 9874887Schin04-08-01 The -n and -N options of the read builtin has been modified 9884887Schin when reading variables with the binary attribute so that the 9894887Schin data is stored directly rather than through assignment. 9904887Schin04-08-01 The shcomp command has been modified to process alias commands 9914887Schin under some conditions. 9924887Schin04-07-31 The .sh.match variable added in ksh93l, now works like other 9934887Schin indexed arrays. 9944887Schin04-07-08 A loop optimizer bug which occurs when typeset is used in 9954887Schin a for or while loop inside a function has been fixed. 9964887Schin04-06-24 The number of subexpressions in a pattern was increased to 64 9974887Schin from the current number of 20. 9984887Schin04-06-17 The -t option to read was modified to allow seconds to be 9994887Schin specified as any arithmetic expression rather than just 10004887Schin an integral number of seconds, for example even -t 'sin(.5)' 10014887Schin is now valid. 10024887Schin04-06-16 Two small memory leak problems were fixed. 10034887Schin04-06-15 A bug in ${var/pattern/"string"} which occurred when string 10044887Schin contained pattern matching characters has been fixed. 10054887Schin04-05-08 printf $'%d\n' produced an erroneous error message and has 10064887Schin been fixed. 10074887Schin04-05-24 A bug in which an associative array without any elements could 10084887Schin cause a core dump when a script with an associative array with 10094887Schin the same name was declared in a script invoked by name has 10104887Schin been fixed. 10114887Schin04-05-11 A bug in which an exec statement could close the script that 10124887Schin is being processed in a script that is run by name causing 10134887Schin a failure has been fixed. 10144887Schin04-04-28 If the first character of assignment to an integer variable was 0, 10154887Schin the variable had been treated as unsigned. This behavior was 10164887Schin undocumented and has been removed. 10174887Schin04-04-05 A bug in which the positioning of standard input could be incorrect 10184887Schin after reading from standard input from a subshell has been fixed. 10194887Schin04-03-30 A bug in the for loop optimizer which in rare cases could cause 10204887Schin memory corruption has been fixed. 10214887Schin04-03-29 The preset alias source='command .' has been added. 10224887Schin04-03-29 A bug introduced in ksh93p on some systems in which invoked by 10234887Schin name with #! on the first line would not get the signals handling 10244887Schin initialized correctly has been fixed. 10254887Schin04-03-29 A bug introduced in ksh93p in which a HUP signal received by 10264887Schin a shell that is a session group leader was not passed down to 10274887Schin its children has been fixed. 10284887Schin 10294887Schin04-02-28 --- Release ksh93p --- 10304887Schin04-02-28 The ability to apply an append discipline to any variable has 10314887Schin been added. 10324887Schin04-02-14 A bug in which the exportall option (set -a) would cause incorrect 10334887Schin results for arrays has been fixed. 10344887Schin04-02-02 A bug in which an exported array would pass more than 10354887Schin the first element to a script invoked by name has been fixed. 10364887Schin04-02-02 A bug on some systems in which name=value pairs preceding a script 10374887Schin invoked by name was not getting passed to the script has been fixed. 10384887Schin04-01-20 A bug in which an unset discipline function could cause a core 10394887Schin dump on some systems has been fixed. 10404887Schin04-01-12 A bug in which a continue or break called outside a loop from 10414887Schin inside a function defined with name() syntax could affect 10424887Schin the invoking function has been fixed. 10434887Schin04-01-08 If a command name begins with ~, only filename completion will be 10444887Schin attempted rather than pathname completion using the builtin editors. 10454887Schin04-01-08 A bug in the vi edit mode in which the wrong repeat count on 10464887Schin multiple word replacements with the . directive has been fixed. 10474887Schin04-01-06 Backspace characters are now handled correctly in prompt strings. 10484887Schin04-01-06 The getopts builtin has been modified to accept numerical 10494887Schin arguments of size long long on systems that support this. 10504887Schin04-01-06 A bug in which unsetting all elements of an associative array 10514887Schin would cause it to be treated as an indexed array has been fixed. 10524887Schin03-12-15 A bug in which a quoted string ending with an unescaped $ would 10534887Schin delete the ending $ in certain cases has been fixed. 10544887Schin03-12-05 A bug in which the shell could hang when set -x tracing a command 10554887Schin when an invalid multibyte character is encountered has been fixed. 10564887Schin03-12-05 On some systems, if the KEYBD trap is set, then commands that use 10574887Schin the meta key were not processed until return was hit. This 10584887Schin has been fixed. 10594887Schin03-12-05 A problem which occurred when the login shell was not a group 10604887Schin leader that could cause it to fail has been fixed. 10614887Schin03-12-05 A problem in which a shell could core dump after receiving a signal 10624887Schin that should cause it to terminate while it was in the process 10634887Schin of acquiring more space has been fixed. 10644887Schin03-12-05 If ENV is not specified, the shell will default to $HOME/.kshrc 10654887Schin for interactive shells. 10664887Schin03-11-21 A bug introduced in ksh93o in which the DEBUG trap could get 10674887Schin disabled after it triggered has been fixed. 10684887Schin03-11-04 A bug in which using arithmetic prefix operators ++ or -- on a 10694887Schin non-lvalue could cause a core dump has been fixed. 10704887Schin03-11-04 A bug in which leading zeros were stripped from variable 10714887Schin expansions within arithmetic computation to avoid being treated 10724887Schin as octal constants when they should not have, has been fixed. 10734887Schin03-10-08 A bug introduced in ksh93o in which a large here document inside 10744887Schin a function definition could get corrupted has been fixed. 10754887Schin03-09-22 A bug in which the .get discipline function was not being 10764887Schin called when a string variable was implicitly referenced from 10774887Schin within a numerical expression has been fixed. 10784887Schin03-09-22 A bug in which a script without a leading #! could get executed 10794887Schin by /bin/sh rather than the current shell on some systems has 10804887Schin been fixed. 10814887Schin03-09-12 To improve conformance with ksh88, leading zeros will be ignored 10824887Schin when getting the numerical value of a string variable so that 10834887Schin they will not be treated as octal constants. 10844887Schin03-09-03 The builtin kill command now processes obsolete invocations 10854887Schin such as kill -1 -pid. 10864887Schin03-09-02 The restriction on modifying FPATH in a restricted shell (sh -r) 10874887Schin has been documented. 10884887Schin03-09-02 The restricted shell (sh -r) has been modified to disallow 10894887Schin executing command -p. 10904887Schin03-08-07 A bug in which the KEYBD trap was not being invoked when 10914887Schin characters with the 8th bit set has been fixed. 10924887Schin03-08-02 A parser bug introduced in ksh93o which caused the character 10934887Schin after () in a Posix function definition to be skipped 10944887Schin when reading from standard input has been fixed. 10954887Schin03-08-01 A bug in which "${foo#pattern}(x)" treated (x) as if it were 10964887Schin part of the pattern has been fixed. 10974887Schin03-08-01 The command -x option has been modified so that any trailing 10984887Schin arguments that do expand to a single word will be included 10994887Schin on each invocation, so that commands like command -x mv * dir 11004887Schin work as expected. 11014887Schin 11024887Schin03-07-20 --- Release ksh93o+ --- 11034887Schin03-07-20 A bug in which could cause memory corruption when a posix 11044887Schin function invoked another one has been fixed. 11054887Schin03-07-15 A bug in which a file descriptor>2 could be closed before 11064887Schin executing a script has been fixed. 11074887Schin03-07-15 A parsing error for <() and >() process substitutions inside 11084887Schin command substitution has been fixed. 11094887Schin03-07-15 A parsing error for patterns of the form {...}(...) when 11104887Schin used inside ${...} has been fixed. 11114887Schin03-07-15 An error in which expanding an indexed array inside a compound 11124887Schin variable could cause a core dump has been fixed. 1113*10898Sroland.mainz@nrubsig.org03-07-15 A bug in which on rare occasions a job completion interrupt 11144887Schin could cause to core dump has been fixed. 11154887Schin03-06-26 A bug in which process substitution embedded within command 11164887Schin substitution would generate a syntax error has been fixed. 11174887Schin03-96-23 A bug in which ${@:offset:len} could core dump when there 11184887Schin were no arguments has been fixed. 11194887Schin03-96-23 A bug in which ${X[@]:offset:len} could core dump when X 11204887Schin was unset has been fixed. 11214887Schin03-06-22 The -x option was added to the command builtin. If this 11224887Schin option is on, and the number of arguments would exceed ARG_MAX, 11234887Schin the command will be invoked multiple times with a subset of 11244887Schin the arguments. For example, with alias grep='command -x grep, 11254887Schin any number of arguments can be specified. 11264887Schin03-06-14 A bug in which could cause a core dump on some systems with 11274887Schin vi and emacs editors with the MULTIBYTE option has been fixed. 11284887Schin03-06-06 A bug in which the shell could core dump when a script was 11294887Schin run from its directory, and the script name a symlink to a file 11304887Schin beginning with .., has been fixed. 11314887Schin03-06-05 A bug in which the shell could core dump when a child process 11324887Schin that it is unaware of terminates while it is calling malloc() 11334887Schin has been fixed. 11344887Schin03-06-02 An option named globstar (set -G) has been added. When enabled, 11354887Schin during pathname expansion, any component that consists only of ** is 11364887Schin matches all files and any number of directory levels. 11374887Schin03-05-30 A bug in which the PATH search could give incorrect results when 11384887Schin run from directory foo and PATH contained .:foo:xxx has been fixed. 11394887Schin03-05-29 Some changes were made to the code that displays the prompt in edit 11404887Schin mode to better handle escape sequences in the prompt. 11414887Schin03-05-27 I added = to the list of characters that mark the beginning of 11424887Schin a word for edit completion so that filenames in assignments 11434887Schin can be completed. 11444887Schin03-05-20 A bug in which read -N could hang on some systems when reading 11454887Schin from a terminal or a pipe has been fixed. 11464887Schin03-05-19 A bug in which the output of uname from a command substitution 11474887Schin would go to the standard output of the invoking command when 11484887Schin uname was invoked with a non-standard option has been fixed. 11494887Schin03-05-19 A job control bug which would cause the shell to exit because 11504887Schin it hadn't take back the terminal has been fixed. The bug 11514887Schin could occur when running a function that contained a pipeline 11524887Schin whose last element was a function. 11534887Schin03-05-19 A job control timing bug introduced in ksh93o on some systems 11544887Schin which could cause a pipeline to hang if the first component 11554887Schin completed quickly has been fixed. 11564887Schin03-05-13 The read builtin has been modified so that the builtin editors 11574887Schin will not overwrite output from a previous incomplete line. 11584887Schin03-05-13 A bug in which the name of an identifier could have the string 11594887Schin .sh. prefixed to it after expanding a variable whose name begins 11604887Schin with .sh. has been fixed. 11614887Schin03-05-13 A bug in the expansion of $var for compound variables in which 11624887Schin some elements would not be output when the name was a prefix 11634887Schin of another name in the compound variable has been fixed. 11644887Schin03-05-08 The last item in the ksh93o release on 03-01-02 has been 11654887Schin altered slightly to preserve the leading 0's when the 11664887Schin preceding character is a digit. Thus, with typeset -LZ3 x=10, 11674887Schin $(( 1$x)) will be 1010 whereas $(( $x) will be 10. 11684887Schin03-04-25 A bug in which if x is a name reference, then nameref y=x.foo 11694887Schin did not follow x has been fixed. 11704887Schin 11714887Schin03-03-18 --- Release ksh93o --- 11724887Schin03-03-18 A -N unary operator was added to test and [[...]] which returns 11734887Schin true if the file exists and the file has been modified since it 11744887Schin was last read. 11754887Schin03-03-18 The TIMEFORMAT variable was added to control the format for 11764887Schin the time compound command. The formatting description is 11774887Schin described in the man page. 11784887Schin03-03-06 A -N n option was added to read which causes exactly n bytes 11794887Schin to be read unlike -n n which causes at most n bytes to be read. 11804887Schin03-03-03 Three new shell variables were added. The variable .sh.file 11814887Schin stores the full pathname of the file that the current command 11824887Schin was found in. The variable .sh.fun names the current function 11834887Schin that is running. The variable .sh.subshell contains the depth 11844887Schin of the current subshell or command substitution. 11854887Schin03-03-03 When the DEBUG trap is executed, the current command line after 11864887Schin expansions is placed in the variable .sh.command. The trap 11874887Schin is also now triggered before each iteration of a for, select, 11884887Schin and case command and before each assignment and redirection. 11894887Schin03-02-28 Function definitions are no longer stored in the history file so 11904887Schin that set -o nolog no longer has any meaning. 11914887Schin03-02-28 All function definitions can be displayed with typeset -f not 11924887Schin just those stored in the history file. In addition, typeset +f 11934887Schin displays the function name followed by a comment containing the 11944887Schin line number and the path name for the file that defined this function. 11954887Schin03-02-28 A bug in which the value of $LINENO was not correct when executing 11964887Schin command contained inside mult-line command substitutions has been 11974887Schin fixed. 11984887Schin03-02-19 Since some existing ksh88 scripts use the undocumented and 11994887Schin unintended ability to insert a : in front of the % and # parameter 12004887Schin expansion operators, ksh93 was modified to accept :% as equivalent 12014887Schin to % and :# as equivalent to # with ${name op word}. 12024887Schin03-02-14 A bug which could cause a core dump when reading from standard 12034887Schin error when standard error was a pty has been fixed. 12044887Schin03-02-14 The shell arithmetic was modified to use long double on systems 12054887Schin that provide this data type. 12064887Schin03-02-09 A bug in which a function located in the first directory in FPATH 12074887Schin would not be found when the last component of PATH was . and the 12084887Schin current directory was one of the directories in PATH has been fixed. 12094887Schin03-02-07 The trap and kill builtin commands now accept a leading SIG prefix 12104887Schin on the signal names as documented. 12114887Schin03-02-05 A bug in the expansion of ${var/$pattern}, when pattern contained 12124887Schin \[ has been fixed. 12134887Schin03-02-05 A bug in which .sh.match[n], n>0, was not being set for substring 12144887Schin matches with % and %% has been fixed. 12154887Schin03-01-15 A bug in which getopts did not work for numerical arguments specified 12164887Schin as n#var in the getopts string has been fixed. 12174887Schin03-01-09 A bug in which using ${.sh.match} multiple times could lead to 12184887Schin a memory exception has been fixed. 12194887Schin03-01-06 A bug in the expansion of ${var/pattern/$string} in the case that 12204887Schin $string contains \digit has been fixed. 12214887Schin03-01-02 A -P option was added for systems such as Solaris 8 that support 12224887Schin profile shell. 12234887Schin03-01-02 For backward compatibility with ksh88, arithmetic expansion 12244887Schin with ((...)) and let has been modified so that if x is a zero-filled 12254887Schin variable, $x will not be treated as an octal constant. 12264887Schin 12274887Schin02-12-05 --- Release ksh93n+ --- 12284887Schin02-11-30 A bug that can show up in evaluating arithmetic statements that 12294887Schin are in an autoloaded function when the function is autoload from 12304887Schin another function has been fixed. 12314887Schin02-11-30 An optimization bug in which an expansion of the form ${!name.@}, 12324887Schin which occurred inside a for or a while loop, when name is a name 12334887Schin reference, has been fixed. 12344887Schin02-11-18 A bug in which modifying array variables in a subshell could leave 12354887Schin side effects in the parent shell environment has been fixed. 12364887Schin02-11-18 A memory leak when unsetting an associative array has been fixed. 12374887Schin02-11-14 The code to display compound objects was rewritten to make 12384887Schin it easier for runtime extensions to reuse this code. 12394887Schin02-11-14 A change was made to allow runtime builtins to be notified when 12404887Schin a signal is received so that cleanup can be performed. 12414887Schin02-10-31 User applications can now trap the ALRM signal. Previously, 12424887Schin the ALRM signal was used internally and could not be used 12434887Schin by applications. 12444887Schin02-10-31 A bug in which signals received while reading from a coprocess 12454887Schin for which traps were set was not handled correctly has been fixed. 12464887Schin02-10-31 A bug in which a file opened with exec inside a subshell could 12474887Schin be closed before the subshell completed has been fixed. 12484887Schin02-10-21 A bug in which setting PATH or FPATH inside a function might not 12494887Schin take effect has been fixed. 12504887Schin02-10-21 A bug which could cause a core dump when a local SECONDS variable 12514887Schin is defined in a function has been fixed. 12524887Schin02-10-15 A bug in which the associate array name operator ${!array[@]} 12534887Schin could return the same name multiple times has been fixed. 12544887Schin02-10-15 A bug in which the zero'th element of an associative array was 12554887Schin not getting set when an assignment was made without a subscript 12564887Schin specified has been fixed. 12574887Schin 12584887Schin02-09-30 --- Release ksh93n --- 12594887Schin02-09-30 The maximum indexed array size was increased to 16Megs. 12604887Schin02-09-30 A bug which could cause a core dump when changing attributes 12614887Schin of associative array has been fixed. 12624887Schin02-09-30 A bug in which exporting an array variable would not export the 12634887Schin 0-th element has been fixed. 12644887Schin02-09-30 A bug in which an array assignment of the form a=($a ...) would unset 12654887Schin 'a' before the right hand side was evaluated has been fixed. 12664887Schin02-09-27 A bug in which the error message for ${var?message} when var was 12674887Schin null or unset did not contain the variable name var has been fixed. 12684887Schin02-09-27 A bug in which closing file descriptors 0 through 2 could 12694887Schin cause a subsequent here document to fail has been fixed. 12704887Schin02-09-14 A bug in whence which occurs when the specified name contained 12714887Schin a / has been fixed. 12724887Schin02-09-14 A bug in the parser for strings of the form name$((expr))=value 12734887Schin has been fixed. 12744887Schin02-09-14 A for loop optimization bug in which the number of elements in 12754887Schin an array was treated as an invariant has been fixed. 12764887Schin02-09-09 A bug in which redirection or closing of a file descriptor between 12774887Schin 3 and 9 could cause a subsequent here document to fail has been 12784887Schin fixed. 12794887Schin02-09-09 A bug in which a background job was not removed from the job list 12804887Schin when a subshell completed has been fixed, for example (prog&). 12814887Schin02-09-03 A bug in which an assignment of the form name=(integer x=3) 12824887Schin could be interpretted as an array assignment rather than a 12834887Schin compound variable assignment has been fixed. 12844887Schin02-08-19 A command completion bug which occurred on file systems that 12854887Schin are case insensitive has been fixed. 12864887Schin02-08-19 A bug which could lead to an exception on some systems (for 12874887Schin example FREEBSD) which occurred when setting PATH has been fixed. 12884887Schin02-08-11 A bug in arithmetic rounding in which a value input as a decimal 12894887Schin string would output as a rounded version of the string has 12904887Schin been fixed. 12914887Schin02-08-11 A bug in which the last character could be deleted from shell 12924887Schin traces and from whence when called from a multibyte locale 12934887Schin has been fixed. 12944887Schin02-08-01 A bug which could cause a core dump to occur when a shell script 12954887Schin is executed while a coprocess is running that has closed the 12964887Schin output pipe has been fixed. 12974887Schin02-08-01 A bug in which command completion in multibyte mode could 12984887Schin corrupt memory for long command lines has been fixed. 12994887Schin 13004887Schin02-06-17 --- Release ksh93n- --- 13014887Schin02-06-17 A bug in which user defined macros could cause a core dump in 13028462SApril.Chin@Sun.COM with MULTIBYTE mode has been fixed. 13034887Schin02-06-17 A bug in which printf format specifiers of the form %2$s were causing 13044887Schin a core dump has been fixed. 13054887Schin02-06-17 A bug in which setting stty to noecho mode did not prevent the 13064887Schin echoing of characters by ksh when emacs or viraw mode 13074887Schin was enabled has been fixed. 13084887Schin02-06-17 A bug in which background job completion could cause the sleep 13094887Schin builtin to terminate prematurely has been fixed. 13104887Schin02-06-17 A bug in which the shell could core dump if getopts was called 13114887Schin when the OPTIND variable contained a negative value has been fixed. 13124887Schin02-06-10 The edit mode prompt has been modified to handle escape sequences. 13134887Schin02-06-10 A bug which occurred for interactive shells in which the builtin 13144887Schin cat command was used in command substitution on a file whose 13154887Schin size was larger than PIPE_BUF has been fixed. 13164887Schin02-06-10 A bug in which the trap on ERR was not being processed when 13174887Schin set inside a function has been fixed. 13184887Schin02-06-07 A bug in which function definitions could cause the history count 13194887Schin to be decremented by one (and even become negative) has been fixed. 13204887Schin02-06-05 A bug in read in which share mode could be enabled has been fixed. 13214887Schin02-05-28 A bug which could occur when the last command of a script was 13224887Schin a case statement and the action selected ended in ;& instead of ;; 13234887Schin has been fixed. 13244887Schin02-05-23 A bug with unary + introduced in ksh93k has been fixed. 13254887Schin02-05-07 A bug in substitutions of the form ${var/pattern/string} in which 13264887Schin a backslash was inserted in the replacement string when it contained 13274887Schin a special pattern character has been fixed. 13284887Schin02-05-01 A bug in the emacs edit mode which occurred in versions compiled 13294887Schin for multibyte character sets which occurred when a repeated search 13304887Schin was requested after a long line had been returned for the previous 13314887Schin search has been fixed. 13324887Schin02-04-02 vi and emacs edit modes were modified so that tab completion is 13334887Schin disabled when invoked from the read built-in. 13344887Schin 13354887Schin02-03-26 --- Release ksh93m+ --- 13364887Schin02-03-26 A bug in which \ was not handled correctly when used in file 13374887Schin expansion has been fixed. 13384887Schin02-02-18 A bug in which lines beginning with a # were deleted from here 13394887Schin documents when the here-document delimiter was followed by 13404887Schin a comment has been fixed. 13414887Schin02-12-06 An optimization bug in which ${!x[@]) was treated as invariant in 13424887Schin a for loop has been fixed. 13434887Schin02-02-06 A bug in which the ERR trap is not cleared for a script invoked 13444887Schin by name from within a function has been fixed. 13454887Schin02-01-08 A bug in which a shell script executed from within a subshell 13464887Schin could cause this script to have an invalid pointer leading 13474887Schin to a memory fault has been fixed. 13484887Schin02-01-07 Added here documents of the form <<< word (as per zsh) which 13494887Schin is equivalent to << delim\nword\ndelim. 13504887Schin02-01-07 A bug in which the first word of a compound assignment, 13514887Schin x=(word ...), was treated as a reserved word has been fixed. 13524887Schin02-01-07 A bug in the handling of \ when noglob was enabled and a 13534887Schin substitution of the form ${word op pattern} occurred in the 13544887Schin same word has been fixed. 13554887Schin02-01-07 A compilation option, CMDLIB_BLTIN in the file OPTION, has 13564887Schin been added. When this options is set, all commands implemented 13574887Schin in libcmd become shell builtin commands by default. 13584887Schin02-01-07 A bug in which builtin foo, where foo is already a builtin 13594887Schin would result in the builtin foo getting removed has been fixed. 13604887Schin02-01-07 A bug which the shell executed a command found in the current 13614887Schin directory when PATH have no valid directories has been fixed. 13624887Schin01-11-28 The value of $? was not being set when called with exit. 13634887Schin01-11-28 If the last command was of the form (...) and a trap on EXIT or 13644887Schin ERR was set, and the command inside () modified the trap, then 13654887Schin the original trap wasn't executed. 13664887Schin01-11-26 The value for 0 is now preceded by the base number when 13674887Schin the base was not 10. 13684887Schin01-11-26 The default has compilation mode has been changes so that 13694887Schin viraw mode will always be on. 13704887Schin 13714887Schin01-10-31 --- Release ksh93m --- 13724887Schin01-10-31 A for loop optimizer bug for subshells contained withing for 13734887Schin loops has been fixed. 13744887Schin01-10-16 typeset without arguments no longer outputs variable names 13754887Schin that do not have any attributes that are set. 13764887Schin01-10-16 A bug introduced in ksh93l in which assignments specified with 13774887Schin the exec built-in were not being expanded properly has been 13784887Schin fixed. 13794887Schin01-10-11 An optimization bug in which ${!x) was treated as invariant in 13804887Schin a for loop has been fixed. 13814887Schin01-10-11 Unsigned integer variables in bases other than 10 are printed now 13824887Schin expand in that base with the base prefix. 13834887Schin01-10-10 A number of typos in the self generating man pages for shell 13844887Schin built-ins have been fixed. 13854887Schin01-10-04 The self generated man pages for hist and fc were not working 13864887Schin correctly and have been fixed. 13874887Schin01-10-03 Yet another optimizer bug in which shell patterns were 13884887Schin treated as invariants has been fixed. 13894887Schin01-09-27 Two bugs relating to multibyte history searches and to find 13904887Schin have been fixed. 13914887Schin01-09-27 A bug introduced in ksh93k in which the PATH searching was 13924887Schin not restored after running a command with an assignment list 13934887Schin has been fixed. 13944887Schin01-09-26 A bug in which a zero filled field was treated as octal when 13954887Schin converted to integer has been fixed. 13964887Schin01-09-26 Yet another bug in the optimization of for loops related to 13974887Schin recursive functions with break or continue statements has been fixed. 13984887Schin01-09-25 The exponentiation operator ** was added to the shell arithmetic 13994887Schin evaluation. It has higher precedence than * and is left 14004887Schin associative. 14014887Schin01-09-25 The code was modified to use the ast multibyte macros 14024887Schin and functions for handing multibyte locales. 14034887Schin01-09-25 The expansion ${parameter:offset:length} now handles negative 14044887Schin offsets which cause offsets to be measured from the end. 14054887Schin01-09-25 Some spelling errors in the documentation were corrected. 14064887Schin01-09-24 The /dev/tcp/host/port and /dev/udp/host/port now allow 14074887Schin the ports to be specified by service name. 14084887Schin01-09-24 The change staring with ksh93g in which the the appropriate 14094887Schin library path variable is prepended with a corresponding library 14104887Schin directory has been modified. With the new method, only the 14114887Schin library path defined in the file named .paths in the directory 14124887Schin where the executable is found will be modified. See the 14134887Schin man page for more details. 14144887Schin01-09-23 The .fpath file (see ksh93h) is no longer looked for in each 14154887Schin directory on the path to locate function directories. The 14164887Schin file named .paths is used instead. 14174887Schin01-09-23 A bug in which IFS was not being restored after being changed in 14184887Schin a subshell has been fixed. 14194887Schin01-09-16 With the vi and emacs edit modes, after a list of command 14204887Schin or functions is generated with = or M-= respectively, 14214887Schin any element from the list can be pasted on the command line 14224887Schin by preceding the = or M-= with a numeric parameter specifying 14234887Schin the position on the list. 14244887Schin01-09-16 A bug in ksh93l caused command completion not to find aliases 14254887Schin and functions. Command listing from the edit mode was presented 14264887Schin in reverse order. This has been fixed. 14274887Schin01-09-13 Another bug in the optimization of for loops related to subshells 14284887Schin when traps were set has been fixed. 14294887Schin01-09-07 A change in ksh93l caused brace expansion to stop working 14304887Schin and this has been fixed. 14314887Schin01-09-04 A bug introduced in ksh93k in which an arithmetic statement 14324887Schin within a function that used name references did not follow the 14334887Schin reference has been fixed. 14344887Schin01-09-04 A bug introduced in ksh93l in which export -p did not prefix 14354887Schin each export with the word export has been fixed. 14364887Schin01-08-29 A bug in multibyte input which occurred when a partial multibyte 14374887Schin character was received has been fixed. 14384887Schin01-08-29 A bug introduced in ksh93l which could cause a core dump 14394887Schin when an assignment list containing PATH is specified inside 14404887Schin command substitution has been fixed. 14414887Schin01-08-09 Another bug in the optimization of for loops in ksh93l caused 14424887Schin errors in recursive functions using local variables that 14434887Schin contained for loops has been fixed. 14444887Schin01-07-27 A bug in which IFS would be unset after a command substitution 14454887Schin inside a here document has been fixed. 14464887Schin01-07-26 To conform to the POSIX standard, if you invoked ksh name, 14474887Schin and name does not contain a /, it will first try to run 14484887Schin one in the current directory whether it is executable or not 14494887Schin before doing a path search for an executable script. Earlier 14504887Schin versions first checked for an executable script using the 14514887Schin PATH variable. 14524887Schin01-07-23 A bug in which unset -f invoked in a subshell could unset a 14534887Schin function defined in the parent has been fixed. 14544887Schin01-07-16 A bug in the optimization of for loops in ksh93l caused 14554887Schin name references to be treated as invariants has been fixed. 14564887Schin01-07-09 A bug in which a discipline function applied to a local variable 14574887Schin could cause a shell exception has been fixed. Discipline 14584887Schin functions can only be specified for global variables. 14594887Schin 14604887Schin01-06-18 --- Release ksh93l --- 14614887Schin01-06-18 A bug in assigning integers larger than can be represented as 14624887Schin long integers to floating point variables has been fixed. 14634887Schin01-06-18 A bug in the handling of unsigned integers (typeset -ui) has 14644887Schin been fixed. 14654887Schin01-06-04 The evaluation of the PS1 prompt no longer effects the value 14664887Schin of the $? variable. 14674887Schin01-06-01 A small memory leak from subshells has been fixed. 14684887Schin01-05-22 A bug in which attributes for variables that did not have 14694887Schin values would be lost after a subshell has been fixed. 14704887Schin01-05-22 The %R format has been added to convert a shell pattern into 14714887Schin an extended regular expression. 14724887Schin01-05-22 The escape sequences \e, \cX, \C[.collating-element.], and 14734887Schin \x{hex} have been added to ASCII-C strings and to printf format 14744887Schin strings. 14754887Schin01-05-20 Patterns of the form {n}(pattern) and {m,n}(pattern) are now 14764887Schin recognized. The first form matches exactly n of pattern whereas, 14774887Schin the second form matches from m to n instances of pattern. 14784887Schin01-05-20 The shell allows *-(pattern), +-(pattern), ?-(pattern), 14794887Schin {m,n}-(pattern}, and @-(pattern) to cause the minimal 14804887Schin match of pattern to be selected whenever possible rather 14814887Schin than the maximal (greedy) match. 14824887Schin01-05-20 The character class [:word:] has been added to patterns. 14834887Schin The word class is the union of [:alnum:] and the character _. 14844887Schin01-05-20 Inside (...) pattern groups, the \ character is now treated 14854887Schin specially even when in an enclosing character class. The 14864887Schin sequences, \w, \d, \s are equivalent to the character classes 14874887Schin word, digit, and space respectively. The sequences \W, \D, 14884887Schin and \S are their complement sets. 14894887Schin01-05-20 The shell now recognizes pattern groups of the form 14904887Schin ~(options:pattern) where options or :pattern can be omitted. 14914887Schin Options use the letters + and - to enable and disable options 14924887Schin respectively. The option letters g (greedy), i (ignore case) 14934887Schin are used to cause maximal matching and to cause case 14944887Schin insensitive matching respectively. If :pattern is also 14954887Schin specified, these options are only in effect while this 14964887Schin pattern is being processed. Otherwise, these options remain 14974887Schin in effect until the end of the pattern group that they are contained 14984887Schin in or until another ~(...) is encountered. These pattern groups 14994887Schin are not counted with respect to group numbering. 15004887Schin01-05-14 When edit completion, expansion, or listing occurs in the 15014887Schin middle of a quoted string, the leading quote is ignored when 15024887Schin performing the completion, expansion, or listing. 15034887Schin01-05-14 A small memory leak from subshells has been fixed. 15044887Schin01-05-10 A bug in which open files were not restored after a subshell 15054887Schin that had used exec to replace a file has been fixed. 15064887Schin01-05-10 Redirection to a null file name now generates an error message. 15074887Schin01-05-09 The shell now rejects some invalid parameter substitutions that 15084887Schin were previously processed in undefined ways. 15094887Schin01-05-09 A bug in which the output of select was not flushed before the 15104887Schin read when input did not come from the terminal has been fixed. 15114887Schin01-05-08 A bug in which job ids would not be freed for interactive shells 15124887Schin when subshells ran built-ins in the background has been fixed. 15134887Schin01-05-08 The FPATH variable now requires an explicit . to cause the 15144887Schin current directory to be treated as a function directory. 15154887Schin01-05-08 A bug in read -n when echo mode was disabled has been fixed. 15164887Schin01-05-07 A bug in which function definitions could be listed as part 15174887Schin of the history has been fixed. 15184887Schin01-04-30 This release uses a new and often much faster pattern matcher than 15194887Schin earlier releases. 15204887Schin01-04-30 An optimizer now eliminates invariant parameter expansions from 15214887Schin for while and until loops. 15224887Schin01-04-30 The variable .sh.match is set after each pattern match (# % or /) 15234887Schin in a variable substitution. The variable .sh.match is an 15244887Schin indexed array with element 0 being the complete match. 15254887Schin The array is only valid until the next subsequent pattern 15264887Schin match or until the value of the variable changes which ever 15274887Schin comes first. 15284887Schin01-04-30 A self generating man page has been added to shcomp. Also, 15294887Schin shcomp now stops compiling when it finds an exit or exec 15304887Schin command and copies the remainder so that it can be used 15314887Schin for standard input. 15324887Schin01-04-30 The shcomp command was modified so that it can work in an 15334887Schin EBCIDIC environment and that binary scripts are portable 15344887Schin across environments. 15354887Schin01-04-30 A bug in the handling of a trailing : in PATH has been fixed. 15364887Schin01-04-30 A bug in which the builtin version of a command would get invoked 15374887Schin even though the full pathname for the command was specified 15384887Schin has been fixed. 15394887Schin01-04-30 A bug in which read would loose the last character when 15404887Schin reading the last line of a file that did not contain a new-line 15414887Schin character has been fixed. 15424887Schin01-04-23 A bug on some systems in which in vi mode the end of file 15434887Schin character and end of line character could be swapped has 15444887Schin been fixed. 15454887Schin01-04-23 A bug on some systems in which invoking a shell script that 15464887Schin did not have execute permission could set the exit value to 15474887Schin 127 rather than 126 has been fixed. 15484887Schin01-04-20 A bug in which read -n from a pipe would block if fewer than 15494887Schin n characters was received has been fixed. 15504887Schin01-04-09 A bug in which invalid patterns, for example, ) by itself, 15514887Schin was not treated as a string has been fixed so that if i=')', 15524887Schin then [[ $i == $i ]] is true. 15534887Schin01-04-09 The shell arithmetic now interprets C character constants. 15544887Schin01-04-09 A bug in which a non-zero return from a function defined 15554887Schin with the function reserved word did not trigger the ERR 15564887Schin trap or exit with set -e has been fixed. 15574887Schin01-04-02 A bug on some systems, in which characters above 127 were 15584887Schin not displayed correctly in vi or emacs edit mode has been fixed. 15594887Schin01-04-02 A bug on some systems, introduced in the 'k' point release, in 15604887Schin which the erase character in viraw mode was moving the cursor 15614887Schin to the left without erasing the character has been fixed. 15624887Schin01-04-02 On some systems the wcwith() function was returning a wrong 15634887Schin value for characters and caused characters to be displayed 15644887Schin incorrectly from the shell edit modes. A work around for 15654887Schin this problem has been added. 15664887Schin01-03-26 A bug in which valid scripts could produce syntax errors 15674887Schin when run with locales that considered characters such as "'" 15684887Schin to be space characters has been fixed. 15694887Schin01-03-20 A bug in which an syntax error in an arithmetic expression 15704887Schin entered interactively could cause the shell to go into 15714887Schin an infinite loop outputting the error message has been fixed. 15724887Schin01-03-10 ksh93 accepts -l as a synonym for -L in test on systems for 15734887Schin which /bin/test -l tests for symbolic links. 15744887Schin01-03-10 A bug in parsing scripts in which { and } are used in place of 15754887Schin in and esac in case statements embedded in compound commands 15764887Schin has been fixed. Use of { and } for in and esac is obsolete. 15774887Schin01-03-06 A bug in which an argument of the form foo=bar was not 15784887Schin being passed correctly to a traced function whose name 15794887Schin was foo has been fixed. 15804887Schin01-03-02 Using $(trap -p name) did not print the name of the current 15814887Schin trap setting for trap name. 15824887Schin01-02-26 Exported floating point variables gave incorrect results 15834887Schin when passing them to ksh88. This has been fixed. 15844887Schin01-02-25 A race condition in which a coprocess which completed too quickly 15854887Schin would not allow subsequent coprocesses to start has been fixed. 15864887Schin01-02-25 The 'g' format specifier is now handled by printf. It had 15874887Schin inadvertently been omitted. 15884887Schin01-02-20 The + was not being displayed during an execution trace 15894887Schin with the += assignment operator. 15904887Schin01-02-19 The error message which occurs when the interpreter name 15914887Schin defined on the #! line does not exist is more informative. 15924887Schin01-02-19 A bug in which $0 would not be set correctly when a 15934887Schin script with #! was invoked by full pathname from the 15944887Schin directory of the script has been fixed. 15954887Schin01-02-19 A shell script did not always pick up tty mode changes 15964887Schin made by external commands such as stty which could 15974887Schin effect the behavior of read. 15984887Schin01-02-19 The -u, -g, and -k unary tests did not give the correct 15994887Schin results when used with negation and this has been fixed. 16004887Schin 16014887Schin01-02-05 --- Release ksh93k+ --- 16024887Schin01-02-05 The sequence \<newline> inside $'...' was not incrementing 16034887Schin the line count and this has been fixed. 16044887Schin01-02-05 Modified expansion of "${@-}" so that if no arguments are set 16054887Schin it results in null string rather than nothing. 16064887Schin01-02-02 memory leak problem with local variables in functions fixed. 16074887Schin01-01-25 allow arithmetic expressions with float%int and treat them 16084887Schin as ((int)float)%int rather than as an error. 16094887Schin01-01-19 read -n1 was not working and has been fixed. 16104887Schin01-01-17 ksh now handles the case in which a here document in command 16114887Schin substitution $() is terminated by the trailing ). Previously, 16124887Schin a new-line was needed at the end of the delimiter word. 16134887Schin01-01-02 A bug in which a KEYBD trap would cause a multi-line token 16144887Schin to be processed incorrectly has been fixed. 16154887Schin00-12-10 Arithmetic integer constants can now have L and U suffices. 16164887Schin00-12-10 A bug in the processing of arithmetic expressions with compound 16174887Schin variables when the -n option is on has been fixed. 16184887Schin00-12-08 A bug in M-f and M-b from emacs mode has been fixed. This 16194887Schin bug only occurs when ksh93 is compiled without MULTIBYTE enabled. 16204887Schin00-11-29 A bug in which jobs -p would yield 0 for background 16214887Schin jobs run in a script has been fixed. 16224887Schin00-11-21 A bug in integer arrays in which the number of elements is 16234887Schin incorrect when the ++ operator is applied to a non-existing 16244887Schin element has been fixed. For example, integer x; ((x[3]++)). 16254887Schin00-11-20 A timing bug in which the shell could reset the terminal 16264887Schin group to the wrong value in the case that the a new process 16274887Schin changes the terminal group during startup has been fixed. 16284887Schin 16294887Schin00-10-27 --- Release ksh93k --- 16304887Schin00-10-27 Using tab for completion now works only when applied 16314887Schin after a non-blank character at the end of the current line. 16324887Schin In other case a tab is inserted. 16334887Schin00-10-27 A bug in the emacs edit mode for ^X^E has been fixed. 16344887Schin The ^X^E sequence is supposed to invoke the full editor 16354887Schin on the current command. 16364887Schin00-10-18 A bug in which expansions of the form ${var//pattern/string} 16374887Schin did not work correctly when pattern was '/' or "/" has 16384887Schin been fixed. 16394887Schin00-10-18 The output format for indexed arrays in compound variables 16404887Schin has been modified so that it can be used as input. 16414887Schin00-10-18 Assignments with name references (typeset -n) will now 16424887Schin implicitly unreference an existing name reference. 16434887Schin00-10-17 A bug the += append operator when a single array element 16444887Schin is appended to a variable that is not an array has been fixed. 16454887Schin00-10-16 A bug in which the SIGCONT signal was being sent to 16464887Schin each process will kill -0 or kill -n 0 has been fixed. 16474887Schin00-10-12 The arithmetic evaluation portion has been rewritten to 16484887Schin perform a number of optimizations. 16494887Schin00-10-10 A bug in which name prefix matching ${!name.*} was not 16504887Schin checking name to see if it was a name reference has been fixed. 16514887Schin00-09-26 A bug in the multibyte version in which the width of for 16524887Schin non-printing characters was not correct has been fixed. 16534887Schin00-09-12 Made changes to get multibyte editing work on UWIN for windows 16544887Schin00-09-12 A bug in which multibyte characters would be displayed incorrectly 16554887Schin has been fixed. 16564887Schin00-08-08 Removed build dependency on iswprint() and iswalph(). 16574887Schin00-07-20 In some cases the read builtin would read more than a single 16584887Schin line from a pipe on standard input and therefore leave the seek 16594887Schin position in the wrong location. 16604887Schin00-07-05 If the directory / is on the path, a / will not be inserted 16614887Schin between the directory and the file name during path searching 16624887Schin to avoid searching // for systems that treat this specially. 16634887Schin00-06-26 A bug in which on rare occasions wait could return before all 16644887Schin jobs have completed has been fixed. 16654887Schin00-06-21 A bug in which backspace did not work correctly during the 16664887Schin R replace directive in vi-mode has been fixed. 16674887Schin00-06-12 Added variable name completion/expansion/listing to the set of 16684887Schin completions. Variable name completions begin with $ or "$ followed 16694887Schin by a letter. 16704887Schin00-05-09 --- Release ksh93j --- 16714887Schin00-05-09 Modified command substitution to avoid using /tmp files when 16724887Schin run on read-only file systems. 16734887Schin00-04-17 Modified printf to handle '%..Xc' and '%..Xs' options where X 16744887Schin is not an alpha character. Previous versions core dumped with this. 16754887Schin00-04-10 Changes to multibyte editing code were made to use standard 16764887Schin ISO C functions rather than methods devised before the standard. 16774887Schin00-04-09 Add %H options to printf to output strings with <"'&\t> properly 16784887Schin converted for use in HTML and XML documents. 16794887Schin00-04-07 Modified getopts builtin to handle \f...\f in usage string 16804887Schin by invoking specified function. 16814887Schin00-04-04 Added self generating man pages for bg, fc, fg, disown, jobs, 16824887Schin hist, let, ., and ulimit. 16834887Schin00-03-30 The append operator += has been added and can be used 16844887Schin for all assignments, strings, arrays, and compound variables. 16854887Schin00-03-30 Code was modified in several places to support automatic 16864887Schin generation of C locale dictionaries. 16874887Schin00-03-28 A bug in which the set and trap commands invoked with --name 16884887Schin type arguments would terminate the invoking script has 16894887Schin been fixed. 16904887Schin00-03-27 A bug in which the library path variable was not updated 16914887Schin correctly on some systems as described in the 'g' point 16924887Schin release has been fixed. 16934887Schin00-03-07 printf now returns a non-zero exit status when one of 16944887Schin its arguments cannot be converted to the given type. 16954887Schin00-03-05 The return value and error message for a command that 16964887Schin was found on the path but was not executable was set 16974887Schin incorrectly. 16984887Schin00-03-05 A prototype for ioctl() was removed from the vi edit mode. 16994887Schin 17004887Schin00-01-28 --- Release ksh93i --- 17014887Schin00-01-28 Most of the built-in commands and ksh itself are now 17024887Schin self documenting. Running command --man will produce 17034887Schin screen output. Running command --html produces the 17044887Schin man page in html format. 17054887Schin00-01-28 The getopts builtin can process command description 17064887Schin strings to produce man pages. 17074887Schin00-01-28 A bug in which a script could terminate when getopts 17084887Schin encountered an error when invoked inside a function 17094887Schin has been fixed. 17104887Schin00-01-28 When a symbolic link was specified as the name of 17114887Schin the script to invoke by name, the value of $0 was 17124887Schin set to the real file name rather than the link name 17134887Schin in some cases and this has been fixed. 17144887Schin00-01-28 A bug in which the precision given as an argument 17154887Schin to printf was not working has been fixed. 17164887Schin 17174887Schin99-03-31 --- Release ksh93h --- 17184887Schin99-03-31 The PATH search algorithm has been modified to look 17194887Schin for a file named .fpath in each bin directory and if 17204887Schin found, to search for functions in this directory if 17214887Schin it cannot find the command in that directory. 17224887Schin99-03-31 When performing pathname expansion, the shell checks 17234887Schin to see whether each directory it reads is case sensitive 17244887Schin or not, and performs the matching accordingly. 17254887Schin99-03-31 The %T format for printing formatted date/time. 17264887Schin99-03-31 The emacs and vi modes now handle arrow keys when 17274887Schin they use standard ANSI escape sequences. 17284887Schin99-03-31 The TAB key can be used for completion in emacs and viraw mode. 17294887Schin99-03-31 A bug in setting .sh.editchar during the KEYBD trap 17304887Schin for the MULTIBYTE option was fixed in release ksh93h. 17314887Schin99-03-31 A bug in shcomp for compilation of unary operators with [[...]] 17324887Schin has been fixed. 17334887Schin99-03-31 A bug in which the value of $? was changed when executing 17344887Schin a keyboard trap has been fixed. 17354887Schin99-03-31 The handling of SIGCHLD has been changed so that the 17364887Schin trap is not triggered while executing trap commands 17374887Schin to avoid recursive trap calls. 17384887Schin99-03-31 A bug in which a local variable in a function declared readonly 17394887Schin would generated an error when the function went out of 17404887Schin scope has been fixed. 17414887Schin99-03-31 A bug in which \<new_line> entered from the keyboard 17424887Schin with the KEYBD trap enabled has been fixed. 17434887Schin99-03-31 The error message for a misplaced ((, for example print ((3), 17444887Schin was often garbled and has been fixed. 17454887Schin99-03-31 A bug in the KEYBD trap in which escape sequences of the form 17464887Schin <ESC>[#~ were not being handled as a unit has been fixed. 17474887Schin99-03-31 A bug in which ksh would consider expressions like [[ (a) ]] 17484887Schin as syntax errors has been fixed. 17494887Schin99-03-31 A function defined as foo() without a function body 17504887Schin was not reported as a syntax error. 17514887Schin99-03-31 A bug in which ksh could run out of file descriptors when 17524887Schin a stream was repeatedly opened with exec and read from 17534887Schin has been fixed. 17544887Schin 17554887Schin98-04-30 --- Release ksh93g --- 17564887Schin98-04-30 The pipefail option has been added. With pipefail 17574887Schin enabled, a pipeline will not complete until all 17584887Schin commands are complete, and the return value will 17594887Schin be that of the last command to fail, or zero if 17604887Schin all complete successfully. 17614887Schin98-04-30 The name-value pair library uses the cdt library rather 17624887Schin than the hash library. This change should be transparent 17634887Schin to applications. 17644887Schin98-04-30 On the U/WIN version for Window 95 and Windows NT, 17654887Schin when a directory beginning with a letter followed by 17664887Schin a colon is given to cd, it is assumed to be an absolute 17674887Schin directory 17684887Schin98-04-30 When an executable is found on a given path, 17694887Schin the appropriate library path variable is prepended 17704887Schin with a corresponding library directory. 17714887Schin98-04-30 A bug in which a name reference could be created to 17724887Schin itself and later cause the shell to get into an infinite 17734887Schin loop has been fixed. 17744887Schin98-04-30 A bug in shcomp relating to compound variables was fixed. 17754887Schin98-04-30 A bug introduced in ksh93e in which leading 0's in -Z 17764887Schin fields caused the value to be treated as octal for arithmetic 17774887Schin evaluation has been fixed. 17784887Schin98-04-30 A bug when a name reference with a shorter name than 17794887Schin the variable it references was the subject of a compound 17804887Schin assignment has been fixed. 17814887Schin98-04-30 A bug which in which assignment to array variables in 17824887Schin a subshell could effect the parent shell has been 17834887Schin fixed. 17844887Schin98-04-30 read name?prompt was putting a 0 byte at the end of the 17854887Schin prompt on standard error. 17864887Schin98-04-30 A bug in [[ string1 > string2 ]] when ksh was run with -x 17874887Schin has been fixed. 17884887Schin98-04-30 A bug in which the escape character was not processed 17894887Schin correctly inside {...} when brace expansion is enabled 17904887Schin has been fixed, for example {\$foo}. 17914887Schin98-04-30 A bug in line continuation in here-documents has been 17924887Schin fixed. 17934887Schin98-04-30 The default base when not specified with typeset -i is 17944887Schin 10 in accordance with the documentation. Previously, 17954887Schin the value was determined by the first assignment. 17964887Schin98-04-30 A parsing bug in which a # preceded alphanumeric 17974887Schin characters inside a command substitution caused 17984887Schin a syntax error to be reported has been fixed. 17994887Schin98-04-30 A bug in which a decimal constant represented as 10#ddd 18004887Schin where ddd was more than five digits generated a syntax 18014887Schin error has been fixed. 18024887Schin98-04-30 A bug in here document expansion in which ${...} expansions 18034887Schin were split across buffer boundaries has been fixed. 18044887Schin98-04-30 The sh_fun() function now takes third argument which 18054887Schin is an argument list for the invoked discipline function 18064887Schin or built-in. 18074887Schin98-04-30 A callback function can be installed which will give 18084887Schin notification of file duplications and file closes. 18094887Schin98-04-30 When ksh is compiled on systems that do not use fork() 18104887Schin current option settings where not propagated to sub-shells. 18114887Schin 18124887Schin97-06-30 --- Release ksh93f --- 18134887Schin97-06-30 Hostnames in addition to host addresses can be given in 18144887Schin /dev/tcp/host/port virtual file names. 18154887Schin97-06-30 File name completion and expansion now quotes special 18164887Schin characters in file names from both emacs and vi edit modes. 18174887Schin97-06-30 An empty for list behave like a for list with null expansions. 18184887Schin It produces a warning message with sh -n. 18194887Schin97-06-30 The code has been modified to work with EBCDIC as well as ASCII. 18204887Schin97-06-30 A bug which would cause the secondary prompt to be 18214887Schin displayed when a user entered a literal carriage 18224887Schin return has been fixed. 18234887Schin97-06-30 A bug which caused ksh read -s name to core dump was 18244887Schin fixed. 18254887Schin97-06-30 A bug with the expansion of \} and \] inside double 18264887Schin quoted strings that also contained variable expansions 18274887Schin has been fixed 18284887Schin97-06-30 Changes in the ksh93e point release caused autoload 18294887Schin functions invoked from within command substitution 18304887Schin to fail. This has been fixed. 18314887Schin97-06-30 A bug in the processing of here-documents that could 18324887Schin prevent variable substitution to occur after $(...) command 18334887Schin substitution for long here documents has been fixed. 18344887Schin97-06-30 A bug caused by a race condition that could cause SIGTERM 18354887Schin to be ignored by a child process has been fixed. 18364887Schin97-06-30 A bug which prevented the startup of a coprocess immediately 18374887Schin after killing a running coprocess has been fixed. 18384887Schin97-06-30 ulimit foobar, where foobar is not an arithmetic 18394887Schin expression, now gives an error message as it did with ksh88 18404887Schin instead of setting the file size limit to 0. 18414887Schin97-06-30 A bug which could cause an interactive shell to terminate when 18424887Schin the last process of a pipeline was a POSIX function was fixed. 18434887Schin97-06-30 A bug which could cause command substitution of a shell script 18444887Schin to core dump has been fixed. 18454887Schin97-06-30 A security hole was fixed in suid_exec. 18464887Schin97-06-30 Arithmetic functions such as pow() that take more than 18474887Schin one argument, did not work if arguments other than the 18484887Schin first contained parenthesized sub-expression. 18494887Schin97-06-30 The error message from a script containing an incomplete 18504887Schin arithmetic expression has been corrected. 18514887Schin97-06-30 A bug which caused a core dump on some machines when 18524887Schin the value of a name reference contained a positional 18534887Schin parameter and the name reference was not defined inside 18544887Schin a function has been fixed. 18554887Schin97-06-30 Arithmetic expressions now correctly handle hexadecimal 18564887Schin constants. 18574887Schin97-06-30 A bug in which integer variables could be expanded 18584887Schin with a leading 10# when declared with typeset -i 18594887Schin multiple times has been corrected. 18604887Schin97-06-30 A bug in which IFS wasn't correctly restored when 18614887Schin set within command substitution has been fixed. 18624887Schin97-06-30 The _ character is now considered as part of a word 18634887Schin with the M-f and M-b emacs directives as it was in ksh88. 18644887Schin97-06-30 A bug in brace pattern expansions that caused expressions 18654887Schin such as {foo\,bar,bam} to expand incorrectly have been fixed. 18664887Schin 18674887Schin 18684887Schin96-07-31 --- Release ksh93e --- 18694887Schin96-07-31 The math functions, atan2, hypot, fmod, and pow were added. 18704887Schin96-07-31 When a shared library is loaded, if the function lib_init() 18714887Schin is defined in the library, it is invoked the first time that 18724887Schin the library is loaded with builtin -f library. 18734887Schin96-07-31 The k-shell information abstraction database option, KIA, 18744887Schin has been revamped. 18754887Schin96-07-31 Empty command substitutions of the form $() now work. 18764887Schin whence -v foo now gives the correct result after calling 18774887Schin builtin -d foo. 18784887Schin96-07-31 A bug in right to left arithmetic assignment for which 18794887Schin the arithmetic expression (( y = x = 1.5 )) did not 18804887Schin yield 1 for y when x was declared typeset -i was fixed. 18814887Schin96-07-31 printf has been fixed to handle format containing \0 18824887Schin and/or \0145 correctly. In addition, characters following 18834887Schin %b in the format string are no longer displayed when 18844887Schin the operand contains \c. 18854887Schin96-07-31 A bug in printf that could cause the %E format to 18864887Schin produce unnormalized results has been fixed. 18874887Schin96-07-31 A bug which causes some arithmetic expressions to be 18884887Schin incorrectly evaluated as integer expressions rather 18894887Schin that floating point has been fixed. 18904887Schin96-07-31 Functions defined inside a subshell no longer remain 18914887Schin defined when the subshell completes. 18924887Schin96-07-31 The error message from sh -c ';echo foo' has been 18934887Schin corrected. 18944887Schin96-07-31 The format for umask -S has been changed to agree 18954887Schin with the specification in the POSIX standard. 18964887Schin96-07-31 A bug that caused side effects in subscript evaluation 18974887Schin when tracing was enabled for subscripts using ++ or -- 18984887Schin has been fixed. 18994887Schin96-07-31 To conform to the Posix standard getopts has been changed 19004887Schin so that the option char is set to ? when it returns with 19014887Schin a non-zero exit status. 19024887Schin96-07-31 The handling of \} inside ${name...} has been fixed so 19034887Schin that the \ quotes the }. 19044887Schin96-07-31 A bug that caused the read builtin to resume execution 19054887Schin after processing a trap has been fixed. 19064887Schin96-07-31 [[ -s file ]] has been fixed so that if file is open 19074887Schin by ksh, it is flushed first. 19084887Schin96-07-31 In some cases attributes and sizes for non exported 19094887Schin variables weren't being reset before running a script. 19104887Schin96-07-31 The value of TMOUT was affected by changes make to 19114887Schin it in a subshell. 19124887Schin96-07-31 The jobs command did not reflect changes make by 19134887Schin sending the CONT signal to a command. 19144887Schin96-07-31 The error message for ksh -o unknown was incorrect. 19154887Schin96-07-31 Functions invoked as name=value name, did not use 19164887Schin values from the calling scope when evaluating value. 19174887Schin96-07-31 A bug in which the shell would reexecute previously 19184887Schin executed code when a shell script or coprocess was 19194887Schin run in the background has been fixed. 19204887Schin96-07-31 A bug in which an empty here-document would leave 19214887Schin a file descriptor open has been fixed. 19224887Schin96-07-31 A bug in which $(set -A array ...) would leave a 19234887Schin side effect has been fixed. 19244887Schin96-07-31 A discipline function for a global variable defined 19254887Schin within a function defined with the function keyword, 19264887Schin incorrectly created a local variable of the same name 19274887Schin and applied the discipline to it. 19284887Schin 19294887Schin95-08-28 --- Release ksh93d --- 19304887Schin95-08-28 The \ character was not handled correctly in replacement 19314887Schin patterns with ${x/pattern/replace}. 19324887Schin95-08-28 A bug with read in which the line did not end with 19334887Schin a new-line has been fixed. 19344887Schin95-08-28 A bug in file name generation which sometimes 19354887Schin appended a . for filenames that ended in / has 19364887Schin been fixed. 19374887Schin95-08-28 If a process is waited for after a status has 19384887Schin been returned by a previous wait, wait now 19394887Schin returns 127. 19404887Schin95-08-28 A bug with hist (fc) -e which prevented a command 19414887Schin to re-executed after it had been edited has been fixed. 19424887Schin95-08-28 A bug which prevented quoting from removing the meaning 19434887Schin of unary test operators has been fixed. 19444887Schin95-08-28 A bug with typeahead and KEYBOARD traps with the 19454887Schin MULTIBYTE option set has been fixed. 19464887Schin95-08-28 Builtin functions can take a third argument which is 19474887Schin a void*. 19484887Schin95-08-28 The nv_scan() function can restrict the scope of a walk 19494887Schin to the top scope. 19504887Schin 19514887Schin95-04-31 --- Release ksh93c --- 19524887Schin95-04-31 The expansion of "$@" was incorrect when $1 was the null 19534887Schin string. 19544887Schin95-04-31 A bug which could incorrectly report a syntax error in 19554887Schin a backquoted expression when a $ was preceded by \\ 19564887Schin has been fixed. 19574887Schin95-04-31 A bug which prevented the shell from exiting after 19584887Schin reporting an error when failing to open a script 19594887Schin has been fixed. 19604887Schin95-04-31 A bug that could lead to memory corruption when a 19614887Schin large here document that required parameter or command 19624887Schin substitution was expanded has been fixed. 19634887Schin95-04-31 A bug that could cause a core dump on some systems 19644887Schin after ksh detected an error when reading a function 19654887Schin has been fixed. 19664887Schin95-04-31 A bug which could cause a coprocess to hang when 19674887Schin reading from a process that has terminated has been fixed. 19684887Schin95-04-31 A bug which caused a script to terminate when set -e 19694887Schin was on and the first command of and && or || list 19704887Schin failed has been fixed. 19714887Schin95-04-31 A bug with here documents inside $(...) when the delimiter 19724887Schin word is an identifier has been fixed. 19734887Schin95-04-31 A bug which caused $0 to display the wrong value when 19744887Schin a script was invoked as an argument to the . command 19754887Schin and the eval command has been fixed. 19764887Schin95-04-31 A bug that could cause the built-in sleep to hang 19774887Schin has been fixed. 19784887Schin95-04-31 A bug introduces in 12/28/93b which caused the backslash 19794887Schin to be removed when it was followed by digit inside double 19804887Schin quotes in some instances has been fixed. 19814887Schin95-04-31 A bug which could cause a core dump if ksh was invoked with 19824887Schin standard input closed has been fixed. 19834887Schin95-04-31 A bug which could cause a core dump if typeset -A was 19844887Schin specified for an existing variable has been fixed. 19854887Schin95-04-31 Variables that were unset but had attributes such as readonly 19864887Schin and export were not listed with readonly, export and typeset. 19874887Schin95-04-31 Several problems with signals have been fixed. 19884887Schin95-04-31 A bug which prevented ulimit -t from working has been fixed. 19894887Schin Also, a bug in which failed ulimits could cause a core dump 19904887Schin has also been fixed. 19914887Schin95-04-31 A bug in expansion of the form ${name/#pattern/string} and 19924887Schin ${name/%pattern/string} has been fixed. 19934887Schin95-04-31 A bug which caused read -r on a line that contained only 19944887Schin blanks to get a non-null value has been fixed. 19954887Schin95-04-31 A bug introduced in the 'a' point release in which 19964887Schin ${x='\\'} expanded to \ when x was unset has been fixed. 19974887Schin95-04-31 A bug which prevented a trap on EXIT from being executed 19984887Schin when the last command in a script was a function invocation 19994887Schin has been fixed. 20004887Schin95-04-31 A bug which caused an interactive shell ignore input when 20014887Schin standard error was redirected to a file with exec, 20024887Schin and then restored with exec 2>&1 has been fixed. 20034887Schin95-04-31 An interactive shell turns on monitor mode even when 20044887Schin standard error has been redirected to a file. 20054887Schin95-04-31 A bug which could cause standard input to be incorrectly 20064887Schin positioned for the last command of a script has been fixed. 20074887Schin95-04-31 A bug in the edit modes which allowed walking back in 20084887Schin the history file for more than HISTSIZE commands has 20098462SApril.Chin@Sun.COM been fixed. 20104887Schin95-04-31 A bug which could cause a core dump if variable TMPDIR was 20114887Schin changed between two command substitutions has been fixed. 20124887Schin95-04-31. A bug which prevented a trap on EXIT from being cleared 20134887Schin has been fixed. 20144887Schin95-04-31 A bug fixed for the v directive in vi MULTIBYTE has been 20154887Schin fixed. 20164887Schin95-04-31 Code to for IFS handling of multibyte characters has 20174887Schin been added. 20184887Schin95-04-31 The displaying of multibyte strings in export, readonly, 20194887Schin typeset, and execution traces has been fixed. 20204887Schin95-04-31 Variables inside functions are now statically scoped. 20214887Schin The previous behavior was never documented. 20224887Schin95-04-31 Variables inside functions are now statically scoped. 20234887Schin The previous behavior was never documented. 20244887Schin95-04-31 A few changes have been made to the name-value library 20254887Schin that affect built-ins that use disciplines. The 20264887Schin changes allow disciplines to be shared by variables 20274887Schin and should make it possible to add new disciplines 20284887Schin without recompilation. 20294887Schin95-04-31 The name-value library interface has undergone significant 20304887Schin change for this revision. See the new nval.3 man page. 20314887Schin 20324887Schin94-12-31 --- Release ksh93b --- 20334887Schin94-12-31 Variables inside functions are now statically scoped. 20344887Schin The previous behavior was never documented. 20354887Schin94-12-31 If IFS contains two consecutive identical characters belonging 20364887Schin to the [:space:] class, then this character is treated as 20374887Schin a non-space delimiter so that each instance will delimit 20384887Schin a field. For example, IFS=$'\t\t' will cause two consecutive 20394887Schin tabs to delimit a null field. 20404887Schin94-12-31 The getopts command has a -a name option that specifies a 20414887Schin name that will be used for usage messages. 20424887Schin94-12-31 A bug which caused unset RANDOM to dump core has been 20434887Schin fixed. 20444887Schin94-12-31 A bug which prevented return for terminating a profile 20454887Schin or ENV file has been fixed. 20464887Schin94-12-31 A bug which prevented standard input from being 20474887Schin directed to /dev/null for background jobs when 20484887Schin monitor mode was turned off has been fixed. 20494887Schin94-12-31 Statements of the form typeset -options var[expr]=value 20504887Schin did not perform substitutions on expr as expected. 20514887Schin94-12-31 A bug which prevented the shell from sending a HUP 20524887Schin signal to some background jobs that were not disowned 20534887Schin has been fixed. 20544887Schin94-12-31 A bug which allowed a script to trap signals that are 20554887Schin ignored at the time that the shell was invoked by exec 20564887Schin has been fixed. 20574887Schin94-12-31 A bug which could cause a core dump when a discipline 20584887Schin function was unset within a discipline was fixed. 20594887Schin94-12-31 The typeset builtin now accepts a first argument of 20604887Schin + or - for compatibility with ksh88. 20614887Schin94-12-31 For compatibility with ksh88, the results of expansions 20624887Schin of command arguments will treat the extended character 20634887Schin match characters ()|& as ordinary characters. 20644887Schin94-12-31 A bug which caused read to fail on a file that was 20654887Schin open for read/write with <> when the first operation 20664887Schin was print or printf has been fixed. 20674887Schin94-12-31 When a job is suspended, it is put on the top of 20684887Schin the job list as required by the POSIX standard. 20694887Schin94-12-31 The value of OPTARG when an option that required 20704887Schin an argument but didn't have one was incorrect in the 20714887Schin case the the option string began with a :. 20724887Schin94-12-31 A bug which caused the terminal to get into a bad 20734887Schin state with some KEYBD traps in vi-mode has been fixed. 20744887Schin94-12-31 A bug which caused an invalid trap to cause a script 20754887Schin to terminate, rather than just return an error, has 20764887Schin been fixed. 20774887Schin94-12-31 Backreferencing sub-expressions in patterns and replacement 20784887Schin strings now works. 20794887Schin94-12-31 A bug in chmod which caused the -R option to fail has 20804887Schin been fixed. 20814887Schin94-12-31 More signal names have been added for Solaris 20824887Schin 20834887Schin94-06-30 --- Release ksh93a --- 20844887Schin94-06-30 An expansion bug which causes portions of a word after 20854887Schin a $((...)) expansion that contains a nested $var expansion 20864887Schin to be lost has been fixed. 20874887Schin94-06-30 A bug that caused a core dump when a script that did not 20884887Schin have PWD set and did a cd inside command substitution 20894887Schin has been fixed. 20904887Schin94-06-30 A bug which caused a core dump on some machines when 20914887Schin the LANG variable was assigned to has been fixed. 20924887Schin94-06-30 A bug which incorrectly handled set disciplines that 20934887Schin performed arithmetic evaluation when the discipline 20944887Schin was called from the arithmetic evaluator has been fixed. 20954887Schin94-06-30 A bug caused by an EXIT trap inside a function that 20964887Schin was executed in a subshell was fixed. 20974887Schin94-06-30 If foo is a function, and not a program, then command foo 20984887Schin now reports that foo isn't found rather than invoking foo. 20994887Schin94-06-30 The previous version incorrectly listed -A as an 21004887Schin invocation option. The -A option is only for set. 21014887Schin94-06-30 A bug was fixed which caused ksh to loop when execution trace 21024887Schin was enabled and the PS4 prompt required command substitution. 21034887Schin94-06-30 A bug which could cause the job control switch character 21044887Schin to be disabled when a script that enabled monitor mode 21054887Schin terminated was fixed. 21064887Schin94-06-30 A bug in the macro expansion global replacement operator //, 21074887Schin when the pattern began with a [ or +( has been fixed. 21084887Schin94-06-30 A bug which prevented ~ expansion from occurring when 21094887Schin it was terminated with a colon inside an assignment 21104887Schin has been fixed. 21114887Schin94-06-30 A bug in the dot command which prevented autoload functions 21124887Schin from working has been fixed. 21134887Schin94-06-30 A bug which caused a variable to be unset if the 21144887Schin its value were expanded inside a set discipline has 21154887Schin been fixed. 21164887Schin94-06-30 Whence -a now longer reports that a defined function 21174887Schin is undefined. 21184887Schin94-06-30 A bug on some systems in which $0 would be incorrect 21194887Schin in scripts invoked by name has been fixed. 21204887Schin94-06-30 Here documents with an empty body now work. 21214887Schin94-06-30 A bug which disabled argument passing and resetting 21224887Schin of options for a script invoked by name inside a 21234887Schin function has been fixed. 21244887Schin94-06-30 A bug in which an EXIT trap set the caller of a function 21254887Schin would be executed if a command called inside a function 21264887Schin was not found has been fixed. 21274887Schin94-06-30 A bug which allowed a script to trap signals that are 21284887Schin ignored at the time that the shell was invoked has 21294887Schin been fixed. 21304887Schin94-06-30 A bug which caused 2<&1- when applied to a shell built-in 21314887Schin to leave standard input closed has been fixed. 21324887Schin94-06-30 A bug which caused the shell to incorrectly parse 21334887Schin $() command substitutions with nested case statements 21344887Schin has been fixed. 21354887Schin 2136