110-03-05 --- Release ksh93t+ --- 210-03-05 A varibale unset memory leak has been fixed and tests/leaks.sh 3 has been added to verify the fix. 410-03-04 Documentation, comment, and disgnostic spelling typos corrected. 510-02-14 Fix sh_getenv() initialization to cooperate with the 3d fs. 610-02-12 A bug in which the get discipline function was not invoked for 7 associative array subscripts for unset array elements has been fixed. 810-02-12 A bug which could occur if the last line of a script was an eval 9 that executed multiple commands has been fixed. 1010-02-02 A buffer overflow in read and another in binary type base64 11 encoding were fixed. 1210-01-20 A bug in the evaluation of arithmetic expression in which the 13 subscript was evaluated twice for $((foo[x++]++)) has been fixed. 1410-01-19 A workaround for a double-free of a trap in both a subshell and its 15 parent has been added. 1610-01-18 A bug in type handling of typeset -H has been fixed. 1710-01-15 The "adding empty subscript" warning now only emitted with -x set. 1810-01-01 A bug in the parser in which '$((case i in i):;esac);:))' was not 19 parsed correctly was fixed. 2010-01-01 A bug in the parser in which '$(( 2 , 3.6 ))' dumped core for locales 21 with radix char , and thousands separator . has been fixed. 2209-12-28 A bug in the handling of SIGCLD on systems that generated SIGCLD 23 while blocked waiting for process to complete has been fixed. 2409-12-24 ast setlocale() reworked to differentiate env var changes from user 25 override. 2609-12-18 A bug with the SHOPT_BGX option set which disabled traps for signals 27 < SIGCHLD when a trap for a signal > SIGCHLD was set has been fixed. 2809-12-18 A bug where [[ -v var ]] was incorrect for some variables (including 29 LC_* vars) has been fixed. 3009-12-15 A bug that produced a syntax error when a multibyte character 31 straddled a buffer boundary has been fixed. 3209-12-11 A bug where the subscript of an unset variable was not evaluated has 33 been fixed. 3409-12-09 A bug where shcomp dumped core on certain syntax errors has been fixed. 3509-12-07 A bug where a parent shell environment var reset in a subshell removed 36 the value in subsequent children of the parent shell has been fixed. 3709-12-04 A bug in which in some cases a trap in a function executed in 38 a subshell could trigger twice has been fixed. 3909-12-03 A bug in which SHLVL exported with some attributes could cause 40 the shell to abort at startup has been fixed. 4109-12-02 A bug with pipefail in which the shell could hang waiting for the 42 writer to complete before the last reader command has been fixed. 4309-11-30 A bug in which a trap could be inherited by the first element of 44 a pipeline when the command had more than 63 arguments that did 45 not contain any macro expansions has been fixed. 4609-11-19 When read from a terminal was called from with a while or foo loop, 47 and an edit mode was on, a backspace or erase no longer will 48 overwrite the prompt. 4909-11-17 Change .paths parse to handle BUILTIN_LIB=foo BUILTIN_LIB=foo-1.2. 5009-11-17 Inside a function, typeset foo.bar will bind foo to global variable 51 foo if local variable foo does not exist, instead of creating a 52 local variable. 5309-11-17 "read -n1" from the terminal has been fixed to read exactly one character. 5409-11-11 Job control now works for subshell commands, (...). 5509-11-11 If set -e is on for an interactive shell errors in special builtins 56 now cause the shell to exit. 5709-11-11 A bug in which an interrupt handler processed during the read builtin 58 when IFS did not contain a new line has been fixed. 5909-11-09 A bug in which a variable that has been unset in a subshell and then 60 exported from that subshell does not show up in the environment 61 has been fixed. 6209-11-02 ``,2'' is now a valid numeric constant for locales with 63 decimal_point=','. 6409-11-02 A bug where "return" in .profile did not restore the shell state 65 has been fixed. 6609-10-31 A bug that corrupted saved exit status when pids wrapped around has 67 been fixed. 6809-10-26 A bug in { LANG LC_ALL LC_category } ordering has been fixed in -last. 6909-10-16 A bug where notification to libast that the environment has changed 70 has been fixed. 7109-10-12 A bug in which a function loaded in a subshell could leave side 72 effects in the parent shell has been fixed. 7309-10-12 A bug in converting a printf %d operand to a number when the operand 74 contains multiple subscripts for the same variable has been fixed. 7509-10-09 A bug in the handling of the escape character \ in directory prefixes 76 in command completion has been fixed. 7709-10-09 $PATH processing has been changed to delay dir stat() and .paths 78 lookup until the directory is needed in the path search. 7909-09-28 Call the ast setlocale() intercept on unset too. 8009-09-24 A bug in which LANG=foo; LC_ALL=foo; unset LC_ALL; did not revert 81 LC_CTYPE etc. to the LANG value has been fixed. 8209-09-17 A bug in which unsetting SVLVL could cause a script invoked by 83 name without #! to core dump has been fixed. 8409-09-16 A bug in which a pipeline in a here-document could hang when the 85 pipefail option was on has been fixed. 8609-09-09 A bug in the processing of line joining in here documents which 87 occurred when a buffer began with <escape><new-line> has been fixed. 8809-09-09 A leading ; with commands in a brace group or parenthesis group 89 no longer causes an error. It now is used for the "showme" option. 9009-09-09 A bug in which a subshell containing a background process could 91 block until the background process completed has been fixed. 9209-09-04 A bug in handing ${var[sub]}, where var is a nameref has been fixed. 9309-09-03 A bug which caused an index array to have the wrong number of elements 94 when it was converted from a compound variable by adding an another 95 element has been fixed. 9609-09-03 Specifying export for a compound variable now generates an error. 9709-09-02 $"..." localizations strings are no longer recognized inside `...`. 9809-09-01 A bug in the for loop optimizer in the handling of type static 99 variables has been fixed. 10009-09-01 An error message is not displayed when * and @ are used as subscripts. 10109-09-01 Several bugs in the processing for types that included an associative 102 array of another type has been fixed. 10309-09-01 A bug in the tracing of [[ a < b ]] and [[ a > b ]] has been fixed. 10409-08-26 The .sh.file variable was not being set for a script that was run 105 by name and didn't start with #! and this has been fixed. 10609-08-25 A bug in which a function called to deeply from command substitution 107 did not display an error message has been fixed. 10809-08-24 When processing profiles, ksh93 now violates the POSIX standard and 109 treats &> as a redirection operator similar to bash. 11009-08-23 A bug in the handling of the trap on SIGPIPE that could lead to a 111 memory fault has been fixed. 11209-08-21 A bug in the handling of the comma operator in arithmetic expressions 113 that could cause a core dump on some systems has been fixed. 11409-08-20 A bug in which a compound variable containing an array of a type 115 that doesn't have any elements now expands correctly. 11609-08-19 A bug which disabled function tracing inside a function after 117 a call to another function has been fixed. 11809-08-19 A bug in which initializing a compound variable instance to another 119 compound variable by name has been fixed. 12009-08-18 A bug in which compound variable instances could be lost after 121 an instance that invoked a type method discipline has been fixed. 12209-08-18 A bug in which a discipline function for a type applied to an 123 array instance when invoked in a function ignored the subscript 124 has been fixed. 12509-08-18 A scoping error with variables in arithmetic expression with 126 type variables when reference with a name reference has been fixed. 12709-08-10 Several memory leaks were fixed primarily related to subshells. 12809-08-06 A bug in which setting the trap on CHLD to ignore could cause 129 a script to hang has been fixed. 13009-07-08 A bug in the processing of name reference assignments when it 131 contained pattern expansions with quoting has been fixed. 13209-06-22 The default width for typeset -X has been changed so that there 133 should be no loss of precision when converting to a string. 13409-06-19 A bug in the printing of array elements for binary variables with 135 printf %B has been fixed. 13609-06-19 A bug which caused a core dump with trap DEBUG set with an array 137 assignment with no elements has been fixed. 13809-06-19 A bug with read with typeset -b -Z<num> has been fixed. 13909-06-19 Two bugs related to read -b for array variables has been fixed. 14009-06-19 A bug with typeset for compound variables containing arrays of 141 compound variables has been fixed. 14209-06-18 A bug in appending a compound variable to a an indexed array of 143 compound variables has been fixed. 14409-06-18 A bug which occurs when appending a compound variable to an indexed 145 array element has been fixed. 14609-06-18 Setting VISUAL to a value other than one ending in vi or emacs will 147 no longer unset the edit mode. 14809-06-17 A bug in typeset -m when moving a local compound variable to a 149 global compound variable via a name reference has been fixed. 15009-06-17 A bug in appending to nodes of an array of compound variables when 151 addressing them via nameref has been fixed. 15209-06-17 A bug in typeset -p var, when var is an array of compound variables 153 in which the output only contained on array element has been fixed. 15409-06-17 The prefix expansion ${!y.@} now works when y is a name 155 reference to an element of an array. 15609-06-16 Traps on signals that are ignored when the shell is invoked 157 no longer display. Previously they were ignored as required but 158 would be listed with trap -p. 15909-06-12 A bug in vi edit mode in which hitting the up arrow key at the 160 end of a line longer than 40 characters which caused a core dump 161 has been fixed. 16209-06-11 A bug in which "eval non-builtin &" would create two processes, 163 one for the & and another for non-builtin has been fixed. 16409-06-08 When var is an identifier and is unset, ${var} no longer tries to 165 run command substitution on the command var. 16609-06-08 Process substitution arguments of the form <(command) can now be 167 used following the < redirection operator to redirect from command. 16809-05-13 A bug in which redirections of the form 2>&1 1>&5 inside command 169 substitution could cause the command substitution to hang has been 170 fixed. 17109-05-12 To conform with POSIX, the -u option only checks for unset variables 172 and subscript elements rather than checking for all parameters. 17309-05-12 A bug which could cause a core dump when a variable whose name 174 begins with a . was referenced as part of a name reference inside 175 a function has been fixed. 17609-05-01 A bug that caused a core dump when SIGWINCH was received and 177 both vi and emacs mode were off has been fixed. 17809-04-22 Default alias compound='typeset -C' added. 17909-04-15 A bug that caused ${...;} to hang for large files has been fixed. 18009-04-08 A change was made in the -n option which printed out an incorrect 181 warning with <>. 18209-04-07 The emacs edit command M-_ and M_. and the vi command _ was fixed 183 to handle the case there there is no history file. 18409-04-05 A bug in handling new-lines with read -n has been fixed. 18509-04-05 The ENV variable defaults the the file named by $HOME/.kshrc rather 186 then to the string $HOME/.kshrc. 18709-03-31 A bug in which a nested command substitution with redirections could 188 leave a file descriptor open has been fixed. 18909-03-24 ksh now only uses the value of the _ variable on startup if it can 190 verify that it was set by the invoking process rather than being 191 inherited by some other ancestor. 19209-03-24 When ksh is invoked without -p and ruid!=euid, and the shell is 193 compiled without SHOPT_P_UID or ruid<SHOPT_P_UID, the shell now 194 enables the -p option. The previous version instead set the 195 euid to the ruid as it does for set +p. 19609-03-24 When SHOPT_P_UID is defined at compile time and the shell is started 197 without -p and ruid!=euid and ruid>=SHOPT_P_UID then euid is set 198 to ruid. A bug that did the wrong test (ruid<SHOPT_P_UID) was fixed. 19909-03-17 The sleep(1) builtin now accept and ISO 8601 PnYnMnDTnHnMnS 200 duration or date(1) compatible date/time operand. 20109-03-10 If a variable that was left or right justified or zero-filled was 202 changed with a typeset statement that was left or right justified 203 or zero-filled, then the original justification no longer affects 204 the result. 20509-03-10 A bug in the handling of traps when the last command in a script 206 is a subshell grouping command has been fixed. 20709-03-03 A bug in which an expansion of the form ${!prefix@} could generate 208 an exception after the return from a function has been fixed. 20909-02-02 A bug in restricted mode in which the value of ENV could be 210 changed from within a function has been fixed. 21109-02-02 A bug in which an erroneous message indicating that a process 212 terminated with a coredump has been fixed. 21309-02-02 The exit status when exit was called without an argument from 214 a signal handler was incorrect and has been fixed. 21509-02-02 A bug in which a function autoloaded in a subshell could cause 216 a core dump when the subshell completed has been fixed. 21709-02-02 A bug in which 2>&1 inside a command substitution wasn't working 218 correctly has been fixed. 21909-02-02 A bug in the call stack of arithmetic function with 2 args 220 returning int has been fixed. 22109-01-30 A bug in which 'eval print \$0' inside a function was giving the 222 wrong value for $0 has been fixed. 22309-01-28 A bug in which a command substitution could return an exit status 224 of 127 when the pipefail option is enabled has been fixed. 22509-01-26 ksh93 now generates an error message if you attempt to create 226 a global name reference to a local variable. 22709-01-26 The [[ -v var ]] operator was modified to test for array elements. 22809-01-23 The redirection operator <>; was added. It is similar to <> 229 except that if the command it is applied to succeeds, the file 230 is truncated to the offset at the command completion. 23109-01-23 The default file descriptor for <> was changed to 1. 23209-01-20 A bug in which the exit status specified in an exit trap was 233 not used when a process terminated with a signal has been fixed. 23409-01-19 A bug in which a signal whose default action is to terminate 235 a process could be ignored when the process is running a sub-shell 236 has been fixed. 23709-01-19 A bug in which sending SIGWINCH to a process that reads from a pipe 238 could cause a memory fault has been fixed. 23909-01-16 The -R unary operator was added to [[...]] and test to check whether 240 a variable is a name reference. 24109-01-16 The -v unary operator was added to [[...]] and test to check whether 242 a variable is set. 24309-01-14 The unset built-in was modified to return 0 exit status when 244 unsetting a variable that was unset to conform with the POSIX 245 standard. 24609-01-14 The unset built-in was modified to continue to unset variables 247 after encountering a variable that it could not unset to 248 conform to the POSIX standard. 24909-01-14 The parameter expansion ${x+value} no longer expands the value of 250 the variable x when determining whether x is set or not. 25109-01-13 A bug in which background jobs and pipelines that were not waited 252 for could, in rare instances, cause the shell to go into an infinite 253 loop or fail has been fixed. 25409-01-06 A bug in indexed arrays of compound variables in which referencing 255 non-existent sub-variable in an arithmetic expression could cause 256 the sub-variable to be created has been fixed. 25709-01-05 A bug in which the \ character did not escape extended regular 258 expression pattern characters has been fixed. 25908-12-24 A bug in which killing the last element of a pipe did not cause 260 a write to the pipe to generate a SIGPIPE has been fixed. 26108-12-19 A bug which could cause command substitution to hang when the 262 last element of a pipeline in a command substitution was a built-in 263 and the output was more that PIPE_BUFF. 26408-12-18 A bug which occurs when a here documented marker embedded in a 265 command substitution occurs on a buffer boundary has been fixed. 26608-12-17 A bug in the output of typeset -p for variables that had attributes 267 but did not have a value has been fixed. 26808-12-16 A bug in which a name reference to a name reference variable that 269 references an array element has been fixed. 27008-12-16 A bug in which a variable given both the -A and -C attribute along 271 with an initial assignment didn't work correctly has been fixed. 27208-12-10 The [[ -t fd ]] test was fixed to handle fd>9. 27308-12-10 A bug where function stack misalignment could cause a bus error 274 has been fixed. 27508-12-09 Command completion was changed to use \ to quote special characters 276 instead of quoting the argument in single quotes. 27708-12-07 A bug in typeset -m which occurred when the target node was an 278 associative array element has been fixed. 27908-12-07 A timing bug on some systems (for example darwin), that could 280 cause the last process of a pipeline entered interactively to fail 281 with an "Exec format error" has been fixed. 28208-12-04 SHOPT_BGX enables background job extensions. Noted by "J" in 283 the version string when enabled. (1) JOBMAX=n limits the number 284 of concurrent & jobs to n; the n+1 & job will block until a 285 running background job completes. (2) SIGCHLD traps are queued 286 so that each completing background job gets its own trap; $! is 287 set to the job pid and $? is set to the job exit status at the 288 beginning of the trap. (3) sleep -s added to sleep until the time 289 expires or until a signal is delivered. 29008-12-04 The sign of floating point zero is preserved across arithmetic 291 function calls. 29208-12-04 A bug that caused print(1) to produce garbled stdout/stderr 293 output has been fixed. 29408-12-04 A bug in which printf "%d\n" "'<euro>'" did not output the 295 numerical value of the EURO symbol, 8354, has been fixed. 29608-11-24 /dev/fd* and /dev/std* redirections are first attempted with 297 open() to preserve seek semantics; failing that the corresponding 298 file descriptors are dup()'d. 29908-11-20 A bug which could cause a core dump if a function compiled with 300 shcomp was found has been fixed. 30108-11-20 A bug in which jobs were not cleared from the jobs table for 302 interactive shells when the pipefail option is on has been fixed. 30308-11-11 A bug in which a field that was unset in a type definition and later 304 set for an instance could appear twice when displaying the variable 305 has been fixed. 30608-11-11 A bug in which running a simple command & inside a function would 307 not return the correct process id has been fixed. 30808=11-10 A bug in which the exit status of a command could be lost if the pid 309 was that of the most recent command substitution that had completed 310 has been fixed. 31108-11-10 The maximum depth for subshells has been increased from 256 to 65536. 31208-11-06 A bug which could cause a core dump when the _ reference variable was 313 used as an embedded type with a compound assignment has been fixed. 314 31508-10-31 --- Release ksh93t --- 31608-10-31 Variable scoping/initialization bugs that could dump core were fixed. 31708-10-24 The lexer now accepts all RE characters for patterns prefixed 318 with a ksh ~(...) option expression. 31908-10-24 For ${var/pat/sub} \0 in sub expands to the text matched by pat. 32008-10-18 A bug in array scoping that could dump core has been fixed. 32108-10-10 read -n and -N fixed to count characters in multibyte locales. 32208-10-10 A bug that mishandled _.array[] type references has been fixed. 32308-10-09 ${.sh.version} now contains a concatenation of the following (after 324 'Version') denoting compile time features: 325 A SHOPT_AUDIT 326 B SHOPT_BASH 327 L SHOPT_ACCT 328 M SHOPT_MULTIBYTE 32908-10-09 A bug that caused subshell command substitution with redirection 330 to hang has been fixed. 33108-10-08 Output errors, other than to stderr, now result in a diagnostic. 33208-10-08 ksh93 now supports types that contain arrays of other types as 333 members. Earlier versions core dumped in this case. 33408-10-05 A bug which caused the shell to emit a syntax error for an arithmetic 335 statement of the form (( var.name[sub] = value)) has been fixed. 33608-10-01 A bug that caused subshell command substitution to hang has 337 been fixed. 33808-09-29 When the -p export option of typeset is used with other options, 339 only those variables matching the specified options are displayed. 34008-09-29 When the shell reads the environment and finds variables that are 341 not valid shell assignments, it now passes these on to subsequent 342 commands rather than deleting them. 34308-09-29 A bug in the display of compound variables containing an indexed 344 array of compound variables has been fixed. 34508-09-29 A bug in the display of compound variables containing an associative 346 array with a subscript containing a . in the name has been fixed. 34708-09-26 A core dump in the subshell environment restore has been fixed. 34808-09-24 $(...) has been fixed to properly set the exit status in $?. 34908-09-23 $(<...) with IFS=$'\n\n' has been fixed to retain all but the last 350 of multiple trailing newlines. 35108-09-23 The -p option to typeset when used with other attributes, restricts 352 the output to variables with the specified attributes. 35308-09-22 A bug that sometimes lost the exit status of a job has been fixed. 35408-09-21 A bug that retained trailing command substitution newlines in 355 cases where the command caused the shell to fork has been fixed. 35608-09-19 type, whence -v, and command -v were fixed to comply with POSIX 357 by writing 'not found' diagnostics to the standard error. 35808-09-18 test and [...] were fixed to comply with POSIX in the case 359 of test '(' binop ')' where binop is a valid binary test operator. 36008-09-16 If a method discipline named create is specified when defining a 361 type, this function will be called when an instance is created. 36208-09-15 The variable _ is now set as a reference to the compound variable 363 when defining a compound variable or a type. 36408-09-10 The shell now prints an error message when the type name specified 365 for an indexed array subscript is not an enumeration type. 36608-09-10 A bug in which a subshell that spawned a background process could 367 loose output that was produced after the foreground completed 368 has been fixed. 36908-09-10 A timing bug on some systems that could cause coprocesses started by a 370 subshell to not clean up and prevent other coprocesses has been fixed. 37108-09-09 The typeset -m option is now able to rename array elements from 372 the same array. 37308-09-09 The exit status of 2 from the DEBUG trap causes the next command 374 to be skipped. An exit value of 255 from a DEBUG trap called from 375 a function causes the function to return. 37608-09-08 A bug in which a coprocess created in a subshell that did not 377 complete when the subshell terminated could prevent a coprocess 378 from being created in the parent shell has been fixed. 37908-09-05 An assignment of the form name1=name2 where name1 and name2 380 are both compound variables causes name1 to get a copy of name2. 381 name1+=name2 causes name2 sub-variables to be appended to name1. 38208-09-05 A bug in which unsetting a compound variable did not unset all 383 the sub-variables has been fixed. 38408-09-01 A bug in the subshell cleanup code that could cause SIGSEGV has 385 been fixed. 38606-08-26 The SHLVL variable which is an environment variable used by bash 387 and zsh that gets incremented when the shell starts. 38808-08-25 For an indexed array, a negative subscript now refers to offsets 389 from the end so that -1 refers to the last element. 39008-08-24 An alignment error for shorts on 64 bit architectures has been fixed. 39108-08-22 If oldvar is a compound variable, typeset -C newvar=oldvar creates 392 newvar as a copy of oldvar. 39308-08-19 The ALRM signal no longer cause the sleep builtin to terminate. 39408-08-13 When used in an arithmetic expression, the .sh.version variable 395 now produces a number that will be increasing for each release. 39608-08-11 A bug in which type instantiation with a compound assignment in 397 a dot script in which the type is defined has been fixed. 39808-08-07 The -m option has been added to typeset to move or rename a 399 variable. Not documented yet. 40008-08-06 A bug in read when used in a loop when a prompt was specified 401 when reading from a terminal has been fixed. 40208-08-01 A bug with the pipefail option in which a nested pipeline could 403 cause an asynchronous command to block has been fixed. 40408-08-01 A for loop optimizer bug that treats .sh.lineno as an invariant 405 has been fixed. 40608-07-30 A bug in which expanding compound variable that had a get discipline 407 from with a here document could cause a syntax error has been fixed. 40808-07-18 A bug in which a nameref caused a local variable to be created 409 rather than binding to an existing variable in the global scope 410 has been fixed. 41108-07-17 A bug which occurred when a nameref was created from within a 412 function that was part of a pipeline has been fixed. 41308-07-14 The compile option SHOPT_STATS was added. With this option the 414 compound variable .sh.stats keeps usage statistics that could help 415 with performance tuning. 41608-07-10 The output of set now always uses a single line for each variable. 417 For array variables, the complete set of values is now displayed. 41808-07-09 The typeset -C option can be used with arrays to indicate that 419 each element should default to a compound variable. 42008-07-08 The %B format now outputs compound variables and arrays. The 421 alternate flag # can be used to cause output into a single line. 42208-07-03 When the window change signal, WINCH, is received, the current 423 edit line is redrawn in place. 42408-07-01 A bug in the handling of shared variables when inside an embedded 425 type has been fixed. 42608-06-29 A bug in multiline edit mode which occurred when the prompt length 427 was three characters or less has been fixed. 42808-06-23 A bug in which the SIGCLD was not be triggered when background 429 jobs completed has been fixed. 43008-06-23 KSH_VERSION added as a name reference to .sh.version. 43108-06-20 type now outputs 'special builtin' for special builtins. 43208-06-19 A couple of bugs in multi-dimensional arrays have been fixed. 43308-06-19 A bug in which a syntax error in a dot script could generated 434 a syntax error in the next subsequent command has been fixed. 43508-06-17 Reduced the maximum function call depth to 2048 to avoid exceptions 436 on some architectures. 43708-06-16 A bug in which printf "%B" could generate an exception when the 438 specified variable was not set has been fixed. 43908-06-16 When typeset -p is followed by variable names, it now displays 440 the attributes names and values for the specific names. 44108-06-14 A bug that could effect the drawing of the screen from multiline 442 emacs or gmacs mode when walking up the history file has been fixed. 44308-06-13 A bug in which a compound variable defined in a subshell could 444 have side effects into the parent shell has been fixed. 44508-06-13 A number of bugs related to using .sh.level to set the stack from 446 for DEBUG traps have been fixed. 44708-06-13 The .sh.lineno variable has been added. When .sh.level is changed 448 inside a DEBUG trap, the .sh.lineno contains the calling line number 449 for the specified stack frame. 45008-06-13 The .sh.level variable has been documented and now works. 45108-06-11 The -C option has been added to read for reading compound command 452 definitions from a file. 45308-06-11 The . command is now permitted inside a compound command definition. 454 The dot script can contain declaration commands and dot commands. 45508-06-09 Add -C option to typeset so that typeset -C foo, is equivalent 456 to foo=(). 45708-06-09 Added -n warning message for typeset option orderings that are valid 458 with ksh88 but not valid with ksh93, for example Lx5. 45908-06-09 A bug in which the return value for an assignment command containing 460 a command substitution with that failed was zero when the assignment 461 contained redirections has been fixed. 46208-06-09 A bug in the quoting of $ inside a ERE pattern ~(E)(pattern) 463 has been fixed. 46408-06-06 A bug when processing `` command substitution with the character 465 sequence \$' has been fixed. 46608-06-02 When defining a type, the typeset -r attribute causes this field 467 to be required to be specified for each instance of the type and 468 does not allow a default value. 46908-06-02 Several bugs in which compound variables were modified by 470 subshells have been fixed. 47108-05-22 The ceil function has been added to the math functions. 47208-05-21 A bug in which a name reference defined in a function and passed 473 as an argument to another function could cause an incorrect binding. 47408-05-21 A bug in freeing compound variables that are local to functions 475 has been fixed. 47608-05-19 The array expansions ${array[sub1..sub2]} and ${!array[sub1..sub2]} 477 to expand to the value (or subscripts) for array between sub1 and 478 sub2 inclusive. For associative arrays, the range is based on 479 location in the POSIX locale. The .. must be explicit and cannot 480 result from an expansion. 48108-05-15 The trap on SIGCLD is no longer triggered by the completion of 482 the foreground job as with ksh88. 48308-05-14 A bug in the implementation of the editing feature added on 484 07-09-19 in emacs mode has been fixed. 48508-05-12 A bug in processing the test built-in with parenthesis has been 486 fixed. 48708-05-12 The unset built-in now returns non-zero when deleting an array 488 subscript that is not set. 48908-05-08 Changing the value of HISTFILE or HISTSIZE will cause the old 490 history file to be close and reopened with the new name or size. 49108-05-08 When FPATH is changed functions that were found via a path search 492 will be searched for again. 49308-05-08 A parser bug in which reserved words and labels were recognized 494 inside compound indexed array assignment after a new-line has 495 been fixed. 49608-05-07 A bug in getopts when handling numerical option arguments has 497 been fixed. 49808-05-07 The typeset -S option was added for variables outside type 499 definitions to provide a storage class similar to C static 500 inside a function defined with function name. When outside 501 type definitions and outside a function, the -S option cause 502 the specified variable so be unset before the assignment and 503 before the remaining attributes are supplied. 50408-05-07 A bug that affected the cursor movement in multiline mode when 505 a character was deleted from near the beginning of the any 506 line other than the first. 50708-05-01 In multiline edit mode, the refresh operation will now clear 508 the remaining portion of the last line. 50908-05-01 A bug in computing prompt widths for the edit modes for prompts 510 with multibyte characters has been fixed. 51108-05-01 A bug in the multiline edit mode which could cause the current 512 line to be displayed incorrectly when moving backwards from third 513 or higher line to the previous line has been fixed. 51408-05-01 A bug in which options set in functions declared with the function 515 name syntax were carried across into functions invoked by these 516 functions has been fixed. 51708-04-30 A bug which could cause a coprocess to hang when the read end 518 is a builtin command has been fixed. 51908-04-30 The emacs and vi editors have been modified to handle window 520 change commands as soon as they happen rather than waiting for 521 the next command. 52208-04-28 A bug in which ${!x} did not expand to x when x was unset has been 523 fixed. 52408-04-27 A bug in which the assignment x=(typeset -a foo=([0]=abc)) created 525 x.foo as an associative array has been fixed. 52608-04-25 A bug in which $# did not report correctly when there were more 527 than 32K positional parameters has been fixed. 52808-04-04 Choose the name _ as the sub-variable that holds type or instance 529 specific data used by discipline functions. 53008-03-27 A bug in which the terminal group was not given back to the parent 531 shell when the last part of a pipeline was handled by the parent shell 532 and the other parts of the pipeline complete has been fixed. 533 The symptom was that the pipeline became uninterruptable. 53408-03-25 A bug in restricted mode introduced in ksh93s that caused scripts 535 that did not use #! to executed in restricted mode has been fixed. 53608-03-25 A bug in which the pipefail option did not work for a pipeline 537 within a pipeline has been fixed. 53808-03-24 A bug in which OPTIND was not set correctly in subshells has 539 been fixed. 54008-03-24 A bug which could cause a memory exception when a compound variable 541 containing an indexed array with only element 0 defined was expanded. 54208-03-20 A bug in which ${!var[sub].*} was treated as an error has been fixed. 54308-03-20 Associative array assignments of the form ([name]=value ...) 544 now allow ; as well as space tab and new line to separate elements. 54508-03-18 A buffering problem in which standard error was sometimes 546 not flushed before sleep has been fixed. 54708-03-17 A bug in which a signal sent to $$ while in a subshell would be 548 sent to the subshell rather than the parent has been fixed. 54908-03-17 --default option added to set(1) to handle set +o POSIX semantics. 550 set --state added as a long name alias for set +o. 55108-03-14 A bug in which using monitor mode from within a script could 552 cause the terminal group to change has been fixed. 55308-03-10 The new ${...} command substitution will treat the trailing } 554 as a reserved word even if it is not at the beginning of a command, 555 for example, ${ date }. 55608-03-10 If the name of the ENV begins with /./ or ././ then the 557 /etc/ksh.kshrc file will not be executed on systems that support 558 this interactive initialization file. 55908-03-07 A bug in which ksh -i did not run the ENV file has been fixed. 56008-03-07 A bug in which ulimit did not always produce the same output as 561 ulimit -fS has been fixed. 56208-03-04 A bug in multiline mode in emacs and vi mode which could cause the 563 cursor to be on the wrong line when interrupt was hit has been fixed. 56408-03-03 The change made in ksh93s+ on 07-06-18 in which braces became 565 optional for ${a[i]} inside [[...]] was restored in the case 566 where the argument can be a pattern. 56708-03-03 A bug in which creating a name reference to an associative array 568 instance would fail when the subscript contained characters [ or 569 ] has been fixed. 57008-02-29 The redirection operator >; has been added which for non-special 571 files, generates the output in a temporary file and writes the 572 specified file only of the command has completed successfully. 57308-02-15 A bug in ${var/pattern/string} for patterns of the form ?(*) and +(*) 574 has bee fixed. 57508-02-07 A bug in which test \( ! -e \) produced an error has been fixed. 57608-02-14 The typeset -a option can now optionally be followed by the name 577 of an enumeration type which allows subscripts to be enumerations. 57808-02-14 The enum builtin which creates enumeration types has been added. 57908-02-12 The backoff logic when there are no more processes has been fixed. 58008-02-07 The -X option has been added to typeset. The -X option creates 581 a double precision number that gets displayed using the C99 %a 582 format. It can be used along with -l for long double. 58308-01-31 The -T option to typeset has been added for creating typed 584 variables. Also the -h and -S options have been added to 585 typeset that are only applicable when defining a type. 58608-01-31 The prefix expansion operator @ has been added. ${@name} 587 expands to the type of name or yields the attributes. 58807-11-15 A bug in the macro expander for multibyte characters in which 589 part of the character contains a file pattern byte has been fixed. 59007-10-03 A bug in which : was not allowed as part of an alias name has been 591 fixed. 59207-09-26 A bug in which appending a compound variable to a compound variable 593 or to an index array didn't work has been fixed. 59407-09-19 In both emacs and vi edit mode, the escape sequence \E[A (usually 595 cursor up, when the cursor is at the end of the line will fetch 596 the most recent line starting with the current line. 59707-09-18 The value of ${!var} was correct when var was a reference to an 598 array instance. 59907-09-18 The value of ${!var[sub]} was not expanding to var[sub] and this 600 was fixed. It also fixed ${name} where name is a name reference 601 to var[sub]. 60207-09-18 It is now legal to create a name reference without an initialization. 603 It will be bound to a variable on the first assignment. 60407-08-30 A discipline function can be invoked as ${x.foo} and is equivalent 605 to ${ x.foo;} and can be invoked as x.foo inside ((...)). 60607-07-09 A bug in which typeset -a did not list indexed arrays has been 607 fixed. 60807-07-03 The command substitution ${ command;} has been added. It behaves 609 like $(command) except that command is executed in the current 610 shell environment. The ${ must be followed by a blank or an 611 operator. 612 61308-04-17 --- Release ksh93s+ --- 61408-04-17 A bug in which umask was not being restored correctly after a 615 subshell has been fixed. 61608-04-15 A bug in which sending a STOP signal to a job control shell started 617 from within a shell function caused cause the invoking shell to 618 terminate has been fixed. 61908-04-11 A bug which caused $(exec > /dev/null) to go into an infinite loop 620 has been fixed. 62108-03-27 A bug in which typeset -LZ was being treated as -RZ has been fixed. 62208-03-06 A bug with ksh -P on systems that support the the profile shell, 623 in which it would exit after running a non-builtin has been fixed. 62408-01-31 A bug in which command substitution inside ((...)) could cause 625 syntax errors or lead to core dumps has been fixed. 62608-01-17 A bug in which discipline functions could be deleted when invoked 627 from a subshell has been fixed. 62808-01-17 A bug in which a command substitution consisting only of 629 assignments was treated as a noop has been fixed. 63008-01-17 A bug in which discipline functions invoked from withing a 631 compound assignment could fail has been fixed. 63208-01-16 Incomplete arithmetic assignments, for example ((x += )), now 633 generate an error message. 63408-01-16 A bug in which a set discipline defined for a variable before 635 an array assignment could cause a core dump has been fixed. 63608-01-03 A bug in on some systems in which exit status 0 is incorrectly 637 returned by a process that catches the SIGCONT signal is stopped 638 and then continued. 63907-12-13 A race condition in which a program that has been stopped and then 640 continued could loose the exit status has been fixed. 64107-12-12 Code to check for file system out of space write errors for all 642 writes has been added. 64307-12-11 A bug in the macro expander for multibyte characters in which 644 part of the character contains a file pattern byte has been fixed. 64507-12-06 A bug in the emacs edit mode when multiline was set that output 646 a backspace before the newline to the screen has been fixed. 64707-12-04 A bug in which using <n>TAB after a variable name listing expansion 648 in the edit modes would cause the $ to disappear has been fixed. 64907-11-28 A bug in which setting IFS to readonly could cause a subsequent 650 command substitution to fail has been fixed. 65107-11-27 A work around for a gcc 4.* C99 "feature" that could cause a job 652 control shell to go into an infinite loop by adding the volatile 653 attribute to some auto vars in functions that call setjmp(). 65407-11-27 A bug in which the shell could read ahead on a pipe causing the 655 standard input to be incorrectly positioned has been fixed. 65607-11-27 A bug in which compound variable UTF-8 multibyte values were not 657 expanded or traced properly has been fixed. 65807-11-21 A bug where an unbalanced '[' in a command argument was not treated 659 properly has been fixed. 66007-11-15 A bug in which compatibility mode (no long option names) getopts(1) 661 incorrectly set the value of OPTARG for flag options has been fixed. 66207-11-15 A bug in which "hash -- name" treated "--" as an invalid name operand 663 has been fixed. 66407-11-15 typeset now handles "-t -- [-r] [--]" for s5r4 hash(1) compatibility. 66507-11-15 A bug in which the umask builtin mis-handled symbolic mode operands 666 has been fixed. 66707-11-15 Bugs in which shell arithmetic and the printf builtin mis-handled the 668 signs of { -NaN -Inf -0.0 } have been fixed. 66907-11-15 The full { SIGRTMIN SIGRTMIN+1 ... SIGRTMAX-1 SIGRTMAX } range 670 of signals, determined at runtime, are now supported. 67107-11-15 A bug in which creating an index array with only subscript 0 created 672 only a simple variable has been fixed. 67307-11-14 A bug in which appending to an indexed array using the form 674 name+=([sub]=value) could cause the array to become an associative 675 array has been fixed. 67607-11-14 A bug in which typeset without arguments could coredump if a 677 variable is declared as in indexed array and has no elements has 678 been fixed. 67907-11-14 A bug in which creating a local SECONDS variable with typeset in 680 a function could corrupt memory has been fixed. 68107-11-14 A bug which could cause a core dump when a script invoked by name 682 from a function used compound variables has been fixed. 68307-11-05 A bug in which printf %d "'AB" did not diagnose unconverted characters 684 has been fixed. 68507-11-05 printf %g "'A" support added for all floating point formats. 68607-11-01 A bug in which typeset -f fun did not display the function definition 687 when invoked in a subshell has been fixed. 68807-10-29 The sleep builtin was fixed so that all floating point constants 689 are valid operands. 69007-10-10 A bug in which the locale was not being restored after 691 LANG=value command has been fixed. 69207-09-20 A bug in which a nameref to a compound variable that was local 693 to the calling function would not expand correctly when displaying 694 is value has been fixed. 69507-09-19 A bug which cause cause a core dump if .sh.edchar returned 696 80 characters or more from a keyboard trap has been fixed. 69707-09-14 A bug in which could cause a core dump when more than 8 file 698 descriptors were in use has been fixed. 69907-09-10 A bug in which creating a name reference to an instance of 700 an array when the array name is itself a reference has been fixed. 70107-09-10 The file completion code has been modified so that after an = in 702 any word, each : will be considered a path delimiter. 70307-09-06 A bug in which subprocess cleanup could corrupt the malloc() heap 704 has been fixed. 70507-08-26 A bug in which a name reference to an associative array instance 706 could cause the subscript to be evaluated as an arithmetic expression 707 has been fixed. 70807-08-22 A bug in which the value of an array instance was of a compound 709 variable was not expanded correctly has been fixed. 71007-08-14 A bug which could cause a core dump when a compound assignment was 711 made to a compound variable element with a typeset -a attribute 712 has been fixed. 71307-08-08 A bug in which a trap ignored in a subshell caused it to be 714 ignored by the parent has been fixed. 71507-08-07 A bug in which the set command would generated erroneous output 716 for a variable with the -RZ attribute if the variable name had been 717 passed to a function has been fixed. 71807-08-02 A bug in which read x[1] could core dump has been fixed. 71907-08-02 A second bug in which after read x[sub] into an associative array 720 of an element that hasn't been assigned could lead to a core dump 721 has been fixed. 72207-07-31 A bug in which a pipeline that completed correctly could have 723 an exit status of 127 when pipefail was enabled has been fixed. 72407-07-09 The SHOPT_AUDIT compile option has been added for keyboard logging. 72507-06-25 In vi insert mode, ksh no longer emits a backspace character 726 before the carriage return when the newline is entered. 72707-06-25 A bug in which pipefail would cause a command to return 0 728 when the pipeline was the last command and the failure happened 729 on a component other than the last has been fixed. 73007-06-25 A bug in the expansion of ${var/pattern/rep} when pattern or rep 731 contained a left parenthesis in single quotes has been fixed. 73207-06-18 The braces for a subscripted variable with ${var[sub]} are now 733 optional when inside [[...]], ((...)) or as a subscript. 73407-05-28 A bug in brace expansion in which single and double quotes did 735 not treat the comma as a literal character has been fixed. 73607-05-24 The -p option of whence now disables -v. 73707-05-23 Several bug fixes in compound variables and arrays of arrays 738 have been made. 73907-05-15 A bug in which the %B format of printf was affected by the 740 locale has been fixed. 74107-05-14 A bug in which \ was not removed in the replacement pattern with 742 ${var/pattern/rep} when it was not followed by \ or a digit has 743 been fixed. 74407-05-10 A bug in which ksh -R file core dumped if no script was specified 745 has been fixed. it not displays an error message. 74607-05-07 Added additional Solaris signals to signal table. 74707-04-30 A bug in which a pipeline with command substitution inside a 748 function could cause a pipeline that invokes this function to 749 hang when the pipefail option is on has been fixed. 75007-04-30 Added -q to whence. 75107-04-18 A small memory leak with each redirection of a non-builtin has 752 been fixed. 75307-03-08 A bug in which set +o output command line options has been fixed. 75407-03-08 A bug in which an error in read (for example, an invalid variable 755 name), could leave the terminal in raw mode has been fixed. 75607-03-06 A bug in which read could core dump when specified with an array 757 variable with a subscript that is an arithmetic expression has 758 been fixed. 75907-03-06 Several serious bugs with the restricted shell were reported and 760 fixed. 76107-03-02 If a job is stopped, and subsequently restarted with a CONT 762 signal and exits normally, ksh93 was incorrectly exiting with 763 the exit status of the stop signal number. 76407-02-26 M-^L added to emacs mode to clear the screen. 76507-02-26 A bug in which setting a variable readonly in a subshell would 766 cause an unset error when the subshell completed has been fixed. 76707-02-19 The format with printf uses the new = flag to center the output. 76807-02-19 A bug in which ksh93 did not allow multibyte characters in 769 identifier names has been fixed. 77007-02-19 A bug introduced in ksh93 that causes global compound variable 771 definitions inside functions to exit with "no parent" has been fixed. 77207-02-19 A bug in which using compound commands in process redirection 773 arguments would give syntax errors <(...) and >(...) has been fixed. 77407-01-29 A bug which caused the shell to core dump which can occur when a 775 built-in exits without closing files that it opens has been fixed. 77607-01-26 A bug in which ~(E) in patterns containing \ that are not inside () 777 has been fixed. 778 77906-12-29 --- Release ksh93s --- 78006-12-29 A bug in which the value of IFS could be changed after a command 781 substitution has been fixed. 78206-12-22 /dev/(tcp|udp|sctp)/HOST/SEVRICE now handles IPv6 addresses on 783 systems that provide getaddrinfo(3). 78406-12-19 A -v option was added to read. With this option the value of 785 the first variable name argument will become the default value 786 when read from a terminal device. 78706-11-20 A bug in which "${foo[@]:1}}" expands a null argument (instead of 788 no argument), when foo[0] is not empty has been fixed. 78906-11-16 The discipline functions have been modified to allow each subscript 790 to act independently. Currently the discipline function will not 791 be called when called from a discipline function of the same variable. 79206-11-14 A bug which could cause a core dump if a file descriptor for 793 an internal file was closed from with a subshell has been fixed. 79406-10-30 The redirections <# pattern, and <## pattern have been added. 795 Both seek forward to the beginning of the next line that contains 796 the pattern. The <## form copies the skipped portion to standard 797 output. 79806-10-26 On systems that support stream control transport, the virtual file 799 name /dev/sctp/host/port can now be used to establish connections. 80006-10-26 The printf modifier # when used with d produces units in thousands 801 with a single letter suffix added. The modifier # when used with 802 the i specification provides units of 1024 with a two letter suffix. 80306-10-24 The value of $! is now set to the process id of a job put 804 into the background with the bg command as required by POSIX. 80506-10-23 A bug in which the value of $! was affected by a background 806 job started from a subshell has been fixed. 80706-10-23 A bug in ${var:offset:len} in multibyte locales has been fixed. 80806-10-15 The remaining math functions from C99 were added for any system 809 that supports them. 81006-10-13 The klockwork.com software detected a few coding errors that 811 have been fixed. 81206-10-12 A bug when skipping over `...` with ${x:=`...`} when x is set 813 has been fixed. 81406-10-11 A bug in process floating constants produced by the %a format 815 of printf has been fixed. 81606-10-06 A bug in which IFS was not being restored correctly in some 817 cases after a subshell has been fixed. 81806-10-06 A bug in which pipefail was not detecting some failures in 819 pipelines with 3 or more states has been fixed. 82006-10-03 A bug in the processing of >(...) with builtins which could 821 cause the builtin to hang has been fixed. 82206-10-03 A bug in the for loop optimizer which causes >(...) process 823 substitution to be ignored has been fixed. 82406-09-17 The -a option was added to typeset for indexed arrays. This 825 is only needed when using the ([subscript]=value ...) form. 82606-09-06 The showme option was added. Each simple command not beginning 827 with a redirection and not occurring with in the while, until, if, 828 select condition can be preceded by a semi-colon which will 829 be ignored when showme is off. When showme is on, any command 830 preceded by a colon will be traced but not executed. 83106-08-16 As a new feature, a leading ~(N) on a pattern has no effect 832 except when used for file expansion. In this case if not 833 matches are found, the pattern is replaced by nothing rather 834 than itself. 83506-08-11 A bug in the expansion of ${.sh.match[i]:${#.shmatch[i]}} has 836 been fixed. 83706-08-10 The read builtin options -n and -N have been modified to treat 838 the size as characters rather than bytes unless storing into a 839 binary (typeset -B) variable. 84006-07-27 When the here document operator << is followed directly by a # 841 rather than a -, the first line of the here-document determines 842 how much whitespace is removed for each line. 84306-07-26 A bug in the C-shell history (enabled with set -H) in which the 844 history event !$ was not processed has been fixed. 84506-07-21 A bug on some systems in which assigning PATH on a command line 846 would not take effect has been fixed. 84706-07-20 Add ksh93 and rksh93 as allowable names for ksh binaries. 84806-07-20 Removed the SHOPT_OO compilation option which was only partially 849 implemented. 85006-07-20 The ability to use egrep, grep, and fgrep expressions within 851 shell patterns has been documented. 85206-07-17 A bug with arithmetic command expressions for locales in which 853 the comma is a thousands separator has been fixed. 85406-07-13 The default HISTSIZE was increased from 128 to 512. 85506-07-13 A multibyte problem with locales that use shift codes has been fixed. 85606-06-23 A number of bug fixes for command, file, and variable completion 857 have been mode. 85806-06-20 Floating point division by zero now yields the constant Inf or -Inf 859 and floating functions with invalid arguments yield NaN. 86006-06-20 The floating point constants Inf and NaN can be used in arithmetic 861 expressions. 86206-06-20 The functions isinf(), isnan(), tanhl() have been added for 863 arithmetic expressions. 86406-06-13 Internal change to use ordering for variables instead of hashing 865 to speed up prefix matching. 86606-06-13 A window between fork/exec in which a signal could get lost 867 and cause a program to hang has been eliminated 86806-06-13 A bug in edit completion with quoted strings has been fixed. 86906-06-07 The restricted options can now be enabled by set as well as on 870 the command line. Once set, it can not be disabled. 87106-06-04 Modified built-in binding so that for systems for which /bin 872 and /usr/bin are the same, a builtin bound to /bin will get 873 selected when either /bin or /usr/bin is scanned. 87406-06-04 Added literal-next character processing for emacs/gmacs mode. 875 This change is not compatible with earlier versions of ksh93 876 and ksh88 when the stty lnext is control-v. The sequence 877 escape-control-v will display the shell version. 87806-05-31 Modified emacs and vi mode so that entering a TAB after a partial 879 TAB completion, generates a listing of possible completions. 880 After the second TAB, a number followed by a TAB will perform 881 the completion with the corresponding item. 88206-05-19 Modified arithmetic so that conversions to strings default to 883 the maximum number of precision digits. 88406-05-16 Bug fixes for multibyte locales. 88506-05-10 The =~ operator was added to [[...]] and [[ string ~= ERE ]] 886 is equivalent to [[ string == ~(E)ERE ]]. 88706-04-25 A bug in the vi edit mode which could cause the shell to core dump 888 when switching from emacs mode. 88906-04-17 A bug in which using LANG or LC_ in assignment lists with builtins 890 did not restore the localed correctly has been fixed. 89106-04-04 A bug in which discipline functions could not be added to variables 892 whose names started with .sh has been fixed. 89306-03-28 The -s option to typeset was added to modify -i to indicate short 894 integers. 89506-03-28 A bug in which variables assignment lists before functions 896 defined with function name were not passed on the functions 897 invoked by this function has been fixed. 89806-03-28 A bug in which name references defined within a function defined 899 with function name could not be used with compound variables has 900 been fixed. 90106-03-27 A bug in which read <&p (print >&p) would cause the coprocess input 902 (output) pipe to close before reading from (after writing to) 903 it has been fixed. 90406-02-28 A bug in which stopping a job created with the hist builtin command 905 would create a job that could not be restarted has been fixed. 906 90706-01-24 --- Release ksh93r --- 90806-01-24 A bug in which running commands with standard output closed would 909 not work as expected has been fixed. 91006-01-23 A bug in which print -u<n> could fail when file descriptor <n> was 911 open for writing has been fixed. 91206-01-19 The ?: arithmetic operator fixed to work when the operation after 913 the colon was an assignment. 91405-12-24 A bug which could lead to a core dump when elements of a compound 915 variable were array elements, i.e. foo=(bar=(1 2)), has been fixed. 91605-12-13 An arithmetic bug in which x+=y+=z was not working has been fixed. 91705-12-13 An arithmetic bug in which x||y was returning x when x was non-zero 918 rather than 1 has been fixed. 91905-12-07 The aliases for integer and float have been changed to use attributes 920 -li and -lE to handle long long and long double types. 92105-12-07 The histexpand (-H) option has been added which allows C-shell 922 style history expansions using the history character !. 92305-12-07 The multiline option was added which changes that way the edit 924 modes handle lines longer than the window width. Instead of 925 horizontal scrolling, multiple lines on the screen are used. 92605-12-05 The whence builtin now returns an absolute pathname when the 927 command is found in the current directory. 92805-11-29 A bug which caused ksh -c '[[ ! ((' to core dump rather than 929 report a syntax error has been fixed. 93005-11-29 A bug when reading fixed length records into typeset -b variables 931 which caused a zero byte to terminate the value has been fixed. 93205-11-22 The ability to seek to an offset within a file has been added 933 with the new I/O redirection operators, <# and >#. Currently, 934 these redirection operators must be followed by ((expr)) 935 but in a future release, it should be able to used to seek forward 936 to the specified shell pattern. In addition $(n<#) expands to the 937 current byte offset for file descriptor n. 93805-11-22 The .sh.match array variable is now set after each [[ ... ]] 939 pattern match. Previously it was only set for substring matches. 94005-10-17 A bug in which the library path variable could be prefixed 941 with a directory when a .path file was not encountered in 942 the directory of the executable has been fixed. 94305-09-15 A for/while loop optimizer bug in which $OPTIND was not 944 correctly expanded has been fixed. 94505-09-05 A bug in which a history command that invoked a history 946 command could go into an infinite loop has been fixed. 94705-08-31 In the case that IFS contains to adjacent new-lines so that 948 new-line is not treated as a space delimiter, only a single 949 new-line is deleted at the end of a command substitution. 95005-08-19 When a tilde substitution expands to the / directory and is 951 followed by a /, it is replaced by the empty string. 95205-08-16 A bug in which n<&m did not synchronize m has been fixed. 95305-08-16 A bug in which process substitution ( <() and >() ) was not 954 working within for and while loops has been fixed. 95505-07-24 A bug in which the pattern ~(E)(foo|bar) was treated as a syntax 956 error has been fixed. 95705-07-24 A bug in completion with <n>=, where n was the one of the 958 previous selection choices has been fixed. 95905-07-21 A bug with multibyte input when no edit mode was specified which 960 caused the input line to shift left/right has been fixed. 96105-06-24 A race condition which could cause the exit status to get lost 962 on some fast systems has been fixed. 96305-06-21 A bug in which nested patterns of the form {m,n}(pat) would cause 964 syntax errors has been fixed. 96505-06-21 A bug in the macro expander has been fixed which could cause a 966 syntax error for an expansion of the form ${x-$(...)} when 967 x is set and the command substitution contained certain strings. 96805-06-08 On systems for which echo does not do System V style \ expansions, 969 the -e option was added to enable these expansion. 97005-06-08 A bug in which ${var op pattern} to not work when inside an 971 arithmetic expression has been fixed. 97205-05-23 An extension to shell patterns that allows matching of nested 973 groups while skipping over quoted strings has been added. 97405-05-18 A bug in which the line number for errors was not correct for 975 functions loaded from FPATH has been fixed. 97605-04-18 A bug in which the exit status $? is not set when a trap triggered 977 by the [[...]] command is executed has been fixed. 97805-04-08 Redirection operators can be directly preceded with {varname} 979 with no intervening space, where varname is a variable name which 980 allows the shell to select a file descriptor > 10 and store it 981 into varname. 98205-04-08 SHOPT_CMDLIB_BLTIN=1 now includes <cmdlist.h> generated table. 98305-04-07 [[ -o ?option ]] is true if "option" is a supported option. 98405-04-05 A bug in handling file completion with spaces in the names 985 has been fixed. 98605-03-25 The SIGWINCH signal is caught by default to keeps the LINES and 987 COLUMNS variables in sync with the actual window size. 98805-03-25 Building ksh with SHOPT_REMOTE=1 causes ksh to set --rc if stdin is 989 a socket (presumably part of a remote shell invocation.) 99005-03-25 Building ksh with SHOPT_SYSRC=1 causes interactive ksh to source 991 /etc/ksh.kshrc (if it exists) before sourcing the $ENV file. 99205-03-25 {first..last[..incr][%fmt]} sequences added to brace expansions 993 when braceexpand is enabled. 99405-03-03 A bug where a SIGCHLD interrupt could cause a fifo open to fail has 995 been fixed. 99605-02-25 A bug in which a builtin command run in the background could 997 keep a file descriptor open which could cause a foreground 998 process to hang has been fixed. 99905-02-24 A bug where builtin library commands (e.g., date and TZ) failed to 1000 detect environment variable changes has been fixed. 100105-02-22 The read builtin and word splitting are now consistent with respect 1002 to IFS -- both treat IFS as field delimiters. 100305-02-22 The read builtin no longer strips off trailing delimiters that 1004 are not space characters when there are fewer variables than fields. 100505-02-17 A builtin bug on systems where dlsym(libcmd) returns link-time 1006 bindings has been fixed. 100705-02-12 A bug in which the lib_init() function for .paths BUILTIN_LIB 1008 libraries was not called has been fixed. 100905-02-06 A bug on some systems in which moving the write end of a co-process 1010 to a numbered file descriptor could cause it to close has been fixed. 101105-02-06 A bug in the vi-edit mode in which the character under the cursor 1012 was not deleted in some cases with the d% directive has been fixed. 101305-02-06 A bug where external builtin stdout/stderr redirection corrupted 1014 stdout has been fixed. 101505-02-04 A bug where times formatting assumed CLK_TCK==60 has been fixed. 1016 101705-01-11 --- Release ksh93q --- 101805-01-11 A bug in the integral divide by zero check has been fixed. 101905-01-11 The -l option has been added to read /etc/profile and 1020 $HOME/.profile, if they exist, before the first command. 102105-01-11 An argument parsing bug that caused `kill -s x -- n' to fail has 1022 been fixed. 102305-01-11 The .paths file, introduced in ksh93m, which can appear in 1024 any directory in PATH, now allows a line of the form 'BUILTIN_LIB=.' 1025 When a command is searched for this directory, and the full path 1026 matches the path of the built-in version of the command (listed 1027 by the 'builtin' command) then the built-in version of the command 1028 is used. When ksh is built with SHOPT_CMDLIB_DIR=1 then all libcmd 1029 functions become builtins with the '/opt/ast/bin/' directory prefix. 103005-01-10 A bug in which a nameref to a compound name caused a core dump has 1031 been fixed. 103205-01-09 A bug in which some SIGCHLD interrupts (from child processes exiting) 1033 caused a fatal print/echo error diagnostic has been fixed. 103404-12-24 A bug in which some SIGCHLD interrupts (from child processes exiting) 1035 corrupted the internal process/job list, sometimes causing the shell 1036 to hang, has been fixed. 103704-12-01 A bug in which typeset -Fn truncated less than n digits for large 1038 numbers has been fixed. 103904-11-25 A bug in which standard error could be closed after a redirection 1040 to /dev/stderr has been fixed. 104104-11-17 A bug in which an expansion of the form ${array[@]:3} could expand 1042 to ${array[0]} when ${array[3]} was not set has been fixed. 104304-10-22 The -E or -orc command line option reads ${ENV-$HOME/.kshrc} file. 104404-10-22 `-o foo' equivalent to `+o nofoo', `-o nobar' equivalent to `+o bar'. 1045 `--foo' equivalent to `-o foo', `--nofoo' equivalent to `+o foo' 104604-10-05 The .paths file, introduced in ksh93m, which can appear in 1047 any directory in PATH, now allows a line of the form 1048 'BUILTIN_LIB=libname'. When a command is searched for this directory, 1049 the shared library named by libname will first be searched for a 1050 built-in version of the command. 105104-09-03 <<< here documents now handle quotes in the word token correctly. 105204-08-08 The maximum size for read -n and and read -N was increased from 1053 4095 to 32M. 105404-08-04 printf %q was modified so that if an no operand was supplied, no 1055 no output would be generated rather than a quoted empty string. 105604-08-01 The -n and -N options of the read builtin has been modified 1057 when reading variables with the binary attribute so that the 1058 data is stored directly rather than through assignment. 105904-08-01 The shcomp command has been modified to process alias commands 1060 under some conditions. 106104-07-31 The .sh.match variable added in ksh93l, now works like other 1062 indexed arrays. 106304-07-08 A loop optimizer bug which occurs when typeset is used in 1064 a for or while loop inside a function has been fixed. 106504-06-24 The number of subexpressions in a pattern was increased to 64 1066 from the current number of 20. 106704-06-17 The -t option to read was modified to allow seconds to be 1068 specified as any arithmetic expression rather than just 1069 an integral number of seconds, for example even -t 'sin(.5)' 1070 is now valid. 107104-06-16 Two small memory leak problems were fixed. 107204-06-15 A bug in ${var/pattern/"string"} which occurred when string 1073 contained pattern matching characters has been fixed. 107404-05-08 printf $'%d\n' produced an erroneous error message and has 1075 been fixed. 107604-05-24 A bug in which an associative array without any elements could 1077 cause a core dump when a script with an associative array with 1078 the same name was declared in a script invoked by name has 1079 been fixed. 108004-05-11 A bug in which an exec statement could close the script that 1081 is being processed in a script that is run by name causing 1082 a failure has been fixed. 108304-04-28 If the first character of assignment to an integer variable was 0, 1084 the variable had been treated as unsigned. This behavior was 1085 undocumented and has been removed. 108604-04-05 A bug in which the positioning of standard input could be incorrect 1087 after reading from standard input from a subshell has been fixed. 108804-03-30 A bug in the for loop optimizer which in rare cases could cause 1089 memory corruption has been fixed. 109004-03-29 The preset alias source='command .' has been added. 109104-03-29 A bug introduced in ksh93p on some systems in which invoked by 1092 name with #! on the first line would not get the signals handling 1093 initialized correctly has been fixed. 109404-03-29 A bug introduced in ksh93p in which a HUP signal received by 1095 a shell that is a session group leader was not passed down to 1096 its children has been fixed. 1097 109804-02-28 --- Release ksh93p --- 109904-02-28 The ability to apply an append discipline to any variable has 1100 been added. 110104-02-14 A bug in which the exportall option (set -a) would cause incorrect 1102 results for arrays has been fixed. 110304-02-02 A bug in which an exported array would pass more than 1104 the first element to a script invoked by name has been fixed. 110504-02-02 A bug on some systems in which name=value pairs preceding a script 1106 invoked by name was not getting passed to the script has been fixed. 110704-01-20 A bug in which an unset discipline function could cause a core 1108 dump on some systems has been fixed. 110904-01-12 A bug in which a continue or break called outside a loop from 1110 inside a function defined with name() syntax could affect 1111 the invoking function has been fixed. 111204-01-08 If a command name begins with ~, only filename completion will be 1113 attempted rather than pathname completion using the builtin editors. 111404-01-08 A bug in the vi edit mode in which the wrong repeat count on 1115 multiple word replacements with the . directive has been fixed. 111604-01-06 Backspace characters are now handled correctly in prompt strings. 111704-01-06 The getopts builtin has been modified to accept numerical 1118 arguments of size long long on systems that support this. 111904-01-06 A bug in which unsetting all elements of an associative array 1120 would cause it to be treated as an indexed array has been fixed. 112103-12-15 A bug in which a quoted string ending with an unescaped $ would 1122 delete the ending $ in certain cases has been fixed. 112303-12-05 A bug in which the shell could hang when set -x tracing a command 1124 when an invalid multibyte character is encountered has been fixed. 112503-12-05 On some systems, if the KEYBD trap is set, then commands that use 1126 the meta key were not processed until return was hit. This 1127 has been fixed. 112803-12-05 A problem which occurred when the login shell was not a group 1129 leader that could cause it to fail has been fixed. 113003-12-05 A problem in which a shell could core dump after receiving a signal 1131 that should cause it to terminate while it was in the process 1132 of acquiring more space has been fixed. 113303-12-05 If ENV is not specified, the shell will default to $HOME/.kshrc 1134 for interactive shells. 113503-11-21 A bug introduced in ksh93o in which the DEBUG trap could get 1136 disabled after it triggered has been fixed. 113703-11-04 A bug in which using arithmetic prefix operators ++ or -- on a 1138 non-lvalue could cause a core dump has been fixed. 113903-11-04 A bug in which leading zeros were stripped from variable 1140 expansions within arithmetic computation to avoid being treated 1141 as octal constants when they should not have, has been fixed. 114203-10-08 A bug introduced in ksh93o in which a large here document inside 1143 a function definition could get corrupted has been fixed. 114403-09-22 A bug in which the .get discipline function was not being 1145 called when a string variable was implicitly referenced from 1146 within a numerical expression has been fixed. 114703-09-22 A bug in which a script without a leading #! could get executed 1148 by /bin/sh rather than the current shell on some systems has 1149 been fixed. 115003-09-12 To improve conformance with ksh88, leading zeros will be ignored 1151 when getting the numerical value of a string variable so that 1152 they will not be treated as octal constants. 115303-09-03 The builtin kill command now processes obsolete invocations 1154 such as kill -1 -pid. 115503-09-02 The restriction on modifying FPATH in a restricted shell (sh -r) 1156 has been documented. 115703-09-02 The restricted shell (sh -r) has been modified to disallow 1158 executing command -p. 115903-08-07 A bug in which the KEYBD trap was not being invoked when 1160 characters with the 8th bit set has been fixed. 116103-08-02 A parser bug introduced in ksh93o which caused the character 1162 after () in a Posix function definition to be skipped 1163 when reading from standard input has been fixed. 116403-08-01 A bug in which "${foo#pattern}(x)" treated (x) as if it were 1165 part of the pattern has been fixed. 116603-08-01 The command -x option has been modified so that any trailing 1167 arguments that do expand to a single word will be included 1168 on each invocation, so that commands like command -x mv * dir 1169 work as expected. 1170 117103-07-20 --- Release ksh93o+ --- 117203-07-20 A bug in which could cause memory corruption when a posix 1173 function invoked another one has been fixed. 117403-07-15 A bug in which a file descriptor>2 could be closed before 1175 executing a script has been fixed. 117603-07-15 A parsing error for <() and >() process substitutions inside 1177 command substitution has been fixed. 117803-07-15 A parsing error for patterns of the form {...}(...) when 1179 used inside ${...} has been fixed. 118003-07-15 An error in which expanding an indexed array inside a compound 1181 variable could cause a core dump has been fixed. 118203-07-15 A bug in which on rare occasions a job completion interrupt 1183 could cause to core dump has been fixed. 118403-06-26 A bug in which process substitution embedded within command 1185 substitution would generate a syntax error has been fixed. 118603-96-23 A bug in which ${@:offset:len} could core dump when there 1187 were no arguments has been fixed. 118803-96-23 A bug in which ${X[@]:offset:len} could core dump when X 1189 was unset has been fixed. 119003-06-22 The -x option was added to the command builtin. If this 1191 option is on, and the number of arguments would exceed ARG_MAX, 1192 the command will be invoked multiple times with a subset of 1193 the arguments. For example, with alias grep='command -x grep, 1194 any number of arguments can be specified. 119503-06-14 A bug in which could cause a core dump on some systems with 1196 vi and emacs editors with the MULTIBYTE option has been fixed. 119703-06-06 A bug in which the shell could core dump when a script was 1198 run from its directory, and the script name a symlink to a file 1199 beginning with .., has been fixed. 120003-06-05 A bug in which the shell could core dump when a child process 1201 that it is unaware of terminates while it is calling malloc() 1202 has been fixed. 120303-06-02 An option named globstar (set -G) has been added. When enabled, 1204 during pathname expansion, any component that consists only of ** is 1205 matches all files and any number of directory levels. 120603-05-30 A bug in which the PATH search could give incorrect results when 1207 run from directory foo and PATH contained .:foo:xxx has been fixed. 120803-05-29 Some changes were made to the code that displays the prompt in edit 1209 mode to better handle escape sequences in the prompt. 121003-05-27 I added = to the list of characters that mark the beginning of 1211 a word for edit completion so that filenames in assignments 1212 can be completed. 121303-05-20 A bug in which read -N could hang on some systems when reading 1214 from a terminal or a pipe has been fixed. 121503-05-19 A bug in which the output of uname from a command substitution 1216 would go to the standard output of the invoking command when 1217 uname was invoked with a non-standard option has been fixed. 121803-05-19 A job control bug which would cause the shell to exit because 1219 it hadn't take back the terminal has been fixed. The bug 1220 could occur when running a function that contained a pipeline 1221 whose last element was a function. 122203-05-19 A job control timing bug introduced in ksh93o on some systems 1223 which could cause a pipeline to hang if the first component 1224 completed quickly has been fixed. 122503-05-13 The read builtin has been modified so that the builtin editors 1226 will not overwrite output from a previous incomplete line. 122703-05-13 A bug in which the name of an identifier could have the string 1228 .sh. prefixed to it after expanding a variable whose name begins 1229 with .sh. has been fixed. 123003-05-13 A bug in the expansion of $var for compound variables in which 1231 some elements would not be output when the name was a prefix 1232 of another name in the compound variable has been fixed. 123303-05-08 The last item in the ksh93o release on 03-01-02 has been 1234 altered slightly to preserve the leading 0's when the 1235 preceding character is a digit. Thus, with typeset -LZ3 x=10, 1236 $(( 1$x)) will be 1010 whereas $(( $x) will be 10. 123703-04-25 A bug in which if x is a name reference, then nameref y=x.foo 1238 did not follow x has been fixed. 1239 124003-03-18 --- Release ksh93o --- 124103-03-18 A -N unary operator was added to test and [[...]] which returns 1242 true if the file exists and the file has been modified since it 1243 was last read. 124403-03-18 The TIMEFORMAT variable was added to control the format for 1245 the time compound command. The formatting description is 1246 described in the man page. 124703-03-06 A -N n option was added to read which causes exactly n bytes 1248 to be read unlike -n n which causes at most n bytes to be read. 124903-03-03 Three new shell variables were added. The variable .sh.file 1250 stores the full pathname of the file that the current command 1251 was found in. The variable .sh.fun names the current function 1252 that is running. The variable .sh.subshell contains the depth 1253 of the current subshell or command substitution. 125403-03-03 When the DEBUG trap is executed, the current command line after 1255 expansions is placed in the variable .sh.command. The trap 1256 is also now triggered before each iteration of a for, select, 1257 and case command and before each assignment and redirection. 125803-02-28 Function definitions are no longer stored in the history file so 1259 that set -o nolog no longer has any meaning. 126003-02-28 All function definitions can be displayed with typeset -f not 1261 just those stored in the history file. In addition, typeset +f 1262 displays the function name followed by a comment containing the 1263 line number and the path name for the file that defined this function. 126403-02-28 A bug in which the value of $LINENO was not correct when executing 1265 command contained inside mult-line command substitutions has been 1266 fixed. 126703-02-19 Since some existing ksh88 scripts use the undocumented and 1268 unintended ability to insert a : in front of the % and # parameter 1269 expansion operators, ksh93 was modified to accept :% as equivalent 1270 to % and :# as equivalent to # with ${name op word}. 127103-02-14 A bug which could cause a core dump when reading from standard 1272 error when standard error was a pty has been fixed. 127303-02-14 The shell arithmetic was modified to use long double on systems 1274 that provide this data type. 127503-02-09 A bug in which a function located in the first directory in FPATH 1276 would not be found when the last component of PATH was . and the 1277 current directory was one of the directories in PATH has been fixed. 127803-02-07 The trap and kill builtin commands now accept a leading SIG prefix 1279 on the signal names as documented. 128003-02-05 A bug in the expansion of ${var/$pattern}, when pattern contained 1281 \[ has been fixed. 128203-02-05 A bug in which .sh.match[n], n>0, was not being set for substring 1283 matches with % and %% has been fixed. 128403-01-15 A bug in which getopts did not work for numerical arguments specified 1285 as n#var in the getopts string has been fixed. 128603-01-09 A bug in which using ${.sh.match} multiple times could lead to 1287 a memory exception has been fixed. 128803-01-06 A bug in the expansion of ${var/pattern/$string} in the case that 1289 $string contains \digit has been fixed. 129003-01-02 A -P option was added for systems such as Solaris 8 that support 1291 profile shell. 129203-01-02 For backward compatibility with ksh88, arithmetic expansion 1293 with ((...)) and let has been modified so that if x is a zero-filled 1294 variable, $x will not be treated as an octal constant. 1295 129602-12-05 --- Release ksh93n+ --- 129702-11-30 A bug that can show up in evaluating arithmetic statements that 1298 are in an autoloaded function when the function is autoload from 1299 another function has been fixed. 130002-11-30 An optimization bug in which an expansion of the form ${!name.@}, 1301 which occurred inside a for or a while loop, when name is a name 1302 reference, has been fixed. 130302-11-18 A bug in which modifying array variables in a subshell could leave 1304 side effects in the parent shell environment has been fixed. 130502-11-18 A memory leak when unsetting an associative array has been fixed. 130602-11-14 The code to display compound objects was rewritten to make 1307 it easier for runtime extensions to reuse this code. 130802-11-14 A change was made to allow runtime builtins to be notified when 1309 a signal is received so that cleanup can be performed. 131002-10-31 User applications can now trap the ALRM signal. Previously, 1311 the ALRM signal was used internally and could not be used 1312 by applications. 131302-10-31 A bug in which signals received while reading from a coprocess 1314 for which traps were set was not handled correctly has been fixed. 131502-10-31 A bug in which a file opened with exec inside a subshell could 1316 be closed before the subshell completed has been fixed. 131702-10-21 A bug in which setting PATH or FPATH inside a function might not 1318 take effect has been fixed. 131902-10-21 A bug which could cause a core dump when a local SECONDS variable 1320 is defined in a function has been fixed. 132102-10-15 A bug in which the associate array name operator ${!array[@]} 1322 could return the same name multiple times has been fixed. 132302-10-15 A bug in which the zero'th element of an associative array was 1324 not getting set when an assignment was made without a subscript 1325 specified has been fixed. 1326 132702-09-30 --- Release ksh93n --- 132802-09-30 The maximum indexed array size was increased to 16Megs. 132902-09-30 A bug which could cause a core dump when changing attributes 1330 of associative array has been fixed. 133102-09-30 A bug in which exporting an array variable would not export the 1332 0-th element has been fixed. 133302-09-30 A bug in which an array assignment of the form a=($a ...) would unset 1334 'a' before the right hand side was evaluated has been fixed. 133502-09-27 A bug in which the error message for ${var?message} when var was 1336 null or unset did not contain the variable name var has been fixed. 133702-09-27 A bug in which closing file descriptors 0 through 2 could 1338 cause a subsequent here document to fail has been fixed. 133902-09-14 A bug in whence which occurs when the specified name contained 1340 a / has been fixed. 134102-09-14 A bug in the parser for strings of the form name$((expr))=value 1342 has been fixed. 134302-09-14 A for loop optimization bug in which the number of elements in 1344 an array was treated as an invariant has been fixed. 134502-09-09 A bug in which redirection or closing of a file descriptor between 1346 3 and 9 could cause a subsequent here document to fail has been 1347 fixed. 134802-09-09 A bug in which a background job was not removed from the job list 1349 when a subshell completed has been fixed, for example (prog&). 135002-09-03 A bug in which an assignment of the form name=(integer x=3) 1351 could be interpretted as an array assignment rather than a 1352 compound variable assignment has been fixed. 135302-08-19 A command completion bug which occurred on file systems that 1354 are case insensitive has been fixed. 135502-08-19 A bug which could lead to an exception on some systems (for 1356 example FREEBSD) which occurred when setting PATH has been fixed. 135702-08-11 A bug in arithmetic rounding in which a value input as a decimal 1358 string would output as a rounded version of the string has 1359 been fixed. 136002-08-11 A bug in which the last character could be deleted from shell 1361 traces and from whence when called from a multibyte locale 1362 has been fixed. 136302-08-01 A bug which could cause a core dump to occur when a shell script 1364 is executed while a coprocess is running that has closed the 1365 output pipe has been fixed. 136602-08-01 A bug in which command completion in multibyte mode could 1367 corrupt memory for long command lines has been fixed. 1368 136902-06-17 --- Release ksh93n- --- 137002-06-17 A bug in which user defined macros could cause a core dump in 1371 with MULTIBYTE mode has been fixed. 137202-06-17 A bug in which printf format specifiers of the form %2$s were causing 1373 a core dump has been fixed. 137402-06-17 A bug in which setting stty to noecho mode did not prevent the 1375 echoing of characters by ksh when emacs or viraw mode 1376 was enabled has been fixed. 137702-06-17 A bug in which background job completion could cause the sleep 1378 builtin to terminate prematurely has been fixed. 137902-06-17 A bug in which the shell could core dump if getopts was called 1380 when the OPTIND variable contained a negative value has been fixed. 138102-06-10 The edit mode prompt has been modified to handle escape sequences. 138202-06-10 A bug which occurred for interactive shells in which the builtin 1383 cat command was used in command substitution on a file whose 1384 size was larger than PIPE_BUF has been fixed. 138502-06-10 A bug in which the trap on ERR was not being processed when 1386 set inside a function has been fixed. 138702-06-07 A bug in which function definitions could cause the history count 1388 to be decremented by one (and even become negative) has been fixed. 138902-06-05 A bug in read in which share mode could be enabled has been fixed. 139002-05-28 A bug which could occur when the last command of a script was 1391 a case statement and the action selected ended in ;& instead of ;; 1392 has been fixed. 139302-05-23 A bug with unary + introduced in ksh93k has been fixed. 139402-05-07 A bug in substitutions of the form ${var/pattern/string} in which 1395 a backslash was inserted in the replacement string when it contained 1396 a special pattern character has been fixed. 139702-05-01 A bug in the emacs edit mode which occurred in versions compiled 1398 for multibyte character sets which occurred when a repeated search 1399 was requested after a long line had been returned for the previous 1400 search has been fixed. 140102-04-02 vi and emacs edit modes were modified so that tab completion is 1402 disabled when invoked from the read built-in. 1403 140402-03-26 --- Release ksh93m+ --- 140502-03-26 A bug in which \ was not handled correctly when used in file 1406 expansion has been fixed. 140702-02-18 A bug in which lines beginning with a # were deleted from here 1408 documents when the here-document delimiter was followed by 1409 a comment has been fixed. 141002-12-06 An optimization bug in which ${!x[@]) was treated as invariant in 1411 a for loop has been fixed. 141202-02-06 A bug in which the ERR trap is not cleared for a script invoked 1413 by name from within a function has been fixed. 141402-01-08 A bug in which a shell script executed from within a subshell 1415 could cause this script to have an invalid pointer leading 1416 to a memory fault has been fixed. 141702-01-07 Added here documents of the form <<< word (as per zsh) which 1418 is equivalent to << delim\nword\ndelim. 141902-01-07 A bug in which the first word of a compound assignment, 1420 x=(word ...), was treated as a reserved word has been fixed. 142102-01-07 A bug in the handling of \ when noglob was enabled and a 1422 substitution of the form ${word op pattern} occurred in the 1423 same word has been fixed. 142402-01-07 A compilation option, CMDLIB_BLTIN in the file OPTION, has 1425 been added. When this options is set, all commands implemented 1426 in libcmd become shell builtin commands by default. 142702-01-07 A bug in which builtin foo, where foo is already a builtin 1428 would result in the builtin foo getting removed has been fixed. 142902-01-07 A bug which the shell executed a command found in the current 1430 directory when PATH have no valid directories has been fixed. 143101-11-28 The value of $? was not being set when called with exit. 143201-11-28 If the last command was of the form (...) and a trap on EXIT or 1433 ERR was set, and the command inside () modified the trap, then 1434 the original trap wasn't executed. 143501-11-26 The value for 0 is now preceded by the base number when 1436 the base was not 10. 143701-11-26 The default has compilation mode has been changes so that 1438 viraw mode will always be on. 1439 144001-10-31 --- Release ksh93m --- 144101-10-31 A for loop optimizer bug for subshells contained withing for 1442 loops has been fixed. 144301-10-16 typeset without arguments no longer outputs variable names 1444 that do not have any attributes that are set. 144501-10-16 A bug introduced in ksh93l in which assignments specified with 1446 the exec built-in were not being expanded properly has been 1447 fixed. 144801-10-11 An optimization bug in which ${!x) was treated as invariant in 1449 a for loop has been fixed. 145001-10-11 Unsigned integer variables in bases other than 10 are printed now 1451 expand in that base with the base prefix. 145201-10-10 A number of typos in the self generating man pages for shell 1453 built-ins have been fixed. 145401-10-04 The self generated man pages for hist and fc were not working 1455 correctly and have been fixed. 145601-10-03 Yet another optimizer bug in which shell patterns were 1457 treated as invariants has been fixed. 145801-09-27 Two bugs relating to multibyte history searches and to find 1459 have been fixed. 146001-09-27 A bug introduced in ksh93k in which the PATH searching was 1461 not restored after running a command with an assignment list 1462 has been fixed. 146301-09-26 A bug in which a zero filled field was treated as octal when 1464 converted to integer has been fixed. 146501-09-26 Yet another bug in the optimization of for loops related to 1466 recursive functions with break or continue statements has been fixed. 146701-09-25 The exponentiation operator ** was added to the shell arithmetic 1468 evaluation. It has higher precedence than * and is left 1469 associative. 147001-09-25 The code was modified to use the ast multibyte macros 1471 and functions for handing multibyte locales. 147201-09-25 The expansion ${parameter:offset:length} now handles negative 1473 offsets which cause offsets to be measured from the end. 147401-09-25 Some spelling errors in the documentation were corrected. 147501-09-24 The /dev/tcp/host/port and /dev/udp/host/port now allow 1476 the ports to be specified by service name. 147701-09-24 The change staring with ksh93g in which the the appropriate 1478 library path variable is prepended with a corresponding library 1479 directory has been modified. With the new method, only the 1480 library path defined in the file named .paths in the directory 1481 where the executable is found will be modified. See the 1482 man page for more details. 148301-09-23 The .fpath file (see ksh93h) is no longer looked for in each 1484 directory on the path to locate function directories. The 1485 file named .paths is used instead. 148601-09-23 A bug in which IFS was not being restored after being changed in 1487 a subshell has been fixed. 148801-09-16 With the vi and emacs edit modes, after a list of command 1489 or functions is generated with = or M-= respectively, 1490 any element from the list can be pasted on the command line 1491 by preceding the = or M-= with a numeric parameter specifying 1492 the position on the list. 149301-09-16 A bug in ksh93l caused command completion not to find aliases 1494 and functions. Command listing from the edit mode was presented 1495 in reverse order. This has been fixed. 149601-09-13 Another bug in the optimization of for loops related to subshells 1497 when traps were set has been fixed. 149801-09-07 A change in ksh93l caused brace expansion to stop working 1499 and this has been fixed. 150001-09-04 A bug introduced in ksh93k in which an arithmetic statement 1501 within a function that used name references did not follow the 1502 reference has been fixed. 150301-09-04 A bug introduced in ksh93l in which export -p did not prefix 1504 each export with the word export has been fixed. 150501-08-29 A bug in multibyte input which occurred when a partial multibyte 1506 character was received has been fixed. 150701-08-29 A bug introduced in ksh93l which could cause a core dump 1508 when an assignment list containing PATH is specified inside 1509 command substitution has been fixed. 151001-08-09 Another bug in the optimization of for loops in ksh93l caused 1511 errors in recursive functions using local variables that 1512 contained for loops has been fixed. 151301-07-27 A bug in which IFS would be unset after a command substitution 1514 inside a here document has been fixed. 151501-07-26 To conform to the POSIX standard, if you invoked ksh name, 1516 and name does not contain a /, it will first try to run 1517 one in the current directory whether it is executable or not 1518 before doing a path search for an executable script. Earlier 1519 versions first checked for an executable script using the 1520 PATH variable. 152101-07-23 A bug in which unset -f invoked in a subshell could unset a 1522 function defined in the parent has been fixed. 152301-07-16 A bug in the optimization of for loops in ksh93l caused 1524 name references to be treated as invariants has been fixed. 152501-07-09 A bug in which a discipline function applied to a local variable 1526 could cause a shell exception has been fixed. Discipline 1527 functions can only be specified for global variables. 1528 152901-06-18 --- Release ksh93l --- 153001-06-18 A bug in assigning integers larger than can be represented as 1531 long integers to floating point variables has been fixed. 153201-06-18 A bug in the handling of unsigned integers (typeset -ui) has 1533 been fixed. 153401-06-04 The evaluation of the PS1 prompt no longer effects the value 1535 of the $? variable. 153601-06-01 A small memory leak from subshells has been fixed. 153701-05-22 A bug in which attributes for variables that did not have 1538 values would be lost after a subshell has been fixed. 153901-05-22 The %R format has been added to convert a shell pattern into 1540 an extended regular expression. 154101-05-22 The escape sequences \e, \cX, \C[.collating-element.], and 1542 \x{hex} have been added to ASCII-C strings and to printf format 1543 strings. 154401-05-20 Patterns of the form {n}(pattern) and {m,n}(pattern) are now 1545 recognized. The first form matches exactly n of pattern whereas, 1546 the second form matches from m to n instances of pattern. 154701-05-20 The shell allows *-(pattern), +-(pattern), ?-(pattern), 1548 {m,n}-(pattern}, and @-(pattern) to cause the minimal 1549 match of pattern to be selected whenever possible rather 1550 than the maximal (greedy) match. 155101-05-20 The character class [:word:] has been added to patterns. 1552 The word class is the union of [:alnum:] and the character _. 155301-05-20 Inside (...) pattern groups, the \ character is now treated 1554 specially even when in an enclosing character class. The 1555 sequences, \w, \d, \s are equivalent to the character classes 1556 word, digit, and space respectively. The sequences \W, \D, 1557 and \S are their complement sets. 155801-05-20 The shell now recognizes pattern groups of the form 1559 ~(options:pattern) where options or :pattern can be omitted. 1560 Options use the letters + and - to enable and disable options 1561 respectively. The option letters g (greedy), i (ignore case) 1562 are used to cause maximal matching and to cause case 1563 insensitive matching respectively. If :pattern is also 1564 specified, these options are only in effect while this 1565 pattern is being processed. Otherwise, these options remain 1566 in effect until the end of the pattern group that they are contained 1567 in or until another ~(...) is encountered. These pattern groups 1568 are not counted with respect to group numbering. 156901-05-14 When edit completion, expansion, or listing occurs in the 1570 middle of a quoted string, the leading quote is ignored when 1571 performing the completion, expansion, or listing. 157201-05-14 A small memory leak from subshells has been fixed. 157301-05-10 A bug in which open files were not restored after a subshell 1574 that had used exec to replace a file has been fixed. 157501-05-10 Redirection to a null file name now generates an error message. 157601-05-09 The shell now rejects some invalid parameter substitutions that 1577 were previously processed in undefined ways. 157801-05-09 A bug in which the output of select was not flushed before the 1579 read when input did not come from the terminal has been fixed. 158001-05-08 A bug in which job ids would not be freed for interactive shells 1581 when subshells ran built-ins in the background has been fixed. 158201-05-08 The FPATH variable now requires an explicit . to cause the 1583 current directory to be treated as a function directory. 158401-05-08 A bug in read -n when echo mode was disabled has been fixed. 158501-05-07 A bug in which function definitions could be listed as part 1586 of the history has been fixed. 158701-04-30 This release uses a new and often much faster pattern matcher than 1588 earlier releases. 158901-04-30 An optimizer now eliminates invariant parameter expansions from 1590 for while and until loops. 159101-04-30 The variable .sh.match is set after each pattern match (# % or /) 1592 in a variable substitution. The variable .sh.match is an 1593 indexed array with element 0 being the complete match. 1594 The array is only valid until the next subsequent pattern 1595 match or until the value of the variable changes which ever 1596 comes first. 159701-04-30 A self generating man page has been added to shcomp. Also, 1598 shcomp now stops compiling when it finds an exit or exec 1599 command and copies the remainder so that it can be used 1600 for standard input. 160101-04-30 The shcomp command was modified so that it can work in an 1602 EBCIDIC environment and that binary scripts are portable 1603 across environments. 160401-04-30 A bug in the handling of a trailing : in PATH has been fixed. 160501-04-30 A bug in which the builtin version of a command would get invoked 1606 even though the full pathname for the command was specified 1607 has been fixed. 160801-04-30 A bug in which read would loose the last character when 1609 reading the last line of a file that did not contain a new-line 1610 character has been fixed. 161101-04-23 A bug on some systems in which in vi mode the end of file 1612 character and end of line character could be swapped has 1613 been fixed. 161401-04-23 A bug on some systems in which invoking a shell script that 1615 did not have execute permission could set the exit value to 1616 127 rather than 126 has been fixed. 161701-04-20 A bug in which read -n from a pipe would block if fewer than 1618 n characters was received has been fixed. 161901-04-09 A bug in which invalid patterns, for example, ) by itself, 1620 was not treated as a string has been fixed so that if i=')', 1621 then [[ $i == $i ]] is true. 162201-04-09 The shell arithmetic now interprets C character constants. 162301-04-09 A bug in which a non-zero return from a function defined 1624 with the function reserved word did not trigger the ERR 1625 trap or exit with set -e has been fixed. 162601-04-02 A bug on some systems, in which characters above 127 were 1627 not displayed correctly in vi or emacs edit mode has been fixed. 162801-04-02 A bug on some systems, introduced in the 'k' point release, in 1629 which the erase character in viraw mode was moving the cursor 1630 to the left without erasing the character has been fixed. 163101-04-02 On some systems the wcwith() function was returning a wrong 1632 value for characters and caused characters to be displayed 1633 incorrectly from the shell edit modes. A work around for 1634 this problem has been added. 163501-03-26 A bug in which valid scripts could produce syntax errors 1636 when run with locales that considered characters such as "'" 1637 to be space characters has been fixed. 163801-03-20 A bug in which an syntax error in an arithmetic expression 1639 entered interactively could cause the shell to go into 1640 an infinite loop outputting the error message has been fixed. 164101-03-10 ksh93 accepts -l as a synonym for -L in test on systems for 1642 which /bin/test -l tests for symbolic links. 164301-03-10 A bug in parsing scripts in which { and } are used in place of 1644 in and esac in case statements embedded in compound commands 1645 has been fixed. Use of { and } for in and esac is obsolete. 164601-03-06 A bug in which an argument of the form foo=bar was not 1647 being passed correctly to a traced function whose name 1648 was foo has been fixed. 164901-03-02 Using $(trap -p name) did not print the name of the current 1650 trap setting for trap name. 165101-02-26 Exported floating point variables gave incorrect results 1652 when passing them to ksh88. This has been fixed. 165301-02-25 A race condition in which a coprocess which completed too quickly 1654 would not allow subsequent coprocesses to start has been fixed. 165501-02-25 The 'g' format specifier is now handled by printf. It had 1656 inadvertently been omitted. 165701-02-20 The + was not being displayed during an execution trace 1658 with the += assignment operator. 165901-02-19 The error message which occurs when the interpreter name 1660 defined on the #! line does not exist is more informative. 166101-02-19 A bug in which $0 would not be set correctly when a 1662 script with #! was invoked by full pathname from the 1663 directory of the script has been fixed. 166401-02-19 A shell script did not always pick up tty mode changes 1665 made by external commands such as stty which could 1666 effect the behavior of read. 166701-02-19 The -u, -g, and -k unary tests did not give the correct 1668 results when used with negation and this has been fixed. 1669 167001-02-05 --- Release ksh93k+ --- 167101-02-05 The sequence \<newline> inside $'...' was not incrementing 1672 the line count and this has been fixed. 167301-02-05 Modified expansion of "${@-}" so that if no arguments are set 1674 it results in null string rather than nothing. 167501-02-02 memory leak problem with local variables in functions fixed. 167601-01-25 allow arithmetic expressions with float%int and treat them 1677 as ((int)float)%int rather than as an error. 167801-01-19 read -n1 was not working and has been fixed. 167901-01-17 ksh now handles the case in which a here document in command 1680 substitution $() is terminated by the trailing ). Previously, 1681 a new-line was needed at the end of the delimiter word. 168201-01-02 A bug in which a KEYBD trap would cause a multi-line token 1683 to be processed incorrectly has been fixed. 168400-12-10 Arithmetic integer constants can now have L and U suffices. 168500-12-10 A bug in the processing of arithmetic expressions with compound 1686 variables when the -n option is on has been fixed. 168700-12-08 A bug in M-f and M-b from emacs mode has been fixed. This 1688 bug only occurs when ksh93 is compiled without MULTIBYTE enabled. 168900-11-29 A bug in which jobs -p would yield 0 for background 1690 jobs run in a script has been fixed. 169100-11-21 A bug in integer arrays in which the number of elements is 1692 incorrect when the ++ operator is applied to a non-existing 1693 element has been fixed. For example, integer x; ((x[3]++)). 169400-11-20 A timing bug in which the shell could reset the terminal 1695 group to the wrong value in the case that the a new process 1696 changes the terminal group during startup has been fixed. 1697 169800-10-27 --- Release ksh93k --- 169900-10-27 Using tab for completion now works only when applied 1700 after a non-blank character at the end of the current line. 1701 In other case a tab is inserted. 170200-10-27 A bug in the emacs edit mode for ^X^E has been fixed. 1703 The ^X^E sequence is supposed to invoke the full editor 1704 on the current command. 170500-10-18 A bug in which expansions of the form ${var//pattern/string} 1706 did not work correctly when pattern was '/' or "/" has 1707 been fixed. 170800-10-18 The output format for indexed arrays in compound variables 1709 has been modified so that it can be used as input. 171000-10-18 Assignments with name references (typeset -n) will now 1711 implicitly unreference an existing name reference. 171200-10-17 A bug the += append operator when a single array element 1713 is appended to a variable that is not an array has been fixed. 171400-10-16 A bug in which the SIGCONT signal was being sent to 1715 each process will kill -0 or kill -n 0 has been fixed. 171600-10-12 The arithmetic evaluation portion has been rewritten to 1717 perform a number of optimizations. 171800-10-10 A bug in which name prefix matching ${!name.*} was not 1719 checking name to see if it was a name reference has been fixed. 172000-09-26 A bug in the multibyte version in which the width of for 1721 non-printing characters was not correct has been fixed. 172200-09-12 Made changes to get multibyte editing work on UWIN for windows 172300-09-12 A bug in which multibyte characters would be displayed incorrectly 1724 has been fixed. 172500-08-08 Removed build dependency on iswprint() and iswalph(). 172600-07-20 In some cases the read builtin would read more than a single 1727 line from a pipe on standard input and therefore leave the seek 1728 position in the wrong location. 172900-07-05 If the directory / is on the path, a / will not be inserted 1730 between the directory and the file name during path searching 1731 to avoid searching // for systems that treat this specially. 173200-06-26 A bug in which on rare occasions wait could return before all 1733 jobs have completed has been fixed. 173400-06-21 A bug in which backspace did not work correctly during the 1735 R replace directive in vi-mode has been fixed. 173600-06-12 Added variable name completion/expansion/listing to the set of 1737 completions. Variable name completions begin with $ or "$ followed 1738 by a letter. 173900-05-09 --- Release ksh93j --- 174000-05-09 Modified command substitution to avoid using /tmp files when 1741 run on read-only file systems. 174200-04-17 Modified printf to handle '%..Xc' and '%..Xs' options where X 1743 is not an alpha character. Previous versions core dumped with this. 174400-04-10 Changes to multibyte editing code were made to use standard 1745 ISO C functions rather than methods devised before the standard. 174600-04-09 Add %H options to printf to output strings with <"'&\t> properly 1747 converted for use in HTML and XML documents. 174800-04-07 Modified getopts builtin to handle \f...\f in usage string 1749 by invoking specified function. 175000-04-04 Added self generating man pages for bg, fc, fg, disown, jobs, 1751 hist, let, ., and ulimit. 175200-03-30 The append operator += has been added and can be used 1753 for all assignments, strings, arrays, and compound variables. 175400-03-30 Code was modified in several places to support automatic 1755 generation of C locale dictionaries. 175600-03-28 A bug in which the set and trap commands invoked with --name 1757 type arguments would terminate the invoking script has 1758 been fixed. 175900-03-27 A bug in which the library path variable was not updated 1760 correctly on some systems as described in the 'g' point 1761 release has been fixed. 176200-03-07 printf now returns a non-zero exit status when one of 1763 its arguments cannot be converted to the given type. 176400-03-05 The return value and error message for a command that 1765 was found on the path but was not executable was set 1766 incorrectly. 176700-03-05 A prototype for ioctl() was removed from the vi edit mode. 1768 176900-01-28 --- Release ksh93i --- 177000-01-28 Most of the built-in commands and ksh itself are now 1771 self documenting. Running command --man will produce 1772 screen output. Running command --html produces the 1773 man page in html format. 177400-01-28 The getopts builtin can process command description 1775 strings to produce man pages. 177600-01-28 A bug in which a script could terminate when getopts 1777 encountered an error when invoked inside a function 1778 has been fixed. 177900-01-28 When a symbolic link was specified as the name of 1780 the script to invoke by name, the value of $0 was 1781 set to the real file name rather than the link name 1782 in some cases and this has been fixed. 178300-01-28 A bug in which the precision given as an argument 1784 to printf was not working has been fixed. 1785 178699-03-31 --- Release ksh93h --- 178799-03-31 The PATH search algorithm has been modified to look 1788 for a file named .fpath in each bin directory and if 1789 found, to search for functions in this directory if 1790 it cannot find the command in that directory. 179199-03-31 When performing pathname expansion, the shell checks 1792 to see whether each directory it reads is case sensitive 1793 or not, and performs the matching accordingly. 179499-03-31 The %T format for printing formatted date/time. 179599-03-31 The emacs and vi modes now handle arrow keys when 1796 they use standard ANSI escape sequences. 179799-03-31 The TAB key can be used for completion in emacs and viraw mode. 179899-03-31 A bug in setting .sh.editchar during the KEYBD trap 1799 for the MULTIBYTE option was fixed in release ksh93h. 180099-03-31 A bug in shcomp for compilation of unary operators with [[...]] 1801 has been fixed. 180299-03-31 A bug in which the value of $? was changed when executing 1803 a keyboard trap has been fixed. 180499-03-31 The handling of SIGCHLD has been changed so that the 1805 trap is not triggered while executing trap commands 1806 to avoid recursive trap calls. 180799-03-31 A bug in which a local variable in a function declared readonly 1808 would generated an error when the function went out of 1809 scope has been fixed. 181099-03-31 A bug in which \<new_line> entered from the keyboard 1811 with the KEYBD trap enabled has been fixed. 181299-03-31 The error message for a misplaced ((, for example print ((3), 1813 was often garbled and has been fixed. 181499-03-31 A bug in the KEYBD trap in which escape sequences of the form 1815 <ESC>[#~ were not being handled as a unit has been fixed. 181699-03-31 A bug in which ksh would consider expressions like [[ (a) ]] 1817 as syntax errors has been fixed. 181899-03-31 A function defined as foo() without a function body 1819 was not reported as a syntax error. 182099-03-31 A bug in which ksh could run out of file descriptors when 1821 a stream was repeatedly opened with exec and read from 1822 has been fixed. 1823 182498-04-30 --- Release ksh93g --- 182598-04-30 The pipefail option has been added. With pipefail 1826 enabled, a pipeline will not complete until all 1827 commands are complete, and the return value will 1828 be that of the last command to fail, or zero if 1829 all complete successfully. 183098-04-30 The name-value pair library uses the cdt library rather 1831 than the hash library. This change should be transparent 1832 to applications. 183398-04-30 On the U/WIN version for Window 95 and Windows NT, 1834 when a directory beginning with a letter followed by 1835 a colon is given to cd, it is assumed to be an absolute 1836 directory 183798-04-30 When an executable is found on a given path, 1838 the appropriate library path variable is prepended 1839 with a corresponding library directory. 184098-04-30 A bug in which a name reference could be created to 1841 itself and later cause the shell to get into an infinite 1842 loop has been fixed. 184398-04-30 A bug in shcomp relating to compound variables was fixed. 184498-04-30 A bug introduced in ksh93e in which leading 0's in -Z 1845 fields caused the value to be treated as octal for arithmetic 1846 evaluation has been fixed. 184798-04-30 A bug when a name reference with a shorter name than 1848 the variable it references was the subject of a compound 1849 assignment has been fixed. 185098-04-30 A bug which in which assignment to array variables in 1851 a subshell could effect the parent shell has been 1852 fixed. 185398-04-30 read name?prompt was putting a 0 byte at the end of the 1854 prompt on standard error. 185598-04-30 A bug in [[ string1 > string2 ]] when ksh was run with -x 1856 has been fixed. 185798-04-30 A bug in which the escape character was not processed 1858 correctly inside {...} when brace expansion is enabled 1859 has been fixed, for example {\$foo}. 186098-04-30 A bug in line continuation in here-documents has been 1861 fixed. 186298-04-30 The default base when not specified with typeset -i is 1863 10 in accordance with the documentation. Previously, 1864 the value was determined by the first assignment. 186598-04-30 A parsing bug in which a # preceded alphanumeric 1866 characters inside a command substitution caused 1867 a syntax error to be reported has been fixed. 186898-04-30 A bug in which a decimal constant represented as 10#ddd 1869 where ddd was more than five digits generated a syntax 1870 error has been fixed. 187198-04-30 A bug in here document expansion in which ${...} expansions 1872 were split across buffer boundaries has been fixed. 187398-04-30 The sh_fun() function now takes third argument which 1874 is an argument list for the invoked discipline function 1875 or built-in. 187698-04-30 A callback function can be installed which will give 1877 notification of file duplications and file closes. 187898-04-30 When ksh is compiled on systems that do not use fork() 1879 current option settings where not propagated to sub-shells. 1880 188197-06-30 --- Release ksh93f --- 188297-06-30 Hostnames in addition to host addresses can be given in 1883 /dev/tcp/host/port virtual file names. 188497-06-30 File name completion and expansion now quotes special 1885 characters in file names from both emacs and vi edit modes. 188697-06-30 An empty for list behave like a for list with null expansions. 1887 It produces a warning message with sh -n. 188897-06-30 The code has been modified to work with EBCDIC as well as ASCII. 188997-06-30 A bug which would cause the secondary prompt to be 1890 displayed when a user entered a literal carriage 1891 return has been fixed. 189297-06-30 A bug which caused ksh read -s name to core dump was 1893 fixed. 189497-06-30 A bug with the expansion of \} and \] inside double 1895 quoted strings that also contained variable expansions 1896 has been fixed 189797-06-30 Changes in the ksh93e point release caused autoload 1898 functions invoked from within command substitution 1899 to fail. This has been fixed. 190097-06-30 A bug in the processing of here-documents that could 1901 prevent variable substitution to occur after $(...) command 1902 substitution for long here documents has been fixed. 190397-06-30 A bug caused by a race condition that could cause SIGTERM 1904 to be ignored by a child process has been fixed. 190597-06-30 A bug which prevented the startup of a coprocess immediately 1906 after killing a running coprocess has been fixed. 190797-06-30 ulimit foobar, where foobar is not an arithmetic 1908 expression, now gives an error message as it did with ksh88 1909 instead of setting the file size limit to 0. 191097-06-30 A bug which could cause an interactive shell to terminate when 1911 the last process of a pipeline was a POSIX function was fixed. 191297-06-30 A bug which could cause command substitution of a shell script 1913 to core dump has been fixed. 191497-06-30 A security hole was fixed in suid_exec. 191597-06-30 Arithmetic functions such as pow() that take more than 1916 one argument, did not work if arguments other than the 1917 first contained parenthesized sub-expression. 191897-06-30 The error message from a script containing an incomplete 1919 arithmetic expression has been corrected. 192097-06-30 A bug which caused a core dump on some machines when 1921 the value of a name reference contained a positional 1922 parameter and the name reference was not defined inside 1923 a function has been fixed. 192497-06-30 Arithmetic expressions now correctly handle hexadecimal 1925 constants. 192697-06-30 A bug in which integer variables could be expanded 1927 with a leading 10# when declared with typeset -i 1928 multiple times has been corrected. 192997-06-30 A bug in which IFS wasn't correctly restored when 1930 set within command substitution has been fixed. 193197-06-30 The _ character is now considered as part of a word 1932 with the M-f and M-b emacs directives as it was in ksh88. 193397-06-30 A bug in brace pattern expansions that caused expressions 1934 such as {foo\,bar,bam} to expand incorrectly have been fixed. 1935 1936 193796-07-31 --- Release ksh93e --- 193896-07-31 The math functions, atan2, hypot, fmod, and pow were added. 193996-07-31 When a shared library is loaded, if the function lib_init() 1940 is defined in the library, it is invoked the first time that 1941 the library is loaded with builtin -f library. 194296-07-31 The k-shell information abstraction database option, KIA, 1943 has been revamped. 194496-07-31 Empty command substitutions of the form $() now work. 1945 whence -v foo now gives the correct result after calling 1946 builtin -d foo. 194796-07-31 A bug in right to left arithmetic assignment for which 1948 the arithmetic expression (( y = x = 1.5 )) did not 1949 yield 1 for y when x was declared typeset -i was fixed. 195096-07-31 printf has been fixed to handle format containing \0 1951 and/or \0145 correctly. In addition, characters following 1952 %b in the format string are no longer displayed when 1953 the operand contains \c. 195496-07-31 A bug in printf that could cause the %E format to 1955 produce unnormalized results has been fixed. 195696-07-31 A bug which causes some arithmetic expressions to be 1957 incorrectly evaluated as integer expressions rather 1958 that floating point has been fixed. 195996-07-31 Functions defined inside a subshell no longer remain 1960 defined when the subshell completes. 196196-07-31 The error message from sh -c ';echo foo' has been 1962 corrected. 196396-07-31 The format for umask -S has been changed to agree 1964 with the specification in the POSIX standard. 196596-07-31 A bug that caused side effects in subscript evaluation 1966 when tracing was enabled for subscripts using ++ or -- 1967 has been fixed. 196896-07-31 To conform to the Posix standard getopts has been changed 1969 so that the option char is set to ? when it returns with 1970 a non-zero exit status. 197196-07-31 The handling of \} inside ${name...} has been fixed so 1972 that the \ quotes the }. 197396-07-31 A bug that caused the read builtin to resume execution 1974 after processing a trap has been fixed. 197596-07-31 [[ -s file ]] has been fixed so that if file is open 1976 by ksh, it is flushed first. 197796-07-31 In some cases attributes and sizes for non exported 1978 variables weren't being reset before running a script. 197996-07-31 The value of TMOUT was affected by changes make to 1980 it in a subshell. 198196-07-31 The jobs command did not reflect changes make by 1982 sending the CONT signal to a command. 198396-07-31 The error message for ksh -o unknown was incorrect. 198496-07-31 Functions invoked as name=value name, did not use 1985 values from the calling scope when evaluating value. 198696-07-31 A bug in which the shell would reexecute previously 1987 executed code when a shell script or coprocess was 1988 run in the background has been fixed. 198996-07-31 A bug in which an empty here-document would leave 1990 a file descriptor open has been fixed. 199196-07-31 A bug in which $(set -A array ...) would leave a 1992 side effect has been fixed. 199396-07-31 A discipline function for a global variable defined 1994 within a function defined with the function keyword, 1995 incorrectly created a local variable of the same name 1996 and applied the discipline to it. 1997 199895-08-28 --- Release ksh93d --- 199995-08-28 The \ character was not handled correctly in replacement 2000 patterns with ${x/pattern/replace}. 200195-08-28 A bug with read in which the line did not end with 2002 a new-line has been fixed. 200395-08-28 A bug in file name generation which sometimes 2004 appended a . for filenames that ended in / has 2005 been fixed. 200695-08-28 If a process is waited for after a status has 2007 been returned by a previous wait, wait now 2008 returns 127. 200995-08-28 A bug with hist (fc) -e which prevented a command 2010 to re-executed after it had been edited has been fixed. 201195-08-28 A bug which prevented quoting from removing the meaning 2012 of unary test operators has been fixed. 201395-08-28 A bug with typeahead and KEYBOARD traps with the 2014 MULTIBYTE option set has been fixed. 201595-08-28 Builtin functions can take a third argument which is 2016 a void*. 201795-08-28 The nv_scan() function can restrict the scope of a walk 2018 to the top scope. 2019 202095-04-31 --- Release ksh93c --- 202195-04-31 The expansion of "$@" was incorrect when $1 was the null 2022 string. 202395-04-31 A bug which could incorrectly report a syntax error in 2024 a backquoted expression when a $ was preceded by \\ 2025 has been fixed. 202695-04-31 A bug which prevented the shell from exiting after 2027 reporting an error when failing to open a script 2028 has been fixed. 202995-04-31 A bug that could lead to memory corruption when a 2030 large here document that required parameter or command 2031 substitution was expanded has been fixed. 203295-04-31 A bug that could cause a core dump on some systems 2033 after ksh detected an error when reading a function 2034 has been fixed. 203595-04-31 A bug which could cause a coprocess to hang when 2036 reading from a process that has terminated has been fixed. 203795-04-31 A bug which caused a script to terminate when set -e 2038 was on and the first command of and && or || list 2039 failed has been fixed. 204095-04-31 A bug with here documents inside $(...) when the delimiter 2041 word is an identifier has been fixed. 204295-04-31 A bug which caused $0 to display the wrong value when 2043 a script was invoked as an argument to the . command 2044 and the eval command has been fixed. 204595-04-31 A bug that could cause the built-in sleep to hang 2046 has been fixed. 204795-04-31 A bug introduces in 12/28/93b which caused the backslash 2048 to be removed when it was followed by digit inside double 2049 quotes in some instances has been fixed. 205095-04-31 A bug which could cause a core dump if ksh was invoked with 2051 standard input closed has been fixed. 205295-04-31 A bug which could cause a core dump if typeset -A was 2053 specified for an existing variable has been fixed. 205495-04-31 Variables that were unset but had attributes such as readonly 2055 and export were not listed with readonly, export and typeset. 205695-04-31 Several problems with signals have been fixed. 205795-04-31 A bug which prevented ulimit -t from working has been fixed. 2058 Also, a bug in which failed ulimits could cause a core dump 2059 has also been fixed. 206095-04-31 A bug in expansion of the form ${name/#pattern/string} and 2061 ${name/%pattern/string} has been fixed. 206295-04-31 A bug which caused read -r on a line that contained only 2063 blanks to get a non-null value has been fixed. 206495-04-31 A bug introduced in the 'a' point release in which 2065 ${x='\\'} expanded to \ when x was unset has been fixed. 206695-04-31 A bug which prevented a trap on EXIT from being executed 2067 when the last command in a script was a function invocation 2068 has been fixed. 206995-04-31 A bug which caused an interactive shell ignore input when 2070 standard error was redirected to a file with exec, 2071 and then restored with exec 2>&1 has been fixed. 207295-04-31 An interactive shell turns on monitor mode even when 2073 standard error has been redirected to a file. 207495-04-31 A bug which could cause standard input to be incorrectly 2075 positioned for the last command of a script has been fixed. 207695-04-31 A bug in the edit modes which allowed walking back in 2077 the history file for more than HISTSIZE commands has 2078 been fixed. 207995-04-31 A bug which could cause a core dump if variable TMPDIR was 2080 changed between two command substitutions has been fixed. 208195-04-31. A bug which prevented a trap on EXIT from being cleared 2082 has been fixed. 208395-04-31 A bug fixed for the v directive in vi MULTIBYTE has been 2084 fixed. 208595-04-31 Code to for IFS handling of multibyte characters has 2086 been added. 208795-04-31 The displaying of multibyte strings in export, readonly, 2088 typeset, and execution traces has been fixed. 208995-04-31 Variables inside functions are now statically scoped. 2090 The previous behavior was never documented. 209195-04-31 Variables inside functions are now statically scoped. 2092 The previous behavior was never documented. 209395-04-31 A few changes have been made to the name-value library 2094 that affect built-ins that use disciplines. The 2095 changes allow disciplines to be shared by variables 2096 and should make it possible to add new disciplines 2097 without recompilation. 209895-04-31 The name-value library interface has undergone significant 2099 change for this revision. See the new nval.3 man page. 2100 210194-12-31 --- Release ksh93b --- 210294-12-31 Variables inside functions are now statically scoped. 2103 The previous behavior was never documented. 210494-12-31 If IFS contains two consecutive identical characters belonging 2105 to the [:space:] class, then this character is treated as 2106 a non-space delimiter so that each instance will delimit 2107 a field. For example, IFS=$'\t\t' will cause two consecutive 2108 tabs to delimit a null field. 210994-12-31 The getopts command has a -a name option that specifies a 2110 name that will be used for usage messages. 211194-12-31 A bug which caused unset RANDOM to dump core has been 2112 fixed. 211394-12-31 A bug which prevented return for terminating a profile 2114 or ENV file has been fixed. 211594-12-31 A bug which prevented standard input from being 2116 directed to /dev/null for background jobs when 2117 monitor mode was turned off has been fixed. 211894-12-31 Statements of the form typeset -options var[expr]=value 2119 did not perform substitutions on expr as expected. 212094-12-31 A bug which prevented the shell from sending a HUP 2121 signal to some background jobs that were not disowned 2122 has been fixed. 212394-12-31 A bug which allowed a script to trap signals that are 2124 ignored at the time that the shell was invoked by exec 2125 has been fixed. 212694-12-31 A bug which could cause a core dump when a discipline 2127 function was unset within a discipline was fixed. 212894-12-31 The typeset builtin now accepts a first argument of 2129 + or - for compatibility with ksh88. 213094-12-31 For compatibility with ksh88, the results of expansions 2131 of command arguments will treat the extended character 2132 match characters ()|& as ordinary characters. 213394-12-31 A bug which caused read to fail on a file that was 2134 open for read/write with <> when the first operation 2135 was print or printf has been fixed. 213694-12-31 When a job is suspended, it is put on the top of 2137 the job list as required by the POSIX standard. 213894-12-31 The value of OPTARG when an option that required 2139 an argument but didn't have one was incorrect in the 2140 case the the option string began with a :. 214194-12-31 A bug which caused the terminal to get into a bad 2142 state with some KEYBD traps in vi-mode has been fixed. 214394-12-31 A bug which caused an invalid trap to cause a script 2144 to terminate, rather than just return an error, has 2145 been fixed. 214694-12-31 Backreferencing sub-expressions in patterns and replacement 2147 strings now works. 214894-12-31 A bug in chmod which caused the -R option to fail has 2149 been fixed. 215094-12-31 More signal names have been added for Solaris 2151 215294-06-30 --- Release ksh93a --- 215394-06-30 An expansion bug which causes portions of a word after 2154 a $((...)) expansion that contains a nested $var expansion 2155 to be lost has been fixed. 215694-06-30 A bug that caused a core dump when a script that did not 2157 have PWD set and did a cd inside command substitution 2158 has been fixed. 215994-06-30 A bug which caused a core dump on some machines when 2160 the LANG variable was assigned to has been fixed. 216194-06-30 A bug which incorrectly handled set disciplines that 2162 performed arithmetic evaluation when the discipline 2163 was called from the arithmetic evaluator has been fixed. 216494-06-30 A bug caused by an EXIT trap inside a function that 2165 was executed in a subshell was fixed. 216694-06-30 If foo is a function, and not a program, then command foo 2167 now reports that foo isn't found rather than invoking foo. 216894-06-30 The previous version incorrectly listed -A as an 2169 invocation option. The -A option is only for set. 217094-06-30 A bug was fixed which caused ksh to loop when execution trace 2171 was enabled and the PS4 prompt required command substitution. 217294-06-30 A bug which could cause the job control switch character 2173 to be disabled when a script that enabled monitor mode 2174 terminated was fixed. 217594-06-30 A bug in the macro expansion global replacement operator //, 2176 when the pattern began with a [ or +( has been fixed. 217794-06-30 A bug which prevented ~ expansion from occurring when 2178 it was terminated with a colon inside an assignment 2179 has been fixed. 218094-06-30 A bug in the dot command which prevented autoload functions 2181 from working has been fixed. 218294-06-30 A bug which caused a variable to be unset if the 2183 its value were expanded inside a set discipline has 2184 been fixed. 218594-06-30 Whence -a now longer reports that a defined function 2186 is undefined. 218794-06-30 A bug on some systems in which $0 would be incorrect 2188 in scripts invoked by name has been fixed. 218994-06-30 Here documents with an empty body now work. 219094-06-30 A bug which disabled argument passing and resetting 2191 of options for a script invoked by name inside a 2192 function has been fixed. 219394-06-30 A bug in which an EXIT trap set the caller of a function 2194 would be executed if a command called inside a function 2195 was not found has been fixed. 219694-06-30 A bug which allowed a script to trap signals that are 2197 ignored at the time that the shell was invoked has 2198 been fixed. 219994-06-30 A bug which caused 2<&1- when applied to a shell built-in 2200 to leave standard input closed has been fixed. 220194-06-30 A bug which caused the shell to incorrectly parse 2202 $() command substitutions with nested case statements 2203 has been fixed. 2204 2205