109-10-12 --- Release ksh93t+ --- 209-10-12 A bug in which a function loaded in a subshell could leave side 3 effects in the parent shell has been fixed. 409-10-12 A bug in converting a printf %d operand to a number when the operand 5 contains multiple subscripts for the same variable has been fixed. 609-10-09 A bug in the handling of the escape character \ in directory prefixes 7 in command completion has been fixed. 809-10-09 $PATH processing has been changed to delay dir stat() and .paths 9 lookup until the directory is needed in the path search. 1009-09-28 Call the ast setlocale() intercept on unset too. 1109-09-24 A bug in which LANG=foo; LC_ALL=foo; unset LC_ALL; did not revert 12 LC_CTYPE etc. to the LANG value has been fixed. 1309-09-17 A bug in which unsetting SVLVL could cause a script invoked by 14 name without #! to core dump has been fixed. 1509-09-16 A bug in which a pipeline in a here-document could hang when the 16 pipefail option was on has been fixed. 1709-09-09 A bug in the processing of line joining in here documents which 18 occurred when a buffer began with <escape><new-line> has been fixed. 1909-09-09 A leading ; with commands in a brace group or parenthesis group 20 no longer causes an error. It now is used for the "showme" option. 2109-09-09 A bug in which a subshell containing a background process could 22 block until the background process completed has been fixed. 2309-09-04 A bug in handing ${var[sub]}, where var is a nameref has been fixed. 2409-09-03 A bug which caused an index array to have the wrong number of elements 25 when it was converted from a compound variable by adding an another 26 element has been fixed. 2709-09-03 Specifying export for a compound variable now generates an error. 2809-09-02 $"..." localizations strings are no longer recognized inside `...`. 2909-09-01 A bug in the for loop optimizer in the handling of type static 30 variables has been fixed. 3109-09-01 An error message is not displayed when * and @ are used as subscripts. 3209-09-01 Several bugs in the processing for types that included an associative 33 array of another type has been fixed. 3409-09-01 A bug in the tracing of [[ a < b ]] and [[ a > b ]] has been fixed. 3509-08-26 The .sh.file variable was not being set for a script that was run 36 by name and didn't start with #! and this has been fixed. 3709-08-25 A bug in which a function called to deeply from command substitution 38 did not display an error message has been fixed. 3909-08-24 When processing profiles, ksh93 now violates the POSIX standard and 40 treats &> as a redirection operator similar to bash. 4109-08-23 A bug in the handling of the trap on SIGPIPE that could lead to am 42 memory fault has been fixed. 4309-08-21 A bug in the handling of the comma operator in arithmetic expressions 44 that could cause a core dump on some systems has been fixed. 4509-08-20 A bug in which a compound variable containing an array of a type 46 that doesn't have any elements now expands correctly. 4709-08-19 A bug which disabled function tracing inside a function after 48 a call to another function has been fixed. 4909-08-19 A bug in which initializing a compound variable instance to another 50 compound variable by name has been fixed. 5109-08-18 A bug in which compound variable instances could be lost after 52 an instance that invoked a type method discipline has been fixed. 5309-08-18 A bug in which a discipline function for a type applied to an 54 array instance when invoked in a function ignored the subscript 55 has been fixed. 5609-08-18 A scoping error with variables in arithmetic expression with 57 type variables when reference with a name reference has been fixed. 5809-08-10 Several memory leaks were fixed primarily related to subshells. 5909-08-06 A bug in which setting the trap on CHLD to ignore could cause 60 a script to hang has been fixed. 6109-07-08 A bug in the processing of name reference assignments when it 62 contained pattern expansions with quoting has been fixed. 6309-06-22 The default width for typeset -X has been changed so that there 64 should be no loss of precision when converting to a string. 6509-06-19 A bug in the printing of array elements for binary variables with 66 printf %B has been fixed. 6709-06-19 A bug which caused a core dump with trap DEBUG set with an array 68 assignment with no elements has been fixed. 6909-06-19 A bug with read with typeset -b -Z<num> has been fixed. 7009-06-19 Two bugs related to read -b for array variables has been fixed. 7109-06-19 A bug with typeset for compound variables containing arrays of 72 compound variables has been fixed. 7309-06-18 A bug in appending a compound variable to a an indexed array of 74 compound variables has been fixed. 7509-06-18 A bug which occurs when appending a compound variable to an indexed 76 array element has been fixed. 7709-06-18 Setting VISUAL to a value other than one ending in vi or emacs will 78 no longer unset the edit mode. 7909-06-17 A bug in typeset -m when moving a local compound variable to a 80 global compound variable via a name reference has been fixed. 8109-06-17 A bug in appending to nodes of an array of compound variables when 82 addressing them via nameref has been fixed. 8309-06-17 A bug in typeset -p var, when var is an array of compound variables 84 in which the output only contained on array element has been fixed. 8509-06-17 The prefix expansion ${!y.@} now works when y is a name 86 reference to an element of an array. 8709-06-16 Traps on signals that are ignored when the shell is invoked 88 no longer display. Previously they were ignored as required but 89 would be listed with trap -p. 9009-06-12 A bug in vi edit mode in which hitting the up arrow key at the 91 end of a line longer than 40 characters which caused a core dump 92 has been fixed. 9309-06-11 A bug in which "eval non-builtin &" would create two processes, 94 one for the & and another for non-builtin has been fixed. 9509-06-08 When var is an identifier and is unset, ${var} no longer tries to 96 run command substitution on the command var. 9709-06-08 Process substitution arguments of the form <(command) can now be 98 used following the < redirection operator to redirect from command. 9909-05-13 A bug in which redirections of the form 2>&1 1>&5 inside command 100 substitution could cause the command substitution to hang has been 101 fixed. 10209-05-12 To conform with POSIX, the -u option only checks for unset variables 103 and subscript elements rather than checking for all parameters. 10409-05-12 A bug which could cause a core dump when a variable whose name 105 begins with a . was referenced as part of a name reference inside 106 a function has been fixed. 10709-05-01 A bug that caused a core dump when SIGWINCH was received and 108 both vi and emacs mode were off has been fixed. 10909-04-22 Default alias compound='typeset -C' added. 11009-04-15 A bug that caused ${...;} to hang for large files has ben fixed. 11109-04-08 A change was made in the -n option which printed out an incorrect 112 warning with <>. 11309-04-07 The emacs edit command M-_ and M_. and the vi command _ was fixed 114 to handle the case there there is no history file. 11509-04-05 A bug in handling new-lines with read -n has been fixed. 11609-04-05 The ENV variable defaults the the file named by $HOME/.kshrc rather 117 then to the string $HOME/.kshrc. 11809-03-31 A bug in which a nested command substitution with redirections could 119 leave a file descriptor open has been fixed. 12009-03-24 ksh now only uses the value of the _ variable on startup if it can 121 verify that it was set by the invoking process rather than being 122 inherited by some other ancestor. 12309-03-24 When ksh is invoked without -p and ruid!=euid, and the shell is 124 compiled without SHOPT_P_UID or ruid<SHOPT_P_UID, the shell now 125 enables the -p option. The previous version instead set the 126 euid to the ruid as it does for set +p. 12709-03-24 When SHOPT_P_UID is defined at compile time and the shell is started 128 without -p and ruid!=euid and ruid>=SHOPT_P_UID then euid is set 129 to ruid. A bug that did the wrong test (ruid<SHOPT_P_UID) was fixed. 13009-03-17 The sleep(1) builtin now accept and ISO 8601 PnYnMnDTnHnMnS 131 duration or date(1) compatible date/time operand. 13209-03-10 If a variable that was left or right justified or zero-filled was 133 changed with a typeset statement that was left or right justified 134 or zero-filled, then the original justification no longer affects 135 the result. 13609-03-10 A bug in the handling of traps when the last command in a script 137 is a subshell grouping command has been fixed. 13809-03-03 A bug in which an expansion of the form ${!prefix@} could generate 139 an exception after the return from a function has been fixed. 14009-02-02 A bug in restricted mode in which the value of ENV could be 141 changed from within a function has been fixed. 14209-02-02 A bug in which an erroneous message indicating that a process 143 terminated with a coredump has been fixed. 14409-02-02 The exit status when exit was called without an argument from 145 a signal handler was incorrect and has been fixed. 14609-02-02 A bug in which a function autoloaded in a subshell could cause 147 a core dump when the subshell completed has been fixed. 14809-02-02 A bug in which 2>&1 inside a command substitution wasn't working 149 correctly has been fixed. 15009-02-02 A bug in the call stack of arithmetic function with 2 args 151 returning int has been fixed. 15209-01-30 A bug in which 'eval print \$0' inside a function was giving the 153 wrong value for $0 has been fixed. 15409-01-28 A bug in which a command substitution could return an exit status 155 of 127 when the pipefail option is enabled has been fixed. 15609-01-26 ksh93 now generates an error message if you attempt to create 157 a global name reference to a local variable. 15809-01-26 The [[ -v var ]] operator was modified to test for array elements. 15909-01-23 The redirection operator <>; was added. It is similar to <> 160 except that if the command it is applied to succeeds, the file 161 is truncated to the offset at the command completion. 16209-01-23 The default file descriptor for <> was changed to 1. 16309-01-20 A bug in which the exit status specified in an exit trap was 164 not used when a process terminated with a signal has been fixed. 16509-01-19 A bug in which a signal whose default action is to terminate 166 a process could be ignored when the process is running a sub-shell 167 has been fixed. 16809-01-19 A bug in which sending SIGWINCH to a process that reads from a pipe 169 could cause a memory fault has been fixed. 17009-01-16 The -R unary operator was added to [[...]] and test to check whether 171 a variable is a name reference. 17209-01-16 The -v unary operator was added to [[...]] and test to check whether 173 a variable is set. 17409-01-14 The unset built-in was modified to return 0 exit status when 175 unsetting a variable that was unset to conform with the POSIX 176 standard. 17709-01-14 The unset built-in was modified to continue to unset variables 178 after encountering a variable that it could not unset to 179 conform to the POSIX standard. 18009-01-14 The parameter expansion ${x+value} no longer expands the value of 181 the variable x when determining whether x is set or not. 18209-01-13 A bug in which background jobs and pipelines that were not waited 183 for could, in rare instances, cause the shell to go into an infinite 184 loop or fail has been fixed. 18509-01-06 A bug in indexed arrays of compound variables in which referencing 186 non-existent sub-variable in an arithmetic expression could cause 187 the sub-variable to be created has been fixed. 18809-01-05 A bug in which the \ character did not escape extended regular 189 expression pattern characters has been fixed. 19008-12-24 A bug in which killing the last element of a pipe did not cause 191 a write to the pipe to generate a SIGPIPE has been fixed. 19208-12-19 A bug which could cause command substitution to hang when the 193 last element of a pipeline in a command substitution was a built-in 194 and the output was more that PIPE_BUFF. 19508-12-18 A bug which occurs when a here documented marker embedded in a 196 command substitution occurs on a buffer boundary has been fixed. 19708-12-17 A bug in the output of typeset -p for variables that had attributes 198 but did not have a value has been fixed. 19908-12-16 A bug in which a name reference to a name reference variable that 200 references an array element has been fixed. 20108-12-16 A bug in which a variable given both the -A and -C attribute along 202 with an initial assignment didn't work correctly has been fixed. 20308-12-10 The [[ -t fd ]] test was fixed to handle fd>9. 20408-12-10 A bug where function stack misalignment could cause a bus error 205 has been fixed. 20608-12-09 Command completion was changed to use \ to quote special characters 207 instead of quoting the argument in single quotes. 20808-12-07 A bug in typeset -m which occurred when the target node was an 209 associative array element has been fixed. 21008-12-07 A timing bug on some systems (for example darwin), that could 211 cause the last process of a pipeline entered interactively to fail 212 with an "Exec format error" has been fixed. 21308-12-04 SHOPT_BGX enables background job extensions. Noted by "J" in 214 the version string when enabled. (1) JOBMAX=n limits the number 215 of concurrent & jobs to n; the n+1 & job will block until a 216 running background job completes. (2) SIGCHLD traps are queued 217 so that each completing background job gets its own trap; $! is 218 set to the job pid and $? is set to the job exit status at the 219 beginning of the trap. (3) sleep -s added to sleep until the time 220 expires or until a signal is delivered. 22108-12-04 The sign of floating point zero is preserved across arithmetic 222 function calls. 22308-12-04 A bug that caused print(1) to produce garbled stdout/stderr 224 output has been fixed. 22508-12-04 A bug in which printf "%d\n" "'<euro>'" did not output the 226 numerical value of the EURO symbol, 8354, has been fixed. 22708-11-24 /dev/fd* and /dev/std* redirections are first attempted with 228 open() to preserve seek semantics; failing that the corresponding 229 file descriptors are dup()'d. 23008-11-20 A bug which could cause a core dump if a function compiled with 231 shcomp was found has been fixed. 23208-11-20 A bug in which jobs were not cleared from the jobs table for 233 interactive shells when the pipefail option is on has been fixed. 23408-11-11 A bug in which a field that was unset in a type definition and later 235 set for an instance could appear twice when displaying the variable 236 has been fixed. 23708-11-11 A bug in which running a simple command & inside a function would 238 not return the correct process id has been fixed. 23908=11-10 A bug in which the exit status of a command could be lost if the pid 240 was that of the most recent command substitution that had completed 241 has been fixed. 24208-11-10 The maximum depth for subshells has been increased from 256 to 65536. 24308-11-06 A bug which could cause a core dump when the _ reference variable was 244 used as an embedded type with a compound assignment has been fixed. 245 24608-10-31 --- Release ksh93t --- 24708-10-31 Variable scoping/initialization bugs that could dump core were fixed. 24808-10-24 The lexer now accepts all RE characters for patterns prefixed 249 with a ksh ~(...) option expression. 25008-10-24 For ${var/pat/sub} \0 in sub expands to the text matched by pat. 25108-10-18 A bug in array scoping that could dump core has been fixed. 25208-10-10 read -n and -N fixed to count characters in multibyte locales. 25308-10-10 A bug that mishandled _.array[] type references has been fixed. 25408-10-09 ${.sh.version} now contains a concatenation of the following (after 255 'Version') denoting compile time features: 256 A SHOPT_AUDIT 257 B SHOPT_BASH 258 L SHOPT_ACCT 259 M SHOPT_MULTIBYTE 26008-10-09 A bug that caused subshell command substitution with redirection 261 to hang has been fixed. 26208-10-08 Output errors, other than to stderr, now result in a diagnostic. 26308-10-08 ksh93 now supports types that contain arrays of other types as 264 members. Earlier versions core dumped in this case. 26508-10-05 A bug which caused the shell to emit a syntax error for an arithmetic 266 statement of the form (( var.name[sub] = value)) has been fixed. 26708-10-01 A bug that caused subshell command substitution to hang has 268 been fixed. 26908-09-29 When the -p export option of typeset is used with other options, 270 only those variables matching the specified options are displayed. 27108-09-29 When the shell reads the environment and finds variables that are 272 not valid shell assignments, it now passes these on to subsequent 273 commands rather than deleting them. 27408-09-29 A bug in the display of compound variables containing an indexed 275 array of compound variables has been fixed. 27608-09-29 A bug in the display of compound variables containing an associative 277 array with a subscript containing a . in the name has been fixed. 27808-09-26 A core dump in the subshell environment restore has been fixed. 27908-09-24 $(...) has been fixed to properly set the exit status in $?. 28008-09-23 $(<...) with IFS=$'\n\n' has been fixed to retain all but the last 281 of multiple trailing newlines. 28208-09-23 The -p option to typeset when used with other attributes, restricts 283 the output to variables with the specified attributes. 28408-09-22 A bug that sometimes lost the exit status of a job has been fixed. 28508-09-21 A bug that retained trailing command substitution newlines in 286 cases where the command caused the shell to fork has been fixed. 28708-09-19 type, whence -v, and command -v were fixed to comply with POSIX 288 by writing 'not found' diagnostics to the standard error. 28908-09-18 test and [...] were fixed to comply with POSIX in the case 290 of test '(' binop ')' where binop is a valid binary test operator. 29108-09-16 If a method discipline named create is specified when defining a 292 type, this function will be called when an instance is created. 29308-09-15 The variable _ is now set as a reference to the compound variable 294 when defining a compound variable or a type. 29508-09-10 The shell now prints an error message when the type name specified 296 for an indexed array subscript is not an enumeration type. 29708-09-10 A bug in which a subshell that spawned a background process could 298 loose output that was produced after the foreground completed 299 has been fixed. 30008-09-10 A timing bug on some systems that could cause coprocesses started by a 301 subshell to not clean up and prevent other coprocesses has been fixed. 30208-09-09 The typeset -m option is now able to rename array elements from 303 the same array. 30408-09-09 The exit status of 2 from the DEBUG trap causes the next command 305 to be skipped. An exit value of 255 from a DEBUG trap called from 306 a function causes the function to return. 30708-09-08 A bug in which a coprocess created in a subshell that did not 308 complete when the subshell terminated could prevent a coprocess 309 from being created in the parent shell has been fixed. 31008-09-05 An assignment of the form name1=name2 where name1 and name2 311 are both compound variables causes name1 to get a copy of name2. 312 name1+=name2 causes name2 sub-variables to be appended to name1. 31308-09-05 A bug in which unsetting a compound variable did not unset all 314 the sub-variables has been fixed. 31508-09-01 A bug in the subshell cleanup code that could cause SIGSEGV has 316 been fixed. 31706-08-26 The SHLVL variable which is an environment variable used by bash 318 and zsh that gets incremented when the shell starts. 31908-08-25 For an indexed array, a negative subscript now refers to offsets 320 from the end so that -1 refers to the last element. 32108-08-24 An alignment error for shorts on 64 bit architectures has been fixed. 32208-08-22 If oldvar is a compound variable, typeset -C newvar=oldvar creates 323 newvar as a copy of oldvar. 32408-08-19 The ALRM signal no longer cause the sleep builtin to terminate. 32508-08-13 When used in an arithmetic expression, the .sh.version variable 326 now produces a number that will be increasing for each release. 32708-08-11 A bug in which type instantiation with a compound assignment in 328 a dot script in which the type is defined has been fixed. 32908-08-07 The -m option has been added to typeset to move or rename a 330 variable. Not documented yet. 33108-08-06 A bug in read when used in a loop when a prompt was specified 332 when reading from a terminal has been fixed. 33308-08-01 A bug with the pipefail option in which a nested pipeline could 334 cause an asynchronous command to block has been fixed. 33508-08-01 A for loop optimizer bug that treats .sh.lineno as an invariant 336 has been fixed. 33708-07-30 A bug in which expanding compound variable that had a get discipline 338 from with a here document could cause a syntax error has been fixed. 33908-07-18 A bug in which a nameref caused a local variable to be created 340 rather than binding to an existing variable in the global scope 341 has been fixed. 34208-07-17 A bug which occurred when a nameref was created from within a 343 function that was part of a pipeline has been fixed. 34408-07-14 The compile option SHOPT_STATS was added. With this option the 345 compound variable .sh.stats keeps usage statistics that could help 346 with performance tuning. 34708-07-10 The output of set now always uses a single line for each variable. 348 For array variables, the complete set of values is now displayed. 34908-07-09 The typeset -C option can be used with arrays to indicate that 350 each element should default to a compound variable. 35108-07-08 The %B format now outputs compound variables and arrays. The 352 alternate flag # can be used to cause output into a single line. 35308-07-03 When the window change signal, WINCH, is received, the current 354 edit line is redrawn in place. 35508-07-01 A bug in the handling of shared variables when inside an embedded 356 type has been fixed. 35708-06-29 A bug in multiline edit mode which occurred when the prompt length 358 was three characters or less has been fixed. 35908-06-23 A bug in which the SIGCLD was not be triggered when background 360 jobs completed has been fixed. 36108-06-23 KSH_VERSION added as a name reference to .sh.version. 36208-06-20 type now outputs 'special builtin' for special builtins. 36308-06-19 A couple of bugs in multi-dimensional arrays have been fixed. 36408-06-19 A bug in which a syntax error in a dot script could generated 365 a syntax error in the next subsequent command has been fixed. 36608-06-17 Reduced the maximum function call depth to 2048 to avoid exceptions 367 on some architectures. 36808-06-16 A bug in which printf "%B" could generate an exception when the 369 specified variable was not set has been fixed. 37008-06-16 When typeset -p is followed by variable names, it now displays 371 the attributes names and values for the specific names. 37208-06-14 A bug that could effect the drawing of the screen from multiline 373 emacs or gmacs mode when walking up the history file has been fixed. 37408-06-13 A bug in which a compound variable defined in a subshell could 375 have side effects into the parent shell has been fixed. 37608-06-13 A number of bugs related to using .sh.level to set the stack from 377 for DEBUG traps have been fixed. 37808-06-13 The .sh.lineno variable has been added. When .sh.level is changed 379 inside a DEBUG trap, the .sh.lineno contains the calling line number 380 for the specified stack frame. 38108-06-13 The .sh.level variable has been documented and now works. 38208-06-11 The -C option has been added to read for reading compound command 383 definitions from a file. 38408-06-11 The . command is now permitted inside a compound command definition. 385 The dot script can contain declaration commands and dot commands. 38608-06-09 Add -C option to typeset so that typeset -C foo, is equivalent 387 to foo=(). 38808-06-09 Added -n warning message for typeset option orderings that are valid 389 with ksh88 but not valid with ksh93, for example Lx5. 39008-06-09 A bug in which the return value for an assignment command containing 391 a command substitution with that failed was zero when the assignment 392 contained redirections has been fixed. 39308-06-09 A bug in the quoting of $ inside a ERE pattern ~(E)(pattern) 394 has been fixed. 39508-06-06 A bug when processing `` command substitution with the character 396 sequence \$' has been fixed. 39708-06-02 When defining a type, the typeset -r attribute causes this field 398 to be required to be specified for each instance of the type and 399 does not allow a default value. 40008-06-02 Several bugs in which compound variables were modified by 401 subshells have been fixed. 40208-05-22 The ceil function has been added to the math functions. 40308-05-21 A bug in which a name reference defined in a function and passed 404 as an argument to another function could cause an incorrect binding. 40508-05-21 A bug in freeing compound variables that are local to functions 406 has been fixed. 40708-05-19 The array expansions ${array[sub1..sub2]} and ${!array[sub1..sub2]} 408 to expand to the value (or subscripts) for array between sub1 and 409 sub2 inclusive. For associative arrays, the range is based on 410 location in the POSIX locale. The .. must be explicit and cannot 411 result from an expansion. 41208-05-15 The trap on SIGCLD is no longer triggered by the completion of 413 the foreground job as with ksh88. 41408-05-14 A bug in the implementation of the editing feature added on 415 07-09-19 in emacs mode has been fixed. 41608-05-12 A bug in processing the test built-in with parenthesis has been 417 fixed. 41808-05-12 The unset built-in now returns non-zero when deleting an array 419 subscript that is not set. 42008-05-08 Changing the value of HISTFILE or HISTSIZE will cause the old 421 history file to be close and reopened with the new name or size. 42208-05-08 When FPATH is changed functions that were found via a path search 423 will be searched for again. 42408-05-08 A parser bug in which reserved words and labels were recognized 425 inside compound indexed array assignment after a new-line has 426 been fixed. 42708-05-07 A bug in getopts when handling numerical option arguments has 428 been fixed. 42908-05-07 The typeset -S option was added for variables outside type 430 definitions to provide a storage class similar to C static 431 inside a function defined with function name. When outside 432 type definitions and outside a function, the -S option cause 433 the specified variable so be unset before the assignment and 434 before the remaining attributes are supplied. 43508-05-07 A bug that affected the cursor movement in multiline mode when 436 a character was deleted from near the beginning of the any 437 line other than the first. 43808-05-01 In multiline edit mode, the refresh operation will now clear 439 the remaining portion of the last line. 44008-05-01 A bug in computing prompt widths for the edit modes for prompts 441 with multibyte characters has been fixed. 44208-05-01 A bug in the multiline edit mode which could cause the current 443 line to be displayed incorrectly when moving backwards from third 444 or higher line to the previous line has been fixed. 44508-05-01 A bug in which options set in functions declared with the function 446 name syntax were carried across into functions invoked by these 447 functions has been fixed. 44808-04-30 A bug which could cause a coprocess to hang when the read end 449 is a builtin command has been fixed. 45008-04-30 The emacs and vi editors have been modified to handle window 451 change commands as soon as they happen rather than waiting for 452 the next command. 45308-04-28 A bug in which ${!x} did not expand to x when x was unset has been 454 fixed. 45508-04-27 A bug in which the assignment x=(typeset -a foo=([0]=abc)) created 456 x.foo as an associative array has been fixed. 45708-04-25 A bug in which $# did not report correctly when there were more 458 than 32K positional parameters has been fixed. 45908-04-04 Choose the name _ as the sub-variable that holds type or instance 460 specific data used by discipline functions. 46108-03-27 A bug in which the terminal group was not given back to the parent 462 shell when the last part of a pipeline was handled by the parent shell 463 and the other parts of the pipeline complete has been fixed. 464 The symptom was that the pipeline became uninterruptable. 46508-03-25 A bug in restricted mode introduced in ksh93s that caused scripts 466 that did not use #! to executed in restricted mode has been fixed. 46708-03-25 A bug in which the pipefail option did not work for a pipeline 468 within a pipeline has been fixed. 46908-03-24 A bug in which OPTIND was not set correctly in subshells has 470 been fixed. 47108-03-24 A bug which could cause a memory exception when a compound variable 472 containing an indexed array with only element 0 defined was expanded. 47308-03-20 A bug in which ${!var[sub].*} was treated as an error has been fixed. 47408-03-20 Associative array assignments of the form ([name]=value ...) 475 now allow ; as well as space tab and new line to separate elements. 47608-03-18 A buffering problem in which standard error was sometimes 477 not flushed before sleep has been fixed. 47808-03-17 A bug in which a signal sent to $$ while in a subshell would be 479 sent to the subshell rather than the parent has been fixed. 48008-03-17 --default option added to set(1) to handle set +o POSIX semantics. 481 set --state added as a long name alias for set +o. 48208-03-14 A bug in which using monitor mode from within a script could 483 cause the terminal group to change has been fixed. 48408-03-10 The new ${...} command substitution will treat the trailing } 485 as a reserved word even if it is not at the beginning of a command, 486 for example, ${ date }. 48708-03-10 If the name of the ENV begins with /./ or ././ then the 488 /etc/ksh.kshrc file will not be executed on systems that support 489 this interactive initialization file. 49008-03-07 A bug in which ksh -i did not run the ENV file has been fixed. 49108-03-07 A bug in which ulimit did not always produce the same output as 492 ulimit -fS has been fixed. 49308-03-04 A bug in multiline mode in emacs and vi mode which could cause the 494 cursor to be on the wrong line when interrupt was hit has been fixed. 49508-03-03 The change made in ksh93s+ on 07-06-18 in which braces became 496 optional for ${a[i]} inside [[...]] was restored in the case 497 where the argument can be a pattern. 49808-03-03 A bug in which creating a name reference to an associative array 499 instance would fail when the subscript contained characters [ or 500 ] has been fixed. 50108-02-29 The redirection operator >; has been added which for non-special 502 files, generates the output in a temporary file and writes the 503 specified file only of the command has completed successfully. 50408-02-15 A bug in ${var/pattern/string} for patterns of the form ?(*) and +(*) 505 has bee fixed. 50608-02-07 A bug in which test \( ! -e \) produced an error has been fixed. 50708-02-14 The typeset -a option can now optionally be followed by the name 508 of an enumeration type which allows subscripts to be enumerations. 50908-02-14 The enum builtin which creates enumeration types has been added. 51008-02-12 The backoff logic when there are no more processes has been fixed. 51108-02-07 The -X option has been added to typeset. The -X option creates 512 a double precision number that gets displayed using the C99 %a 513 format. It can be used along with -l for long double. 51408-01-31 The -T option to typeset has been added for creating typed 515 variables. Also the -h and -S options have been added to 516 typeset that are only applicable when defining a type. 51708-01-31 The prefix expansion operator @ has been added. ${@name} 518 expands to the type of name or yields the attributes. 51907-11-15 A bug in the macro expander for multibyte characters in which 520 part of the character contains a file pattern byte has been fixed. 52107-10-03 A bug in which : was not allowed as part of an alias name has been 522 fixed. 52307-09-26 A bug in which appending a compound variable to a compound variable 524 or to an index array didn't work has been fixed. 52507-09-19 In both emacs and vi edit mode, the escape sequence \E[A (usually 526 cursor up, when the cursor is at the end of the line will fetch 527 the most recent line starting with the current line. 52807-09-18 The value of ${!var} was correct when var was a reference to an 529 array instance. 53007-09-18 The value of ${!var[sub]} was not expanding to var[sub] and this 531 was fixed. It also fixed ${name} where name is a name reference 532 to var[sub]. 53307-09-18 It is now legal to create a name reference without an initialization. 534 It will be bound to a variable on the first assignment. 53507-08-30 A discipline function can be invoked as ${x.foo} and is equivalent 536 to ${ x.foo;} and can be invoked as x.foo inside ((...)). 53707-07-09 A bug in which typeset -a did not list indexed arrays has been 538 fixed. 53907-07-03 The command substitution ${ command;} has been added. It behaves 540 like $(command) except that command is executed in the current 541 shell environment. The ${ must be followed by a blank or an 542 operator. 543 54408-04-17 --- Release ksh93s+ --- 54508-04-17 A bug in which umask was not being restored correctly after a 546 subshell has been fixed. 54708-04-15 A bug in which sending a STOP signal to a job control shell started 548 from within a shell function caused cause the invoking shell to 549 terminate has been fixed. 55008-04-11 A bug which caused $(exec > /dev/null) to go into an infinite loop 551 has been fixed. 55208-03-27 A bug in which typeset -LZ was being treated as -RZ has been fixed. 55308-03-06 A bug with ksh -P on systems that support the the profile shell, 554 in which it would exit after running a non-builtin has been fixed. 55508-01-31 A bug in which command substitution inside ((...)) could cause 556 syntax errors or lead to core dumps has been fixed. 55708-01-17 A bug in which discipline functions could be deleted when invoked 558 from a subshell has been fixed. 55908-01-17 A bug in which a command substitution consisting only of 560 assignments was treated as a noop has been fixed. 56108-01-17 A bug in which discipline functions invoked from withing a 562 compound assignment could fail has been fixed. 56308-01-16 Incomplete arithmetic assignments, for example ((x += )), now 564 generate an error message. 56508-01-16 A bug in which a set discipline defined for a variable before 566 an array assignment could cause a core dump has been fixed. 56708-01-03 A bug in on some systems in which exit status 0 is incorrectly 568 returned by a process that catches the SIGCONT signal is stopped 569 and then continued. 57007-12-13 A race condition in which a program that has been stopped and then 571 continued could loose the exit status has been fixed. 57207-12-12 Code to check for file system out of space write errors for all 573 writes has been added. 57407-12-11 A bug in the macro expander for multibyte characters in which 575 part of the character contains a file pattern byte has been fixed. 57607-12-06 A bug in the emacs edit mode when multiline was set that output 577 a backspace before the newline to the screen has been fixed. 57807-12-04 A bug in which using <n>TAB after a variable name listing expansion 579 in the edit modes would cause the $ to disappear has been fixed. 58007-11-28 A bug in which setting IFS to readonly could cause a subsequent 581 command substitution to fail has been fixed. 58207-11-27 A work around for a gcc 4.* C99 "feature" that could cause a job 583 control shell to go into an infinite loop by adding the volatile 584 attribute to some auto vars in functions that call setjmp(). 58507-11-27 A bug in which the shell could read ahead on a pipe causing the 586 standard input to be incorrectly positioned has been fixed. 58707-11-27 A bug in which compound variable UTF-8 multibyte values were not 588 expanded or traced properly has been fixed. 58907-11-21 A bug where an unbalanced '[' in a command argument was not treated 590 properly has been fixed. 59107-11-15 A bug in which compatibility mode (no long option names) getopts(1) 592 incorrectly set the value of OPTARG for flag options has been fixed. 59307-11-15 A bug in which "hash -- name" treated "--" as an invalid name operand 594 has been fixed. 59507-11-15 typeset now handles "-t -- [-r] [--]" for s5r4 hash(1) compatibility. 59607-11-15 A bug in which the umask builtin mis-handled symbolic mode operands 597 has been fixed. 59807-11-15 Bugs in which shell arithmetic and the printf builtin mis-handled the 599 signs of { -NaN -Inf -0.0 } have been fixed. 60007-11-15 The full { SIGRTMIN SIGRTMIN+1 ... SIGRTMAX-1 SIGRTMAX } range 601 of signals, determined at runtime, are now supported. 60207-11-15 A bug in which creating an index array with only subscript 0 created 603 only a simple variable has been fixed. 60407-11-14 A bug in which appending to an indexed array using the form 605 name+=([sub]=value) could cause the array to become an associative 606 array has been fixed. 60707-11-14 A bug in which typeset without arguments could coredump if a 608 variable is declared as in indexed array and has no elements has 609 been fixed. 61007-11-14 A bug in which creating a local SECONDS variable with typeset in 611 a function could corrupt memory has been fixed. 61207-11-14 A bug which could cause a core dump when a script invoked by name 613 from a function used compound variables has been fixed. 61407-11-05 A bug in which printf %d "'AB" did not diagnose unconverted characters 615 has been fixed. 61607-11-05 printf %g "'A" support added for all floating point formats. 61707-11-01 A bug in which typeset -f fun did not display the function definition 618 when invoked in a subshell has been fixed. 61907-10-29 The sleep builtin was fixed so that all floating point constants 620 are valid operands. 62107-10-10 A bug in which the locale was not being restored after 622 LANG=value command has been fixed. 62307-09-20 A bug in which a nameref to a compound variable that was local 624 to the calling function would not expand correctly when displaying 625 is value has been fixed. 62607-09-19 A bug which cause cause a core dump if .sh.edchar returned 627 80 characters or more from a keyboard trap has been fixed. 62807-09-14 A bug in which could cause a core dump when more than 8 file 629 descriptors were in use has been fixed. 63007-09-10 A bug in which creating a name reference to an instance of 631 an array when the array name is itself a reference has been fixed. 63207-09-10 The file completion code has been modified so that after an = in 633 any word, each : will be considered a path delimiter. 63407-09-06 A bug in which subprocess cleanup could corrupt the malloc() heap 635 has been fixed. 63607-08-26 A bug in which a name reference to an associative array instance 637 could cause the subscript to be evaluated as an arithmetic expression 638 has been fixed. 63907-08-22 A bug in which the value of an array instance was of a compound 640 variable was not expanded correctly has been fixed. 64107-08-14 A bug which could cause a core dump when a compound assignment was 642 made to a compound variable element with a typeset -a attribute 643 has been fixed. 64407-08-08 A bug in which a trap ignored in a subshell caused it to be 645 ignored by the parent has been fixed. 64607-08-07 A bug in which the set command would generated erroneous output 647 for a variable with the -RZ attribute if the variable name had been 648 passed to a function has been fixed. 64907-08-02 A bug in which read x[1] could core dump has been fixed. 65007-08-02 A second bug in which after read x[sub] into an associative array 651 of an element that hasn't been assigned could lead to a core dump 652 has been fixed. 65307-07-31 A bug in which a pipeline that completed correctly could have 654 an exit status of 127 when pipefail was enabled has been fixed. 65507-07-09 The SHOPT_AUDIT compile option has been added for keyboard logging. 65607-06-25 In vi insert mode, ksh no longer emits a backspace character 657 before the carriage return when the newline is entered. 65807-06-25 A bug in which pipefail would cause a command to return 0 659 when the pipeline was the last command and the failure happened 660 on a component other than the last has been fixed. 66107-06-25 A bug in the expansion of ${var/pattern/rep} when pattern or rep 662 contained a left parenthesis in single quotes has been fixed. 66307-06-18 The braces for a subscripted variable with ${var[sub]} are now 664 optional when inside [[...]], ((...)) or as a subscript. 66507-05-28 A bug in brace expansion in which single and double quotes did 666 not treat the comma as a literal character has been fixed. 66707-05-24 The -p option of whence now disables -v. 66807-05-23 Several bug fixes in compound variables and arrays of arrays 669 have been made. 67007-05-15 A bug in which the %B format of printf was affected by the 671 locale has been fixed. 67207-05-14 A bug in which \ was not removed in the replacement pattern with 673 ${var/pattern/rep} when it was not followed by \ or a digit has 674 been fixed. 67507-05-10 A bug in which ksh -R file core dumped if no script was specified 676 has been fixed. it not displays an error message. 67707-05-07 Added additional Solaris signals to signal table. 67807-04-30 A bug in which a pipeline with command substitution inside a 679 function could cause a pipeline that invokes this function to 680 hang when the pipefail option is on has been fixed. 68107-04-30 Added -q to whence. 68207-04-18 A small memory leak with each redirection of a non-builtin has 683 been fixed. 68407-03-08 A bug in which set +o output command line options has been fixed. 68507-03-08 A bug in which an error in read (for example, an invalid variable 686 name), could leave the terminal in raw mode has been fixed. 68707-03-06 A bug in which read could core dump when specified with an array 688 variable with a subscript that is an arithmetic expression has 689 been fixed. 69007-03-06 Several serious bugs with the restricted shell were reported and 691 fixed. 69207-03-02 If a job is stopped, and subsequently restarted with a CONT 693 signal and exits normally, ksh93 was incorrectly exiting with 694 the exit status of the stop signal number. 69507-02-26 M-^L added to emacs mode to clear the screen. 69607-02-26 A bug in which setting a variable readonly in a subshell would 697 cause an unset error when the subshell completed has been fixed. 69807-02-19 The format with printf uses the new = flag to center the output. 69907-02-19 A bug in which ksh93 did not allow multibyte characters in 700 identifier names has been fixed. 70107-02-19 A bug introduced in ksh93 that causes global compound variable 702 definitions inside functions to exit with "no parent" has been fixed. 70307-02-19 A bug in which using compound commands in process redirection 704 arguments would give syntax errors <(...) and >(...) has been fixed. 70507-01-29 A bug which caused the shell to core dump which can occur when a 706 built-in exits without closing files that it opens has been fixed. 70707-01-26 A bug in which ~(E) in patterns containing \ that are not inside () 708 has been fixed. 709 71006-12-29 --- Release ksh93s --- 71106-12-29 A bug in which the value of IFS could be changed after a command 712 substitution has been fixed. 71306-12-22 /dev/(tcp|udp|sctp)/HOST/SEVRICE now handles IPv6 addresses on 714 systems that provide getaddrinfo(3). 71506-12-19 A -v option was added to read. With this option the value of 716 the first variable name argument will become the default value 717 when read from a terminal device. 71806-11-20 A bug in which "${foo[@]:1}}" expands a null argument (instead of 719 no argument), when foo[0] is not empty has been fixed. 72006-11-16 The discipline functions have been modified to allow each subscript 721 to act independently. Currently the discipline function will not 722 be called when called from a discipline function of the same variable. 72306-11-14 A bug which could cause a core dump if a file descriptor for 724 an internal file was closed from with a subshell has been fixed. 72506-10-30 The redirections <# pattern, and <## pattern have been added. 726 Both seek forward to the beginning of the next line that contains 727 the pattern. The <## form copies the skipped portion to standard 728 output. 72906-10-26 On systems that support stream control transport, the virtual file 730 name /dev/sctp/host/port can now be used to establish connections. 73106-10-26 The printf modifier # when used with d produces units in thousands 732 with a single letter suffix added. The modifier # when used with 733 the i specification provides units of 1024 with a two letter suffix. 73406-10-24 The value of $! is now set to the process id of a job put 735 into the background with the bg command as required by POSIX. 73606-10-23 A bug in which the value of $! was affected by a background 737 job started from a subshell has been fixed. 73806-10-23 A bug in ${var:offset:len} in multibyte locales has been fixed. 73906-10-15 The remaining math functions from C99 were added for any system 740 that supports them. 74106-10-13 The klockwork.com software detected a few coding errors that 742 have been fixed. 74306-10-12 A bug when skipping over `...` with ${x:=`...`} when x is set 744 has been fixed. 74506-10-11 A bug in process floating constants produced by the %a format 746 of printf has been fixed. 74706-10-06 A bug in which IFS was not being restored correctly in some 748 cases after a subshell has been fixed. 74906-10-06 A bug in which pipefail was not detecting some failures in 750 pipelines with 3 or more states has been fixed. 75106-10-03 A bug in the processing of >(...) with builtins which could 752 cause the builtin to hang has been fixed. 75306-10-03 A bug in the for loop optimizer which causes >(...) process 754 substitution to be ignored has been fixed. 75506-09-17 The -a option was added to typeset for indexed arrays. This 756 is only needed when using the ([subscript]=value ...) form. 75706-09-06 The showme option was added. Each simple command not beginning 758 with a redirection and not occurring with in the while, until, if, 759 select condition can be preceded by a semi-colon which will 760 be ignored when showme is off. When showme is on, any command 761 preceded by a colon will be traced but not executed. 76206-08-16 As a new feature, a leading ~(N) on a pattern has no effect 763 except when used for file expansion. In this case if not 764 matches are found, the pattern is replaced by nothing rather 765 than itself. 76606-08-11 A bug in the expansion of ${.sh.match[i]:${#.shmatch[i]}} has 767 been fixed. 76806-08-10 The read builtin options -n and -N have been modified to treat 769 the size as characters rather than bytes unless storing into a 770 binary (typeset -B) variable. 77106-07-27 When the here document operator << is followed directly by a # 772 rather than a -, the first line of the here-document determines 773 how much whitespace is removed for each line. 77406-07-26 A bug in the C-shell history (enabled with set -H) in which the 775 history event !$ was not processed has been fixed. 77606-07-21 A bug on some systems in which assigning PATH on a command line 777 would not take effect has been fixed. 77806-07-20 Add ksh93 and rksh93 as allowable names for ksh binaries. 77906-07-20 Removed the SHOPT_OO compilation option which was only partially 780 implemented. 78106-07-20 The ability to use egrep, grep, and fgrep expressions within 782 shell patterns has been documented. 78306-07-17 A bug with arithmetic command expressions for locales in which 784 the comma is a thousands separator has been fixed. 78506-07-13 The default HISTSIZE was increased from 128 to 512. 78606-07-13 A multibyte problem with locales that use shift codes has been fixed. 78706-06-23 A number of bug fixes for command, file, and variable completion 788 have been mode. 78906-06-20 Floating point division by zero now yields the constant Inf or -Inf 790 and floating functions with invalid arguments yield NaN. 79106-06-20 The floating point constants Inf and NaN can be used in arithmetic 792 expressions. 79306-06-20 The functions isinf(), isnan(), tanhl() have been added for 794 arithmetic expressions. 79506-06-13 Internal change to use ordering for variables instead of hashing 796 to speed up prefix matching. 79706-06-13 A window between fork/exec in which a signal could get lost 798 and cause a program to hang has been eliminated 79906-06-13 A bug in edit completion with quoted strings has been fixed. 80006-06-07 The restricted options can now be enabled by set as well as on 801 the command line. Once set, it can not be disabled. 80206-06-04 Modified built-in binding so that for systems for which /bin 803 and /usr/bin are the same, a builtin bound to /bin will get 804 selected when either /bin or /usr/bin is scanned. 80506-06-04 Added literal-next character processing for emacs/gmacs mode. 806 This change is not compatible with earlier versions of ksh93 807 and ksh88 when the stty lnext is control-v. The sequence 808 escape-control-v will display the shell version. 80906-05-31 Modified emacs and vi mode so that entering a TAB after a partial 810 TAB completion, generates a listing of possible completions. 811 After the second TAB, a number followed by a TAB will perform 812 the completion with the corresponding item. 81306-05-19 Modified arithmetic so that conversions to strings default to 814 the maximum number of precision digits. 81506-05-16 Bug fixes for multibyte locales. 81606-05-10 The =~ operator was added to [[...]] and [[ string ~= ERE ]] 817 is equivalent to [[ string == ~(E)ERE ]]. 81806-04-25 A bug in the vi edit mode which could cause the shell to core dump 819 when switching from emacs mode. 82006-04-17 A bug in which using LANG or LC_ in assignment lists with builtins 821 did not restore the localed correctly has been fixed. 82206-04-04 A bug in which discipline functions could not be added to variables 823 whose names started with .sh has been fixed. 82406-03-28 The -s option to typeset was added to modify -i to indicate short 825 integers. 82606-03-28 A bug in which variables assignment lists before functions 827 defined with function name were not passed on the functions 828 invoked by this function has been fixed. 82906-03-28 A bug in which name references defined within a function defined 830 with function name could not be used with compound variables has 831 been fixed. 83206-03-27 A bug in which read <&p (print >&p) would cause the coprocess input 833 (output) pipe to close before reading from (after writing to) 834 it has been fixed. 83506-02-28 A bug in which stopping a job created with the hist builtin command 836 would create a job that could not be restarted has been fixed. 837 83806-01-24 --- Release ksh93r --- 83906-01-24 A bug in which running commands with standard output closed would 840 not work as expected has been fixed. 84106-01-23 A bug in which print -u<n> could fail when file descriptor <n> was 842 open for writing has been fixed. 84306-01-19 The ?: arithmetic operator fixed to work when the operation after 844 the colon was an assignment. 84505-12-24 A bug which could lead to a core dump when elements of a compound 846 variable were array elements, i.e. foo=(bar=(1 2)), has been fixed. 84705-12-13 An arithmetic bug in which x+=y+=z was not working has been fixed. 84805-12-13 An arithmetic bug in which x||y was returning x when x was non-zero 849 rather than 1 has been fixed. 85005-12-07 The aliases for integer and float have been changed to use attributes 851 -li and -lE to handle long long and long double types. 85205-12-07 The histexpand (-H) option has been added which allows C-shell 853 style history expansions using the history character !. 85405-12-07 The multiline option was added which changes that way the edit 855 modes handle lines longer than the window width. Instead of 856 horizontal scrolling, multiple lines on the screen are used. 85705-12-05 The whence builtin now returns an absolute pathname when the 858 command is found in the current directory. 85905-11-29 A bug which caused ksh -c '[[ ! ((' to core dump rather than 860 report a syntax error has been fixed. 86105-11-29 A bug when reading fixed length records into typeset -b variables 862 which caused a zero byte to terminate the value has been fixed. 86305-11-22 The ability to seek to an offset within a file has been added 864 with the new I/O redirection operators, <# and >#. Currently, 865 these redirection operators must be followed by ((expr)) 866 but in a future release, it should be able to used to seek forward 867 to the specified shell pattern. In addition $(n<#) expands to the 868 current byte offset for file descriptor n. 86905-11-22 The .sh.match array variable is now set after each [[ ... ]] 870 pattern match. Previously it was only set for substring matches. 87105-10-17 A bug in which the library path variable could be prefixed 872 with a directory when a .path file was not encountered in 873 the directory of the executable has been fixed. 87405-09-15 A for/while loop optimizer bug in which $OPTIND was not 875 correctly expanded has been fixed. 87605-09-05 A bug in which a history command that invoked a history 877 command could go into an infinite loop has been fixed. 87805-08-31 In the case that IFS contains to adjacent new-lines so that 879 new-line is not treated as a space delimiter, only a single 880 new-line is deleted at the end of a command substitution. 88105-08-19 When a tilde substitution expands to the / directory and is 882 followed by a /, it is replaced by the empty string. 88305-08-16 A bug in which n<&m did not synchronize m has been fixed. 88405-08-16 A bug in which process substitution ( <() and >() ) was not 885 working within for and while loops has been fixed. 88605-07-24 A bug in which the pattern ~(E)(foo|bar) was treated as a syntax 887 error has been fixed. 88805-07-24 A bug in completion with <n>=, where n was the one of the 889 previous selection choices has been fixed. 89005-07-21 A bug with multibyte input when no edit mode was specified which 891 caused the input line to shift left/right has been fixed. 89205-06-24 A race condition which could cause the exit status to get lost 893 on some fast systems has been fixed. 89405-06-21 A bug in which nested patterns of the form {m,n}(pat) would cause 895 syntax errors has been fixed. 89605-06-21 A bug in the macro expander has been fixed which could cause a 897 syntax error for an expansion of the form ${x-$(...)} when 898 x is set and the command substitution contained certain strings. 89905-06-08 On systems for which echo does not do System V style \ expansions, 900 the -e option was added to enable these expansion. 90105-06-08 A bug in which ${var op pattern} to not work when inside an 902 arithmetic expression has been fixed. 90305-05-23 An extension to shell patterns that allows matching of nested 904 groups while skipping over quoted strings has been added. 90505-05-18 A bug in which the line number for errors was not correct for 906 functions loaded from FPATH has been fixed. 90705-04-18 A bug in which the exit status $? is not set when a trap triggered 908 by the [[...]] command is executed has been fixed. 90905-04-08 Redirection operators can be directly preceded with {varname} 910 with no intervening space, where varname is a variable name which 911 allows the shell to select a file descriptor > 10 and store it 912 into varname. 91305-04-08 SHOPT_CMDLIB_BLTIN=1 now includes <cmdlist.h> generated table. 91405-04-07 [[ -o ?option ]] is true if "option" is a supported option. 91505-04-05 A bug in handling file completion with spaces in the names 916 has been fixed. 91705-03-25 The SIGWINCH signal is caught by default to keeps the LINES and 918 COLUMNS variables in sync with the actual window size. 91905-03-25 Building ksh with SHOPT_REMOTE=1 causes ksh to set --rc if stdin is 920 a socket (presumably part of a remote shell invocation.) 92105-03-25 Building ksh with SHOPT_SYSRC=1 causes interactive ksh to source 922 /etc/ksh.kshrc (if it exists) before sourcing the $ENV file. 92305-03-25 {first..last[..incr][%fmt]} sequences added to brace expansions 924 when braceexpand is enabled. 92505-03-03 A bug where a SIGCHLD interrupt could cause a fifo open to fail has 926 been fixed. 92705-02-25 A bug in which a builtin command run in the background could 928 keep a file descriptor open which could cause a foreground 929 process to hang has been fixed. 93005-02-24 A bug where builtin library commands (e.g., date and TZ) failed to 931 detect environment variable changes has been fixed. 93205-02-22 The read builtin and word splitting are now consistent with respect 933 to IFS -- both treat IFS as field delimiters. 93405-02-22 The read builtin no longer strips off trailing delimiters that 935 are not space characters when there are fewer variables than fields. 93605-02-17 A builtin bug on systems where dlsym(libcmd) returns link-time 937 bindings has been fixed. 93805-02-12 A bug in which the lib_init() function for .paths BUILTIN_LIB 939 libraries was not called has been fixed. 94005-02-06 A bug on some systems in which moving the write end of a co-process 941 to a numbered file descriptor could cause it to close has been fixed. 94205-02-06 A bug in the vi-edit mode in which the character under the cursor 943 was not deleted in some cases with the d% directive has been fixed. 94405-02-06 A bug where external builtin stdout/stderr redirection corrupted 945 stdout has been fixed. 94605-02-04 A bug where times formatting assumed CLK_TCK==60 has been fixed. 947 94805-01-11 --- Release ksh93q --- 94905-01-11 A bug in the integral divide by zero check has been fixed. 95005-01-11 The -l option has been added to read /etc/profile and 951 $HOME/.profile, if they exist, before the first command. 95205-01-11 An argument parsing bug that caused `kill -s x -- n' to fail has 953 been fixed. 95405-01-11 The .paths file, introduced in ksh93m, which can appear in 955 any directory in PATH, now allows a line of the form 'BUILTIN_LIB=.' 956 When a command is searched for this directory, and the full path 957 matches the path of the built-in version of the command (listed 958 by the 'builtin' command) then the built-in version of the command 959 is used. When ksh is built with SHOPT_CMDLIB_DIR=1 then all libcmd 960 functions become builtins with the '/opt/ast/bin/' directory prefix. 96105-01-10 A bug in which a nameref to a compound name caused a core dump has 962 been fixed. 96305-01-09 A bug in which some SIGCHLD interrupts (from child processes exiting) 964 caused a fatal print/echo error diagnostic has been fixed. 96504-12-24 A bug in which some SIGCHLD interrupts (from child processes exiting) 966 corrupted the internal process/job list, sometimes causing the shell 967 to hang, has been fixed. 96804-12-01 A bug in which typeset -Fn truncated less than n digits for large 969 numbers has been fixed. 97004-11-25 A bug in which standard error could be closed after a redirection 971 to /dev/stderr has been fixed. 97204-11-17 A bug in which an expansion of the form ${array[@]:3} could expand 973 to ${array[0]} when ${array[3]} was not set has been fixed. 97404-10-22 The -E or -orc command line option reads ${ENV-$HOME/.kshrc} file. 97504-10-22 `-o foo' equivalent to `+o nofoo', `-o nobar' equivalent to `+o bar'. 976 `--foo' equivalent to `-o foo', `--nofoo' equivalent to `+o foo' 97704-10-05 The .paths file, introduced in ksh93m, which can appear in 978 any directory in PATH, now allows a line of the form 979 'BUILTIN_LIB=libname'. When a command is searched for this directory, 980 the shared library named by libname will first be searched for a 981 built-in version of the command. 98204-09-03 <<< here documents now handle quotes in the word token correctly. 98304-08-08 The maximum size for read -n and and read -N was increased from 984 4095 to 32M. 98504-08-04 printf %q was modified so that if an no operand was supplied, no 986 no output would be generated rather than a quoted empty string. 98704-08-01 The -n and -N options of the read builtin has been modified 988 when reading variables with the binary attribute so that the 989 data is stored directly rather than through assignment. 99004-08-01 The shcomp command has been modified to process alias commands 991 under some conditions. 99204-07-31 The .sh.match variable added in ksh93l, now works like other 993 indexed arrays. 99404-07-08 A loop optimizer bug which occurs when typeset is used in 995 a for or while loop inside a function has been fixed. 99604-06-24 The number of subexpressions in a pattern was increased to 64 997 from the current number of 20. 99804-06-17 The -t option to read was modified to allow seconds to be 999 specified as any arithmetic expression rather than just 1000 an integral number of seconds, for example even -t 'sin(.5)' 1001 is now valid. 100204-06-16 Two small memory leak problems were fixed. 100304-06-15 A bug in ${var/pattern/"string"} which occurred when string 1004 contained pattern matching characters has been fixed. 100504-05-08 printf $'%d\n' produced an erroneous error message and has 1006 been fixed. 100704-05-24 A bug in which an associative array without any elements could 1008 cause a core dump when a script with an associative array with 1009 the same name was declared in a script invoked by name has 1010 been fixed. 101104-05-11 A bug in which an exec statement could close the script that 1012 is being processed in a script that is run by name causing 1013 a failure has been fixed. 101404-04-28 If the first character of assignment to an integer variable was 0, 1015 the variable had been treated as unsigned. This behavior was 1016 undocumented and has been removed. 101704-04-05 A bug in which the positioning of standard input could be incorrect 1018 after reading from standard input from a subshell has been fixed. 101904-03-30 A bug in the for loop optimizer which in rare cases could cause 1020 memory corruption has been fixed. 102104-03-29 The preset alias source='command .' has been added. 102204-03-29 A bug introduced in ksh93p on some systems in which invoked by 1023 name with #! on the first line would not get the signals handling 1024 initialized correctly has been fixed. 102504-03-29 A bug introduced in ksh93p in which a HUP signal received by 1026 a shell that is a session group leader was not passed down to 1027 its children has been fixed. 1028 102904-02-28 --- Release ksh93p --- 103004-02-28 The ability to apply an append discipline to any variable has 1031 been added. 103204-02-14 A bug in which the exportall option (set -a) would cause incorrect 1033 results for arrays has been fixed. 103404-02-02 A bug in which an exported array would pass more than 1035 the first element to a script invoked by name has been fixed. 103604-02-02 A bug on some systems in which name=value pairs preceding a script 1037 invoked by name was not getting passed to the script has been fixed. 103804-01-20 A bug in which an unset discipline function could cause a core 1039 dump on some systems has been fixed. 104004-01-12 A bug in which a continue or break called outside a loop from 1041 inside a function defined with name() syntax could affect 1042 the invoking function has been fixed. 104304-01-08 If a command name begins with ~, only filename completion will be 1044 attempted rather than pathname completion using the builtin editors. 104504-01-08 A bug in the vi edit mode in which the wrong repeat count on 1046 multiple word replacements with the . directive has been fixed. 104704-01-06 Backspace characters are now handled correctly in prompt strings. 104804-01-06 The getopts builtin has been modified to accept numerical 1049 arguments of size long long on systems that support this. 105004-01-06 A bug in which unsetting all elements of an associative array 1051 would cause it to be treated as an indexed array has been fixed. 105203-12-15 A bug in which a quoted string ending with an unescaped $ would 1053 delete the ending $ in certain cases has been fixed. 105403-12-05 A bug in which the shell could hang when set -x tracing a command 1055 when an invalid multibyte character is encountered has been fixed. 105603-12-05 On some systems, if the KEYBD trap is set, then commands that use 1057 the meta key were not processed until return was hit. This 1058 has been fixed. 105903-12-05 A problem which occurred when the login shell was not a group 1060 leader that could cause it to fail has been fixed. 106103-12-05 A problem in which a shell could core dump after receiving a signal 1062 that should cause it to terminate while it was in the process 1063 of acquiring more space has been fixed. 106403-12-05 If ENV is not specified, the shell will default to $HOME/.kshrc 1065 for interactive shells. 106603-11-21 A bug introduced in ksh93o in which the DEBUG trap could get 1067 disabled after it triggered has been fixed. 106803-11-04 A bug in which using arithmetic prefix operators ++ or -- on a 1069 non-lvalue could cause a core dump has been fixed. 107003-11-04 A bug in which leading zeros were stripped from variable 1071 expansions within arithmetic computation to avoid being treated 1072 as octal constants when they should not have, has been fixed. 107303-10-08 A bug introduced in ksh93o in which a large here document inside 1074 a function definition could get corrupted has been fixed. 107503-09-22 A bug in which the .get discipline function was not being 1076 called when a string variable was implicitly referenced from 1077 within a numerical expression has been fixed. 107803-09-22 A bug in which a script without a leading #! could get executed 1079 by /bin/sh rather than the current shell on some systems has 1080 been fixed. 108103-09-12 To improve conformance with ksh88, leading zeros will be ignored 1082 when getting the numerical value of a string variable so that 1083 they will not be treated as octal constants. 108403-09-03 The builtin kill command now processes obsolete invocations 1085 such as kill -1 -pid. 108603-09-02 The restriction on modifying FPATH in a restricted shell (sh -r) 1087 has been documented. 108803-09-02 The restricted shell (sh -r) has been modified to disallow 1089 executing command -p. 109003-08-07 A bug in which the KEYBD trap was not being invoked when 1091 characters with the 8th bit set has been fixed. 109203-08-02 A parser bug introduced in ksh93o which caused the character 1093 after () in a Posix function definition to be skipped 1094 when reading from standard input has been fixed. 109503-08-01 A bug in which "${foo#pattern}(x)" treated (x) as if it were 1096 part of the pattern has been fixed. 109703-08-01 The command -x option has been modified so that any trailing 1098 arguments that do expand to a single word will be included 1099 on each invocation, so that commands like command -x mv * dir 1100 work as expected. 1101 110203-07-20 --- Release ksh93o+ --- 110303-07-20 A bug in which could cause memory corruption when a posix 1104 function invoked another one has been fixed. 110503-07-15 A bug in which a file descriptor>2 could be closed before 1106 executing a script has been fixed. 110703-07-15 A parsing error for <() and >() process substitutions inside 1108 command substitution has been fixed. 110903-07-15 A parsing error for patterns of the form {...}(...) when 1110 used inside ${...} has been fixed. 111103-07-15 An error in which expanding an indexed array inside a compound 1112 variable could cause a core dump has been fixed. 111303-07-15 A bug in which on rare occasions a job completion interrupt 1114 could cause to core dump has been fixed. 111503-06-26 A bug in which process substitution embedded within command 1116 substitution would generate a syntax error has been fixed. 111703-96-23 A bug in which ${@:offset:len} could core dump when there 1118 were no arguments has been fixed. 111903-96-23 A bug in which ${X[@]:offset:len} could core dump when X 1120 was unset has been fixed. 112103-06-22 The -x option was added to the command builtin. If this 1122 option is on, and the number of arguments would exceed ARG_MAX, 1123 the command will be invoked multiple times with a subset of 1124 the arguments. For example, with alias grep='command -x grep, 1125 any number of arguments can be specified. 112603-06-14 A bug in which could cause a core dump on some systems with 1127 vi and emacs editors with the MULTIBYTE option has been fixed. 112803-06-06 A bug in which the shell could core dump when a script was 1129 run from its directory, and the script name a symlink to a file 1130 beginning with .., has been fixed. 113103-06-05 A bug in which the shell could core dump when a child process 1132 that it is unaware of terminates while it is calling malloc() 1133 has been fixed. 113403-06-02 An option named globstar (set -G) has been added. When enabled, 1135 during pathname expansion, any component that consists only of ** is 1136 matches all files and any number of directory levels. 113703-05-30 A bug in which the PATH search could give incorrect results when 1138 run from directory foo and PATH contained .:foo:xxx has been fixed. 113903-05-29 Some changes were made to the code that displays the prompt in edit 1140 mode to better handle escape sequences in the prompt. 114103-05-27 I added = to the list of characters that mark the beginning of 1142 a word for edit completion so that filenames in assignments 1143 can be completed. 114403-05-20 A bug in which read -N could hang on some systems when reading 1145 from a terminal or a pipe has been fixed. 114603-05-19 A bug in which the output of uname from a command substitution 1147 would go to the standard output of the invoking command when 1148 uname was invoked with a non-standard option has been fixed. 114903-05-19 A job control bug which would cause the shell to exit because 1150 it hadn't take back the terminal has been fixed. The bug 1151 could occur when running a function that contained a pipeline 1152 whose last element was a function. 115303-05-19 A job control timing bug introduced in ksh93o on some systems 1154 which could cause a pipeline to hang if the first component 1155 completed quickly has been fixed. 115603-05-13 The read builtin has been modified so that the builtin editors 1157 will not overwrite output from a previous incomplete line. 115803-05-13 A bug in which the name of an identifier could have the string 1159 .sh. prefixed to it after expanding a variable whose name begins 1160 with .sh. has been fixed. 116103-05-13 A bug in the expansion of $var for compound variables in which 1162 some elements would not be output when the name was a prefix 1163 of another name in the compound variable has been fixed. 116403-05-08 The last item in the ksh93o release on 03-01-02 has been 1165 altered slightly to preserve the leading 0's when the 1166 preceding character is a digit. Thus, with typeset -LZ3 x=10, 1167 $(( 1$x)) will be 1010 whereas $(( $x) will be 10. 116803-04-25 A bug in which if x is a name reference, then nameref y=x.foo 1169 did not follow x has been fixed. 1170 117103-03-18 --- Release ksh93o --- 117203-03-18 A -N unary operator was added to test and [[...]] which returns 1173 true if the file exists and the file has been modified since it 1174 was last read. 117503-03-18 The TIMEFORMAT variable was added to control the format for 1176 the time compound command. The formatting description is 1177 described in the man page. 117803-03-06 A -N n option was added to read which causes exactly n bytes 1179 to be read unlike -n n which causes at most n bytes to be read. 118003-03-03 Three new shell variables were added. The variable .sh.file 1181 stores the full pathname of the file that the current command 1182 was found in. The variable .sh.fun names the current function 1183 that is running. The variable .sh.subshell contains the depth 1184 of the current subshell or command substitution. 118503-03-03 When the DEBUG trap is executed, the current command line after 1186 expansions is placed in the variable .sh.command. The trap 1187 is also now triggered before each iteration of a for, select, 1188 and case command and before each assignment and redirection. 118903-02-28 Function definitions are no longer stored in the history file so 1190 that set -o nolog no longer has any meaning. 119103-02-28 All function definitions can be displayed with typeset -f not 1192 just those stored in the history file. In addition, typeset +f 1193 displays the function name followed by a comment containing the 1194 line number and the path name for the file that defined this function. 119503-02-28 A bug in which the value of $LINENO was not correct when executing 1196 command contained inside mult-line command substitutions has been 1197 fixed. 119803-02-19 Since some existing ksh88 scripts use the undocumented and 1199 unintended ability to insert a : in front of the % and # parameter 1200 expansion operators, ksh93 was modified to accept :% as equivalent 1201 to % and :# as equivalent to # with ${name op word}. 120203-02-14 A bug which could cause a core dump when reading from standard 1203 error when standard error was a pty has been fixed. 120403-02-14 The shell arithmetic was modified to use long double on systems 1205 that provide this data type. 120603-02-09 A bug in which a function located in the first directory in FPATH 1207 would not be found when the last component of PATH was . and the 1208 current directory was one of the directories in PATH has been fixed. 120903-02-07 The trap and kill builtin commands now accept a leading SIG prefix 1210 on the signal names as documented. 121103-02-05 A bug in the expansion of ${var/$pattern}, when pattern contained 1212 \[ has been fixed. 121303-02-05 A bug in which .sh.match[n], n>0, was not being set for substring 1214 matches with % and %% has been fixed. 121503-01-15 A bug in which getopts did not work for numerical arguments specified 1216 as n#var in the getopts string has been fixed. 121703-01-09 A bug in which using ${.sh.match} multiple times could lead to 1218 a memory exception has been fixed. 121903-01-06 A bug in the expansion of ${var/pattern/$string} in the case that 1220 $string contains \digit has been fixed. 122103-01-02 A -P option was added for systems such as Solaris 8 that support 1222 profile shell. 122303-01-02 For backward compatibility with ksh88, arithmetic expansion 1224 with ((...)) and let has been modified so that if x is a zero-filled 1225 variable, $x will not be treated as an octal constant. 1226 122702-12-05 --- Release ksh93n+ --- 122802-11-30 A bug that can show up in evaluating arithmetic statements that 1229 are in an autoloaded function when the function is autoload from 1230 another function has been fixed. 123102-11-30 An optimization bug in which an expansion of the form ${!name.@}, 1232 which occurred inside a for or a while loop, when name is a name 1233 reference, has been fixed. 123402-11-18 A bug in which modifying array variables in a subshell could leave 1235 side effects in the parent shell environment has been fixed. 123602-11-18 A memory leak when unsetting an associative array has been fixed. 123702-11-14 The code to display compound objects was rewritten to make 1238 it easier for runtime extensions to reuse this code. 123902-11-14 A change was made to allow runtime builtins to be notified when 1240 a signal is received so that cleanup can be performed. 124102-10-31 User applications can now trap the ALRM signal. Previously, 1242 the ALRM signal was used internally and could not be used 1243 by applications. 124402-10-31 A bug in which signals received while reading from a coprocess 1245 for which traps were set was not handled correctly has been fixed. 124602-10-31 A bug in which a file opened with exec inside a subshell could 1247 be closed before the subshell completed has been fixed. 124802-10-21 A bug in which setting PATH or FPATH inside a function might not 1249 take effect has been fixed. 125002-10-21 A bug which could cause a core dump when a local SECONDS variable 1251 is defined in a function has been fixed. 125202-10-15 A bug in which the associate array name operator ${!array[@]} 1253 could return the same name multiple times has been fixed. 125402-10-15 A bug in which the zero'th element of an associative array was 1255 not getting set when an assignment was made without a subscript 1256 specified has been fixed. 1257 125802-09-30 --- Release ksh93n --- 125902-09-30 The maximum indexed array size was increased to 16Megs. 126002-09-30 A bug which could cause a core dump when changing attributes 1261 of associative array has been fixed. 126202-09-30 A bug in which exporting an array variable would not export the 1263 0-th element has been fixed. 126402-09-30 A bug in which an array assignment of the form a=($a ...) would unset 1265 'a' before the right hand side was evaluated has been fixed. 126602-09-27 A bug in which the error message for ${var?message} when var was 1267 null or unset did not contain the variable name var has been fixed. 126802-09-27 A bug in which closing file descriptors 0 through 2 could 1269 cause a subsequent here document to fail has been fixed. 127002-09-14 A bug in whence which occurs when the specified name contained 1271 a / has been fixed. 127202-09-14 A bug in the parser for strings of the form name$((expr))=value 1273 has been fixed. 127402-09-14 A for loop optimization bug in which the number of elements in 1275 an array was treated as an invariant has been fixed. 127602-09-09 A bug in which redirection or closing of a file descriptor between 1277 3 and 9 could cause a subsequent here document to fail has been 1278 fixed. 127902-09-09 A bug in which a background job was not removed from the job list 1280 when a subshell completed has been fixed, for example (prog&). 128102-09-03 A bug in which an assignment of the form name=(integer x=3) 1282 could be interpretted as an array assignment rather than a 1283 compound variable assignment has been fixed. 128402-08-19 A command completion bug which occurred on file systems that 1285 are case insensitive has been fixed. 128602-08-19 A bug which could lead to an exception on some systems (for 1287 example FREEBSD) which occurred when setting PATH has been fixed. 128802-08-11 A bug in arithmetic rounding in which a value input as a decimal 1289 string would output as a rounded version of the string has 1290 been fixed. 129102-08-11 A bug in which the last character could be deleted from shell 1292 traces and from whence when called from a multibyte locale 1293 has been fixed. 129402-08-01 A bug which could cause a core dump to occur when a shell script 1295 is executed while a coprocess is running that has closed the 1296 output pipe has been fixed. 129702-08-01 A bug in which command completion in multibyte mode could 1298 corrupt memory for long command lines has been fixed. 1299 130002-06-17 --- Release ksh93n- --- 130102-06-17 A bug in which user defined macros could cause a core dump in 1302 with MULTIBYTE mode has been fixed. 130302-06-17 A bug in which printf format specifiers of the form %2$s were causing 1304 a core dump has been fixed. 130502-06-17 A bug in which setting stty to noecho mode did not prevent the 1306 echoing of characters by ksh when emacs or viraw mode 1307 was enabled has been fixed. 130802-06-17 A bug in which background job completion could cause the sleep 1309 builtin to terminate prematurely has been fixed. 131002-06-17 A bug in which the shell could core dump if getopts was called 1311 when the OPTIND variable contained a negative value has been fixed. 131202-06-10 The edit mode prompt has been modified to handle escape sequences. 131302-06-10 A bug which occurred for interactive shells in which the builtin 1314 cat command was used in command substitution on a file whose 1315 size was larger than PIPE_BUF has been fixed. 131602-06-10 A bug in which the trap on ERR was not being processed when 1317 set inside a function has been fixed. 131802-06-07 A bug in which function definitions could cause the history count 1319 to be decremented by one (and even become negative) has been fixed. 132002-06-05 A bug in read in which share mode could be enabled has been fixed. 132102-05-28 A bug which could occur when the last command of a script was 1322 a case statement and the action selected ended in ;& instead of ;; 1323 has been fixed. 132402-05-23 A bug with unary + introduced in ksh93k has been fixed. 132502-05-07 A bug in substitutions of the form ${var/pattern/string} in which 1326 a backslash was inserted in the replacement string when it contained 1327 a special pattern character has been fixed. 132802-05-01 A bug in the emacs edit mode which occurred in versions compiled 1329 for multibyte character sets which occurred when a repeated search 1330 was requested after a long line had been returned for the previous 1331 search has been fixed. 133202-04-02 vi and emacs edit modes were modified so that tab completion is 1333 disabled when invoked from the read built-in. 1334 133502-03-26 --- Release ksh93m+ --- 133602-03-26 A bug in which \ was not handled correctly when used in file 1337 expansion has been fixed. 133802-02-18 A bug in which lines beginning with a # were deleted from here 1339 documents when the here-document delimiter was followed by 1340 a comment has been fixed. 134102-12-06 An optimization bug in which ${!x[@]) was treated as invariant in 1342 a for loop has been fixed. 134302-02-06 A bug in which the ERR trap is not cleared for a script invoked 1344 by name from within a function has been fixed. 134502-01-08 A bug in which a shell script executed from within a subshell 1346 could cause this script to have an invalid pointer leading 1347 to a memory fault has been fixed. 134802-01-07 Added here documents of the form <<< word (as per zsh) which 1349 is equivalent to << delim\nword\ndelim. 135002-01-07 A bug in which the first word of a compound assignment, 1351 x=(word ...), was treated as a reserved word has been fixed. 135202-01-07 A bug in the handling of \ when noglob was enabled and a 1353 substitution of the form ${word op pattern} occurred in the 1354 same word has been fixed. 135502-01-07 A compilation option, CMDLIB_BLTIN in the file OPTION, has 1356 been added. When this options is set, all commands implemented 1357 in libcmd become shell builtin commands by default. 135802-01-07 A bug in which builtin foo, where foo is already a builtin 1359 would result in the builtin foo getting removed has been fixed. 136002-01-07 A bug which the shell executed a command found in the current 1361 directory when PATH have no valid directories has been fixed. 136201-11-28 The value of $? was not being set when called with exit. 136301-11-28 If the last command was of the form (...) and a trap on EXIT or 1364 ERR was set, and the command inside () modified the trap, then 1365 the original trap wasn't executed. 136601-11-26 The value for 0 is now preceded by the base number when 1367 the base was not 10. 136801-11-26 The default has compilation mode has been changes so that 1369 viraw mode will always be on. 1370 137101-10-31 --- Release ksh93m --- 137201-10-31 A for loop optimizer bug for subshells contained withing for 1373 loops has been fixed. 137401-10-16 typeset without arguments no longer outputs variable names 1375 that do not have any attributes that are set. 137601-10-16 A bug introduced in ksh93l in which assignments specified with 1377 the exec built-in were not being expanded properly has been 1378 fixed. 137901-10-11 An optimization bug in which ${!x) was treated as invariant in 1380 a for loop has been fixed. 138101-10-11 Unsigned integer variables in bases other than 10 are printed now 1382 expand in that base with the base prefix. 138301-10-10 A number of typos in the self generating man pages for shell 1384 built-ins have been fixed. 138501-10-04 The self generated man pages for hist and fc were not working 1386 correctly and have been fixed. 138701-10-03 Yet another optimizer bug in which shell patterns were 1388 treated as invariants has been fixed. 138901-09-27 Two bugs relating to multibyte history searches and to find 1390 have been fixed. 139101-09-27 A bug introduced in ksh93k in which the PATH searching was 1392 not restored after running a command with an assignment list 1393 has been fixed. 139401-09-26 A bug in which a zero filled field was treated as octal when 1395 converted to integer has been fixed. 139601-09-26 Yet another bug in the optimization of for loops related to 1397 recursive functions with break or continue statements has been fixed. 139801-09-25 The exponentiation operator ** was added to the shell arithmetic 1399 evaluation. It has higher precedence than * and is left 1400 associative. 140101-09-25 The code was modified to use the ast multibyte macros 1402 and functions for handing multibyte locales. 140301-09-25 The expansion ${parameter:offset:length} now handles negative 1404 offsets which cause offsets to be measured from the end. 140501-09-25 Some spelling errors in the documentation were corrected. 140601-09-24 The /dev/tcp/host/port and /dev/udp/host/port now allow 1407 the ports to be specified by service name. 140801-09-24 The change staring with ksh93g in which the the appropriate 1409 library path variable is prepended with a corresponding library 1410 directory has been modified. With the new method, only the 1411 library path defined in the file named .paths in the directory 1412 where the executable is found will be modified. See the 1413 man page for more details. 141401-09-23 The .fpath file (see ksh93h) is no longer looked for in each 1415 directory on the path to locate function directories. The 1416 file named .paths is used instead. 141701-09-23 A bug in which IFS was not being restored after being changed in 1418 a subshell has been fixed. 141901-09-16 With the vi and emacs edit modes, after a list of command 1420 or functions is generated with = or M-= respectively, 1421 any element from the list can be pasted on the command line 1422 by preceding the = or M-= with a numeric parameter specifying 1423 the position on the list. 142401-09-16 A bug in ksh93l caused command completion not to find aliases 1425 and functions. Command listing from the edit mode was presented 1426 in reverse order. This has been fixed. 142701-09-13 Another bug in the optimization of for loops related to subshells 1428 when traps were set has been fixed. 142901-09-07 A change in ksh93l caused brace expansion to stop working 1430 and this has been fixed. 143101-09-04 A bug introduced in ksh93k in which an arithmetic statement 1432 within a function that used name references did not follow the 1433 reference has been fixed. 143401-09-04 A bug introduced in ksh93l in which export -p did not prefix 1435 each export with the word export has been fixed. 143601-08-29 A bug in multibyte input which occurred when a partial multibyte 1437 character was received has been fixed. 143801-08-29 A bug introduced in ksh93l which could cause a core dump 1439 when an assignment list containing PATH is specified inside 1440 command substitution has been fixed. 144101-08-09 Another bug in the optimization of for loops in ksh93l caused 1442 errors in recursive functions using local variables that 1443 contained for loops has been fixed. 144401-07-27 A bug in which IFS would be unset after a command substitution 1445 inside a here document has been fixed. 144601-07-26 To conform to the POSIX standard, if you invoked ksh name, 1447 and name does not contain a /, it will first try to run 1448 one in the current directory whether it is executable or not 1449 before doing a path search for an executable script. Earlier 1450 versions first checked for an executable script using the 1451 PATH variable. 145201-07-23 A bug in which unset -f invoked in a subshell could unset a 1453 function defined in the parent has been fixed. 145401-07-16 A bug in the optimization of for loops in ksh93l caused 1455 name references to be treated as invariants has been fixed. 145601-07-09 A bug in which a discipline function applied to a local variable 1457 could cause a shell exception has been fixed. Discipline 1458 functions can only be specified for global variables. 1459 146001-06-18 --- Release ksh93l --- 146101-06-18 A bug in assigning integers larger than can be represented as 1462 long integers to floating point variables has been fixed. 146301-06-18 A bug in the handling of unsigned integers (typeset -ui) has 1464 been fixed. 146501-06-04 The evaluation of the PS1 prompt no longer effects the value 1466 of the $? variable. 146701-06-01 A small memory leak from subshells has been fixed. 146801-05-22 A bug in which attributes for variables that did not have 1469 values would be lost after a subshell has been fixed. 147001-05-22 The %R format has been added to convert a shell pattern into 1471 an extended regular expression. 147201-05-22 The escape sequences \e, \cX, \C[.collating-element.], and 1473 \x{hex} have been added to ASCII-C strings and to printf format 1474 strings. 147501-05-20 Patterns of the form {n}(pattern) and {m,n}(pattern) are now 1476 recognized. The first form matches exactly n of pattern whereas, 1477 the second form matches from m to n instances of pattern. 147801-05-20 The shell allows *-(pattern), +-(pattern), ?-(pattern), 1479 {m,n}-(pattern}, and @-(pattern) to cause the minimal 1480 match of pattern to be selected whenever possible rather 1481 than the maximal (greedy) match. 148201-05-20 The character class [:word:] has been added to patterns. 1483 The word class is the union of [:alnum:] and the character _. 148401-05-20 Inside (...) pattern groups, the \ character is now treated 1485 specially even when in an enclosing character class. The 1486 sequences, \w, \d, \s are equivalent to the character classes 1487 word, digit, and space respectively. The sequences \W, \D, 1488 and \S are their complement sets. 148901-05-20 The shell now recognizes pattern groups of the form 1490 ~(options:pattern) where options or :pattern can be omitted. 1491 Options use the letters + and - to enable and disable options 1492 respectively. The option letters g (greedy), i (ignore case) 1493 are used to cause maximal matching and to cause case 1494 insensitive matching respectively. If :pattern is also 1495 specified, these options are only in effect while this 1496 pattern is being processed. Otherwise, these options remain 1497 in effect until the end of the pattern group that they are contained 1498 in or until another ~(...) is encountered. These pattern groups 1499 are not counted with respect to group numbering. 150001-05-14 When edit completion, expansion, or listing occurs in the 1501 middle of a quoted string, the leading quote is ignored when 1502 performing the completion, expansion, or listing. 150301-05-14 A small memory leak from subshells has been fixed. 150401-05-10 A bug in which open files were not restored after a subshell 1505 that had used exec to replace a file has been fixed. 150601-05-10 Redirection to a null file name now generates an error message. 150701-05-09 The shell now rejects some invalid parameter substitutions that 1508 were previously processed in undefined ways. 150901-05-09 A bug in which the output of select was not flushed before the 1510 read when input did not come from the terminal has been fixed. 151101-05-08 A bug in which job ids would not be freed for interactive shells 1512 when subshells ran built-ins in the background has been fixed. 151301-05-08 The FPATH variable now requires an explicit . to cause the 1514 current directory to be treated as a function directory. 151501-05-08 A bug in read -n when echo mode was disabled has been fixed. 151601-05-07 A bug in which function definitions could be listed as part 1517 of the history has been fixed. 151801-04-30 This release uses a new and often much faster pattern matcher than 1519 earlier releases. 152001-04-30 An optimizer now eliminates invariant parameter expansions from 1521 for while and until loops. 152201-04-30 The variable .sh.match is set after each pattern match (# % or /) 1523 in a variable substitution. The variable .sh.match is an 1524 indexed array with element 0 being the complete match. 1525 The array is only valid until the next subsequent pattern 1526 match or until the value of the variable changes which ever 1527 comes first. 152801-04-30 A self generating man page has been added to shcomp. Also, 1529 shcomp now stops compiling when it finds an exit or exec 1530 command and copies the remainder so that it can be used 1531 for standard input. 153201-04-30 The shcomp command was modified so that it can work in an 1533 EBCIDIC environment and that binary scripts are portable 1534 across environments. 153501-04-30 A bug in the handling of a trailing : in PATH has been fixed. 153601-04-30 A bug in which the builtin version of a command would get invoked 1537 even though the full pathname for the command was specified 1538 has been fixed. 153901-04-30 A bug in which read would loose the last character when 1540 reading the last line of a file that did not contain a new-line 1541 character has been fixed. 154201-04-23 A bug on some systems in which in vi mode the end of file 1543 character and end of line character could be swapped has 1544 been fixed. 154501-04-23 A bug on some systems in which invoking a shell script that 1546 did not have execute permission could set the exit value to 1547 127 rather than 126 has been fixed. 154801-04-20 A bug in which read -n from a pipe would block if fewer than 1549 n characters was received has been fixed. 155001-04-09 A bug in which invalid patterns, for example, ) by itself, 1551 was not treated as a string has been fixed so that if i=')', 1552 then [[ $i == $i ]] is true. 155301-04-09 The shell arithmetic now interprets C character constants. 155401-04-09 A bug in which a non-zero return from a function defined 1555 with the function reserved word did not trigger the ERR 1556 trap or exit with set -e has been fixed. 155701-04-02 A bug on some systems, in which characters above 127 were 1558 not displayed correctly in vi or emacs edit mode has been fixed. 155901-04-02 A bug on some systems, introduced in the 'k' point release, in 1560 which the erase character in viraw mode was moving the cursor 1561 to the left without erasing the character has been fixed. 156201-04-02 On some systems the wcwith() function was returning a wrong 1563 value for characters and caused characters to be displayed 1564 incorrectly from the shell edit modes. A work around for 1565 this problem has been added. 156601-03-26 A bug in which valid scripts could produce syntax errors 1567 when run with locales that considered characters such as "'" 1568 to be space characters has been fixed. 156901-03-20 A bug in which an syntax error in an arithmetic expression 1570 entered interactively could cause the shell to go into 1571 an infinite loop outputting the error message has been fixed. 157201-03-10 ksh93 accepts -l as a synonym for -L in test on systems for 1573 which /bin/test -l tests for symbolic links. 157401-03-10 A bug in parsing scripts in which { and } are used in place of 1575 in and esac in case statements embedded in compound commands 1576 has been fixed. Use of { and } for in and esac is obsolete. 157701-03-06 A bug in which an argument of the form foo=bar was not 1578 being passed correctly to a traced function whose name 1579 was foo has been fixed. 158001-03-02 Using $(trap -p name) did not print the name of the current 1581 trap setting for trap name. 158201-02-26 Exported floating point variables gave incorrect results 1583 when passing them to ksh88. This has been fixed. 158401-02-25 A race condition in which a coprocess which completed too quickly 1585 would not allow subsequent coprocesses to start has been fixed. 158601-02-25 The 'g' format specifier is now handled by printf. It had 1587 inadvertently been omitted. 158801-02-20 The + was not being displayed during an execution trace 1589 with the += assignment operator. 159001-02-19 The error message which occurs when the interpreter name 1591 defined on the #! line does not exist is more informative. 159201-02-19 A bug in which $0 would not be set correctly when a 1593 script with #! was invoked by full pathname from the 1594 directory of the script has been fixed. 159501-02-19 A shell script did not always pick up tty mode changes 1596 made by external commands such as stty which could 1597 effect the behavior of read. 159801-02-19 The -u, -g, and -k unary tests did not give the correct 1599 results when used with negation and this has been fixed. 1600 160101-02-05 --- Release ksh93k+ --- 160201-02-05 The sequence \<newline> inside $'...' was not incrementing 1603 the line count and this has been fixed. 160401-02-05 Modified expansion of "${@-}" so that if no arguments are set 1605 it results in null string rather than nothing. 160601-02-02 memory leak problem with local variables in functions fixed. 160701-01-25 allow arithmetic expressions with float%int and treat them 1608 as ((int)float)%int rather than as an error. 160901-01-19 read -n1 was not working and has been fixed. 161001-01-17 ksh now handles the case in which a here document in command 1611 substitution $() is terminated by the trailing ). Previously, 1612 a new-line was needed at the end of the delimiter word. 161301-01-02 A bug in which a KEYBD trap would cause a multi-line token 1614 to be processed incorrectly has been fixed. 161500-12-10 Arithmetic integer constants can now have L and U suffices. 161600-12-10 A bug in the processing of arithmetic expressions with compound 1617 variables when the -n option is on has been fixed. 161800-12-08 A bug in M-f and M-b from emacs mode has been fixed. This 1619 bug only occurs when ksh93 is compiled without MULTIBYTE enabled. 162000-11-29 A bug in which jobs -p would yield 0 for background 1621 jobs run in a script has been fixed. 162200-11-21 A bug in integer arrays in which the number of elements is 1623 incorrect when the ++ operator is applied to a non-existing 1624 element has been fixed. For example, integer x; ((x[3]++)). 162500-11-20 A timing bug in which the shell could reset the terminal 1626 group to the wrong value in the case that the a new process 1627 changes the terminal group during startup has been fixed. 1628 162900-10-27 --- Release ksh93k --- 163000-10-27 Using tab for completion now works only when applied 1631 after a non-blank character at the end of the current line. 1632 In other case a tab is inserted. 163300-10-27 A bug in the emacs edit mode for ^X^E has been fixed. 1634 The ^X^E sequence is supposed to invoke the full editor 1635 on the current command. 163600-10-18 A bug in which expansions of the form ${var//pattern/string} 1637 did not work correctly when pattern was '/' or "/" has 1638 been fixed. 163900-10-18 The output format for indexed arrays in compound variables 1640 has been modified so that it can be used as input. 164100-10-18 Assignments with name references (typeset -n) will now 1642 implicitly unreference an existing name reference. 164300-10-17 A bug the += append operator when a single array element 1644 is appended to a variable that is not an array has been fixed. 164500-10-16 A bug in which the SIGCONT signal was being sent to 1646 each process will kill -0 or kill -n 0 has been fixed. 164700-10-12 The arithmetic evaluation portion has been rewritten to 1648 perform a number of optimizations. 164900-10-10 A bug in which name prefix matching ${!name.*} was not 1650 checking name to see if it was a name reference has been fixed. 165100-09-26 A bug in the multibyte version in which the width of for 1652 non-printing characters was not correct has been fixed. 165300-09-12 Made changes to get multibyte editing work on UWIN for windows 165400-09-12 A bug in which multibyte characters would be displayed incorrectly 1655 has been fixed. 165600-08-08 Removed build dependency on iswprint() and iswalph(). 165700-07-20 In some cases the read builtin would read more than a single 1658 line from a pipe on standard input and therefore leave the seek 1659 position in the wrong location. 166000-07-05 If the directory / is on the path, a / will not be inserted 1661 between the directory and the file name during path searching 1662 to avoid searching // for systems that treat this specially. 166300-06-26 A bug in which on rare occasions wait could return before all 1664 jobs have completed has been fixed. 166500-06-21 A bug in which backspace did not work correctly during the 1666 R replace directive in vi-mode has been fixed. 166700-06-12 Added variable name completion/expansion/listing to the set of 1668 completions. Variable name completions begin with $ or "$ followed 1669 by a letter. 167000-05-09 --- Release ksh93j --- 167100-05-09 Modified command substitution to avoid using /tmp files when 1672 run on read-only file systems. 167300-04-17 Modified printf to handle '%..Xc' and '%..Xs' options where X 1674 is not an alpha character. Previous versions core dumped with this. 167500-04-10 Changes to multibyte editing code were made to use standard 1676 ISO C functions rather than methods devised before the standard. 167700-04-09 Add %H options to printf to output strings with <"'&\t> properly 1678 converted for use in HTML and XML documents. 167900-04-07 Modified getopts builtin to handle \f...\f in usage string 1680 by invoking specified function. 168100-04-04 Added self generating man pages for bg, fc, fg, disown, jobs, 1682 hist, let, ., and ulimit. 168300-03-30 The append operator += has been added and can be used 1684 for all assignments, strings, arrays, and compound variables. 168500-03-30 Code was modified in several places to support automatic 1686 generation of C locale dictionaries. 168700-03-28 A bug in which the set and trap commands invoked with --name 1688 type arguments would terminate the invoking script has 1689 been fixed. 169000-03-27 A bug in which the library path variable was not updated 1691 correctly on some systems as described in the 'g' point 1692 release has been fixed. 169300-03-07 printf now returns a non-zero exit status when one of 1694 its arguments cannot be converted to the given type. 169500-03-05 The return value and error message for a command that 1696 was found on the path but was not executable was set 1697 incorrectly. 169800-03-05 A prototype for ioctl() was removed from the vi edit mode. 1699 170000-01-28 --- Release ksh93i --- 170100-01-28 Most of the built-in commands and ksh itself are now 1702 self documenting. Running command --man will produce 1703 screen output. Running command --html produces the 1704 man page in html format. 170500-01-28 The getopts builtin can process command description 1706 strings to produce man pages. 170700-01-28 A bug in which a script could terminate when getopts 1708 encountered an error when invoked inside a function 1709 has been fixed. 171000-01-28 When a symbolic link was specified as the name of 1711 the script to invoke by name, the value of $0 was 1712 set to the real file name rather than the link name 1713 in some cases and this has been fixed. 171400-01-28 A bug in which the precision given as an argument 1715 to printf was not working has been fixed. 1716 171799-03-31 --- Release ksh93h --- 171899-03-31 The PATH search algorithm has been modified to look 1719 for a file named .fpath in each bin directory and if 1720 found, to search for functions in this directory if 1721 it cannot find the command in that directory. 172299-03-31 When performing pathname expansion, the shell checks 1723 to see whether each directory it reads is case sensitive 1724 or not, and performs the matching accordingly. 172599-03-31 The %T format for printing formatted date/time. 172699-03-31 The emacs and vi modes now handle arrow keys when 1727 they use standard ANSI escape sequences. 172899-03-31 The TAB key can be used for completion in emacs and viraw mode. 172999-03-31 A bug in setting .sh.editchar during the KEYBD trap 1730 for the MULTIBYTE option was fixed in release ksh93h. 173199-03-31 A bug in shcomp for compilation of unary operators with [[...]] 1732 has been fixed. 173399-03-31 A bug in which the value of $? was changed when executing 1734 a keyboard trap has been fixed. 173599-03-31 The handling of SIGCHLD has been changed so that the 1736 trap is not triggered while executing trap commands 1737 to avoid recursive trap calls. 173899-03-31 A bug in which a local variable in a function declared readonly 1739 would generated an error when the function went out of 1740 scope has been fixed. 174199-03-31 A bug in which \<new_line> entered from the keyboard 1742 with the KEYBD trap enabled has been fixed. 174399-03-31 The error message for a misplaced ((, for example print ((3), 1744 was often garbled and has been fixed. 174599-03-31 A bug in the KEYBD trap in which escape sequences of the form 1746 <ESC>[#~ were not being handled as a unit has been fixed. 174799-03-31 A bug in which ksh would consider expressions like [[ (a) ]] 1748 as syntax errors has been fixed. 174999-03-31 A function defined as foo() without a function body 1750 was not reported as a syntax error. 175199-03-31 A bug in which ksh could run out of file descriptors when 1752 a stream was repeatedly opened with exec and read from 1753 has been fixed. 1754 175598-04-30 --- Release ksh93g --- 175698-04-30 The pipefail option has been added. With pipefail 1757 enabled, a pipeline will not complete until all 1758 commands are complete, and the return value will 1759 be that of the last command to fail, or zero if 1760 all complete successfully. 176198-04-30 The name-value pair library uses the cdt library rather 1762 than the hash library. This change should be transparent 1763 to applications. 176498-04-30 On the U/WIN version for Window 95 and Windows NT, 1765 when a directory beginning with a letter followed by 1766 a colon is given to cd, it is assumed to be an absolute 1767 directory 176898-04-30 When an executable is found on a given path, 1769 the appropriate library path variable is prepended 1770 with a corresponding library directory. 177198-04-30 A bug in which a name reference could be created to 1772 itself and later cause the shell to get into an infinite 1773 loop has been fixed. 177498-04-30 A bug in shcomp relating to compound variables was fixed. 177598-04-30 A bug introduced in ksh93e in which leading 0's in -Z 1776 fields caused the value to be treated as octal for arithmetic 1777 evaluation has been fixed. 177898-04-30 A bug when a name reference with a shorter name than 1779 the variable it references was the subject of a compound 1780 assignment has been fixed. 178198-04-30 A bug which in which assignment to array variables in 1782 a subshell could effect the parent shell has been 1783 fixed. 178498-04-30 read name?prompt was putting a 0 byte at the end of the 1785 prompt on standard error. 178698-04-30 A bug in [[ string1 > string2 ]] when ksh was run with -x 1787 has been fixed. 178898-04-30 A bug in which the escape character was not processed 1789 correctly inside {...} when brace expansion is enabled 1790 has been fixed, for example {\$foo}. 179198-04-30 A bug in line continuation in here-documents has been 1792 fixed. 179398-04-30 The default base when not specified with typeset -i is 1794 10 in accordance with the documentation. Previously, 1795 the value was determined by the first assignment. 179698-04-30 A parsing bug in which a # preceded alphanumeric 1797 characters inside a command substitution caused 1798 a syntax error to be reported has been fixed. 179998-04-30 A bug in which a decimal constant represented as 10#ddd 1800 where ddd was more than five digits generated a syntax 1801 error has been fixed. 180298-04-30 A bug in here document expansion in which ${...} expansions 1803 were split across buffer boundaries has been fixed. 180498-04-30 The sh_fun() function now takes third argument which 1805 is an argument list for the invoked discipline function 1806 or built-in. 180798-04-30 A callback function can be installed which will give 1808 notification of file duplications and file closes. 180998-04-30 When ksh is compiled on systems that do not use fork() 1810 current option settings where not propagated to sub-shells. 1811 181297-06-30 --- Release ksh93f --- 181397-06-30 Hostnames in addition to host addresses can be given in 1814 /dev/tcp/host/port virtual file names. 181597-06-30 File name completion and expansion now quotes special 1816 characters in file names from both emacs and vi edit modes. 181797-06-30 An empty for list behave like a for list with null expansions. 1818 It produces a warning message with sh -n. 181997-06-30 The code has been modified to work with EBCDIC as well as ASCII. 182097-06-30 A bug which would cause the secondary prompt to be 1821 displayed when a user entered a literal carriage 1822 return has been fixed. 182397-06-30 A bug which caused ksh read -s name to core dump was 1824 fixed. 182597-06-30 A bug with the expansion of \} and \] inside double 1826 quoted strings that also contained variable expansions 1827 has been fixed 182897-06-30 Changes in the ksh93e point release caused autoload 1829 functions invoked from within command substitution 1830 to fail. This has been fixed. 183197-06-30 A bug in the processing of here-documents that could 1832 prevent variable substitution to occur after $(...) command 1833 substitution for long here documents has been fixed. 183497-06-30 A bug caused by a race condition that could cause SIGTERM 1835 to be ignored by a child process has been fixed. 183697-06-30 A bug which prevented the startup of a coprocess immediately 1837 after killing a running coprocess has been fixed. 183897-06-30 ulimit foobar, where foobar is not an arithmetic 1839 expression, now gives an error message as it did with ksh88 1840 instead of setting the file size limit to 0. 184197-06-30 A bug which could cause an interactive shell to terminate when 1842 the last process of a pipeline was a POSIX function was fixed. 184397-06-30 A bug which could cause command substitution of a shell script 1844 to core dump has been fixed. 184597-06-30 A security hole was fixed in suid_exec. 184697-06-30 Arithmetic functions such as pow() that take more than 1847 one argument, did not work if arguments other than the 1848 first contained parenthesized sub-expression. 184997-06-30 The error message from a script containing an incomplete 1850 arithmetic expression has been corrected. 185197-06-30 A bug which caused a core dump on some machines when 1852 the value of a name reference contained a positional 1853 parameter and the name reference was not defined inside 1854 a function has been fixed. 185597-06-30 Arithmetic expressions now correctly handle hexadecimal 1856 constants. 185797-06-30 A bug in which integer variables could be expanded 1858 with a leading 10# when declared with typeset -i 1859 multiple times has been corrected. 186097-06-30 A bug in which IFS wasn't correctly restored when 1861 set within command substitution has been fixed. 186297-06-30 The _ character is now considered as part of a word 1863 with the M-f and M-b emacs directives as it was in ksh88. 186497-06-30 A bug in brace pattern expansions that caused expressions 1865 such as {foo\,bar,bam} to expand incorrectly have been fixed. 1866 1867 186896-07-31 --- Release ksh93e --- 186996-07-31 The math functions, atan2, hypot, fmod, and pow were added. 187096-07-31 When a shared library is loaded, if the function lib_init() 1871 is defined in the library, it is invoked the first time that 1872 the library is loaded with builtin -f library. 187396-07-31 The k-shell information abstraction database option, KIA, 1874 has been revamped. 187596-07-31 Empty command substitutions of the form $() now work. 1876 whence -v foo now gives the correct result after calling 1877 builtin -d foo. 187896-07-31 A bug in right to left arithmetic assignment for which 1879 the arithmetic expression (( y = x = 1.5 )) did not 1880 yield 1 for y when x was declared typeset -i was fixed. 188196-07-31 printf has been fixed to handle format containing \0 1882 and/or \0145 correctly. In addition, characters following 1883 %b in the format string are no longer displayed when 1884 the operand contains \c. 188596-07-31 A bug in printf that could cause the %E format to 1886 produce unnormalized results has been fixed. 188796-07-31 A bug which causes some arithmetic expressions to be 1888 incorrectly evaluated as integer expressions rather 1889 that floating point has been fixed. 189096-07-31 Functions defined inside a subshell no longer remain 1891 defined when the subshell completes. 189296-07-31 The error message from sh -c ';echo foo' has been 1893 corrected. 189496-07-31 The format for umask -S has been changed to agree 1895 with the specification in the POSIX standard. 189696-07-31 A bug that caused side effects in subscript evaluation 1897 when tracing was enabled for subscripts using ++ or -- 1898 has been fixed. 189996-07-31 To conform to the Posix standard getopts has been changed 1900 so that the option char is set to ? when it returns with 1901 a non-zero exit status. 190296-07-31 The handling of \} inside ${name...} has been fixed so 1903 that the \ quotes the }. 190496-07-31 A bug that caused the read builtin to resume execution 1905 after processing a trap has been fixed. 190696-07-31 [[ -s file ]] has been fixed so that if file is open 1907 by ksh, it is flushed first. 190896-07-31 In some cases attributes and sizes for non exported 1909 variables weren't being reset before running a script. 191096-07-31 The value of TMOUT was affected by changes make to 1911 it in a subshell. 191296-07-31 The jobs command did not reflect changes make by 1913 sending the CONT signal to a command. 191496-07-31 The error message for ksh -o unknown was incorrect. 191596-07-31 Functions invoked as name=value name, did not use 1916 values from the calling scope when evaluating value. 191796-07-31 A bug in which the shell would reexecute previously 1918 executed code when a shell script or coprocess was 1919 run in the background has been fixed. 192096-07-31 A bug in which an empty here-document would leave 1921 a file descriptor open has been fixed. 192296-07-31 A bug in which $(set -A array ...) would leave a 1923 side effect has been fixed. 192496-07-31 A discipline function for a global variable defined 1925 within a function defined with the function keyword, 1926 incorrectly created a local variable of the same name 1927 and applied the discipline to it. 1928 192995-08-28 --- Release ksh93d --- 193095-08-28 The \ character was not handled correctly in replacement 1931 patterns with ${x/pattern/replace}. 193295-08-28 A bug with read in which the line did not end with 1933 a new-line has been fixed. 193495-08-28 A bug in file name generation which sometimes 1935 appended a . for filenames that ended in / has 1936 been fixed. 193795-08-28 If a process is waited for after a status has 1938 been returned by a previous wait, wait now 1939 returns 127. 194095-08-28 A bug with hist (fc) -e which prevented a command 1941 to re-executed after it had been edited has been fixed. 194295-08-28 A bug which prevented quoting from removing the meaning 1943 of unary test operators has been fixed. 194495-08-28 A bug with typeahead and KEYBOARD traps with the 1945 MULTIBYTE option set has been fixed. 194695-08-28 Builtin functions can take a third argument which is 1947 a void*. 194895-08-28 The nv_scan() function can restrict the scope of a walk 1949 to the top scope. 1950 195195-04-31 --- Release ksh93c --- 195295-04-31 The expansion of "$@" was incorrect when $1 was the null 1953 string. 195495-04-31 A bug which could incorrectly report a syntax error in 1955 a backquoted expression when a $ was preceded by \\ 1956 has been fixed. 195795-04-31 A bug which prevented the shell from exiting after 1958 reporting an error when failing to open a script 1959 has been fixed. 196095-04-31 A bug that could lead to memory corruption when a 1961 large here document that required parameter or command 1962 substitution was expanded has been fixed. 196395-04-31 A bug that could cause a core dump on some systems 1964 after ksh detected an error when reading a function 1965 has been fixed. 196695-04-31 A bug which could cause a coprocess to hang when 1967 reading from a process that has terminated has been fixed. 196895-04-31 A bug which caused a script to terminate when set -e 1969 was on and the first command of and && or || list 1970 failed has been fixed. 197195-04-31 A bug with here documents inside $(...) when the delimiter 1972 word is an identifier has been fixed. 197395-04-31 A bug which caused $0 to display the wrong value when 1974 a script was invoked as an argument to the . command 1975 and the eval command has been fixed. 197695-04-31 A bug that could cause the built-in sleep to hang 1977 has been fixed. 197895-04-31 A bug introduces in 12/28/93b which caused the backslash 1979 to be removed when it was followed by digit inside double 1980 quotes in some instances has been fixed. 198195-04-31 A bug which could cause a core dump if ksh was invoked with 1982 standard input closed has been fixed. 198395-04-31 A bug which could cause a core dump if typeset -A was 1984 specified for an existing variable has been fixed. 198595-04-31 Variables that were unset but had attributes such as readonly 1986 and export were not listed with readonly, export and typeset. 198795-04-31 Several problems with signals have been fixed. 198895-04-31 A bug which prevented ulimit -t from working has been fixed. 1989 Also, a bug in which failed ulimits could cause a core dump 1990 has also been fixed. 199195-04-31 A bug in expansion of the form ${name/#pattern/string} and 1992 ${name/%pattern/string} has been fixed. 199395-04-31 A bug which caused read -r on a line that contained only 1994 blanks to get a non-null value has been fixed. 199595-04-31 A bug introduced in the 'a' point release in which 1996 ${x='\\'} expanded to \ when x was unset has been fixed. 199795-04-31 A bug which prevented a trap on EXIT from being executed 1998 when the last command in a script was a function invocation 1999 has been fixed. 200095-04-31 A bug which caused an interactive shell ignore input when 2001 standard error was redirected to a file with exec, 2002 and then restored with exec 2>&1 has been fixed. 200395-04-31 An interactive shell turns on monitor mode even when 2004 standard error has been redirected to a file. 200595-04-31 A bug which could cause standard input to be incorrectly 2006 positioned for the last command of a script has been fixed. 200795-04-31 A bug in the edit modes which allowed walking back in 2008 the history file for more than HISTSIZE commands has 2009 been fixed. 201095-04-31 A bug which could cause a core dump if variable TMPDIR was 2011 changed between two command substitutions has been fixed. 201295-04-31. A bug which prevented a trap on EXIT from being cleared 2013 has been fixed. 201495-04-31 A bug fixed for the v directive in vi MULTIBYTE has been 2015 fixed. 201695-04-31 Code to for IFS handling of multibyte characters has 2017 been added. 201895-04-31 The displaying of multibyte strings in export, readonly, 2019 typeset, and execution traces has been fixed. 202095-04-31 Variables inside functions are now statically scoped. 2021 The previous behavior was never documented. 202295-04-31 Variables inside functions are now statically scoped. 2023 The previous behavior was never documented. 202495-04-31 A few changes have been made to the name-value library 2025 that affect built-ins that use disciplines. The 2026 changes allow disciplines to be shared by variables 2027 and should make it possible to add new disciplines 2028 without recompilation. 202995-04-31 The name-value library interface has undergone significant 2030 change for this revision. See the new nval.3 man page. 2031 203294-12-31 --- Release ksh93b --- 203394-12-31 Variables inside functions are now statically scoped. 2034 The previous behavior was never documented. 203594-12-31 If IFS contains two consecutive identical characters belonging 2036 to the [:space:] class, then this character is treated as 2037 a non-space delimiter so that each instance will delimit 2038 a field. For example, IFS=$'\t\t' will cause two consecutive 2039 tabs to delimit a null field. 204094-12-31 The getopts command has a -a name option that specifies a 2041 name that will be used for usage messages. 204294-12-31 A bug which caused unset RANDOM to dump core has been 2043 fixed. 204494-12-31 A bug which prevented return for terminating a profile 2045 or ENV file has been fixed. 204694-12-31 A bug which prevented standard input from being 2047 directed to /dev/null for background jobs when 2048 monitor mode was turned off has been fixed. 204994-12-31 Statements of the form typeset -options var[expr]=value 2050 did not perform substitutions on expr as expected. 205194-12-31 A bug which prevented the shell from sending a HUP 2052 signal to some background jobs that were not disowned 2053 has been fixed. 205494-12-31 A bug which allowed a script to trap signals that are 2055 ignored at the time that the shell was invoked by exec 2056 has been fixed. 205794-12-31 A bug which could cause a core dump when a discipline 2058 function was unset within a discipline was fixed. 205994-12-31 The typeset builtin now accepts a first argument of 2060 + or - for compatibility with ksh88. 206194-12-31 For compatibility with ksh88, the results of expansions 2062 of command arguments will treat the extended character 2063 match characters ()|& as ordinary characters. 206494-12-31 A bug which caused read to fail on a file that was 2065 open for read/write with <> when the first operation 2066 was print or printf has been fixed. 206794-12-31 When a job is suspended, it is put on the top of 2068 the job list as required by the POSIX standard. 206994-12-31 The value of OPTARG when an option that required 2070 an argument but didn't have one was incorrect in the 2071 case the the option string began with a :. 207294-12-31 A bug which caused the terminal to get into a bad 2073 state with some KEYBD traps in vi-mode has been fixed. 207494-12-31 A bug which caused an invalid trap to cause a script 2075 to terminate, rather than just return an error, has 2076 been fixed. 207794-12-31 Backreferencing sub-expressions in patterns and replacement 2078 strings now works. 207994-12-31 A bug in chmod which caused the -R option to fail has 2080 been fixed. 208194-12-31 More signal names have been added for Solaris 2082 208394-06-30 --- Release ksh93a --- 208494-06-30 An expansion bug which causes portions of a word after 2085 a $((...)) expansion that contains a nested $var expansion 2086 to be lost has been fixed. 208794-06-30 A bug that caused a core dump when a script that did not 2088 have PWD set and did a cd inside command substitution 2089 has been fixed. 209094-06-30 A bug which caused a core dump on some machines when 2091 the LANG variable was assigned to has been fixed. 209294-06-30 A bug which incorrectly handled set disciplines that 2093 performed arithmetic evaluation when the discipline 2094 was called from the arithmetic evaluator has been fixed. 209594-06-30 A bug caused by an EXIT trap inside a function that 2096 was executed in a subshell was fixed. 209794-06-30 If foo is a function, and not a program, then command foo 2098 now reports that foo isn't found rather than invoking foo. 209994-06-30 The previous version incorrectly listed -A as an 2100 invocation option. The -A option is only for set. 210194-06-30 A bug was fixed which caused ksh to loop when execution trace 2102 was enabled and the PS4 prompt required command substitution. 210394-06-30 A bug which could cause the job control switch character 2104 to be disabled when a script that enabled monitor mode 2105 terminated was fixed. 210694-06-30 A bug in the macro expansion global replacement operator //, 2107 when the pattern began with a [ or +( has been fixed. 210894-06-30 A bug which prevented ~ expansion from occurring when 2109 it was terminated with a colon inside an assignment 2110 has been fixed. 211194-06-30 A bug in the dot command which prevented autoload functions 2112 from working has been fixed. 211394-06-30 A bug which caused a variable to be unset if the 2114 its value were expanded inside a set discipline has 2115 been fixed. 211694-06-30 Whence -a now longer reports that a defined function 2117 is undefined. 211894-06-30 A bug on some systems in which $0 would be incorrect 2119 in scripts invoked by name has been fixed. 212094-06-30 Here documents with an empty body now work. 212194-06-30 A bug which disabled argument passing and resetting 2122 of options for a script invoked by name inside a 2123 function has been fixed. 212494-06-30 A bug in which an EXIT trap set the caller of a function 2125 would be executed if a command called inside a function 2126 was not found has been fixed. 212794-06-30 A bug which allowed a script to trap signals that are 2128 ignored at the time that the shell was invoked has 2129 been fixed. 213094-06-30 A bug which caused 2<&1- when applied to a shell built-in 2131 to leave standard input closed has been fixed. 213294-06-30 A bug which caused the shell to incorrectly parse 2133 $() command substitutions with nested case statements 2134 has been fixed. 2135 2136