107-04-18 --- Release ksh93s+ --- 207-04-18 A small memory leak with each redirection of a non-builtin has 3 been fixed. 407-03-08 A bug in which set +o output command line options has been fixed. 507-03-08 A bug in which an error in read (for example, an invalid variable 6 name), could leave the terminal in raw mode has been fixed. 707-03-06 A bug in which read could core dump when specified with an array 8 variable with a subscript that is an arithmetic expression has 9 been fixed. 1007-03-06 Several serious bugs with the restricted shell were reported and 11 fixed. 1207-03-02 If a job is stopped, and subsequently restarted with a CONT 13 signal and exits normally, ksh93 was incorrectly exiting with 14 the exit status of the stop signal number. 1507-02-26 M-^L added to emacs mode to clear the screen. 1607-02-26 A bug in which setting a variable readonly in a subshell would 17 cause an unset error when the subshell completed has been fixed. 1807-02-19 The format with printf uses the new = flag to center the output. 1907-02-19 A bug in which ksh93 did not allow multibyte characters in 20 identifier names has been fixed. 2107-02-19 A bug introduced in ksh93 that causes global compound variable 22 definitions inside functions to exit with "no parent" has been fixed. 2307-02-19 A bug in which using compound commands in process redirection 24 arguments would give syntax errors <(...) and >(...) has been fixed. 2507-01-29 A bug which caused the shell to core dump which can occur when a 26 built-in exits without closing files that it opens has been fixed. 2707-01-26 A bug in which ~(E) in patterns containing \ that are not inside () 28 has been fixed. 29 3006-12-29 --- Release ksh93s --- 3106-12-29 A bug in which the value of IFS could be changed after a command 32 substitution has been fixed. 3306-12-22 /dev/(tcp|udp|sctp)/HOST/SEVRICE now handles IPv6 addresses on 34 systems that provide getaddrinfo(3). 3506-12-19 A -v option was added to read. With this option the value of 36 the first variable name argument will become the default value 37 when read from a terminal device. 3806-11-20 A bug in which "${foo[@]:1}}" expands a null argument (instead of 39 no argument), when foo[0] is not empty has been fixed. 4006-11-16 The discipline functions have been modified to allow each subscript 41 to act independently. Currently the discipline function will not 42 be called when called from a discipline function of the same variable. 4306-11-14 A bug which could cause a core dump if a file descriptor for 44 an internal file was closed from with a subshell has been fixed. 4506-10-30 The redirections <# pattern, and <## pattern have been added. 46 Both seek forward to the beginning of the next line that contains 47 the pattern. The <## form copies the skipped portion to standard 48 output. 4906-10-26 On systems that support stream control transport, the virtual file 50 name /dev/sctp/host/port can now be used to establish connections. 5106-10-26 The printf modifier # when used with d produces units in thousands 52 with a single letter suffix added. The modifier # when used with 53 the i specification provides units of 1024 with a two letter suffix. 5406-10-24 The value of $! is now set to the process id of a job put 55 into the background with the bg command as required by POSIX. 5606-10-23 A bug in which the value of $! was affected by a background 57 job started from a subshell has been fixed. 5806-10-23 A bug in ${var:offset:len} in multibyte locales has been fixed. 5906-10-15 The remaining math functions from C99 were added for any system 60 that supports them. 6106-10-13 The klockwork.com software detected a few coding errors that 62 have been fixed. 6306-10-12 A bug when skipping over `...` with ${x:=`...`} when x is set 64 has been fixed. 6506-10-11 A bug in process floating constants produced by the %a format 66 of printf has been fixed. 6706-10-06 A bug in which IFS was not being restored correctly in some 68 cases after a subshell has been fixed. 6906-10-06 A bug in which pipefail was not detecting some failures in 70 pipelines with 3 or more states has been fixed. 7106-10-03 A bug in the processing of >(...) with builtins which could 72 cause the builtin to hang has been fixed. 7306-10-03 A bug in the for loop optimizer which causes >(...) process 74 substitution to be ignored has been fixed. 7506-09-17 The -a option was added to typeset for indexed arrays. This 76 is only needed when using the ([subscript]=value ...) form. 7706-09-06 The showme option was added. Each simple command not beginning 78 with a redirection and not occurring with in the while, until, if, 79 select condition can be preceded by a semi-colon which will 80 be ignored when showme is off. When showme is on, any command 81 preceded by a colon will be traced but not executed. 8206-08-16 As a new feature, a leading ~(N) on a pattern has no effect 83 except when used for file expansion. In this case if not 84 matches are found, the pattern is replaced by nothing rather 85 than itself. 8606-08-11 A bug in the expansion of ${.sh.match[i]:${#.shmatch[i]}} has 87 been fixed. 8806-08-10 The read builtin options -n and -N have been modified to treat 89 the size as characters rather than bytes unless storing into a 90 binary (typeset -B) variable. 9106-07-27 When the here document operator << is followed directly by a # 92 rather than a -, the first line of the here-document determines 93 how much whitespace is removed for each line. 9406-07-26 A bug in the C-shell history (enabled with set -H) in which the 95 history event !$ was not processed has been fixed. 9606-07-21 A bug on some systems in which assigning PATH on a command line 97 would not take effect has been fixed. 9806-07-20 Add ksh93 and rksh93 as allowable names for ksh binaries. 9906-07-20 Removed the SHOPT_OO compilation option which was only partially 100 implemented. 10106-07-20 The ability to use egrep, grep, and fgrep expressions within 102 shell patterns has been documented. 10306-07-17 A bug with arithmetic command expressions for locales in which 104 the comma is a thousands separator has been fixed. 10506-07-13 The default HISTSIZE was increased from 128 to 512. 10606-07-13 A multibyte problem with locales that use shift codes has been fixed. 10706-06-23 A number of bug fixes for command, file, and variable completion 108 have been mode. 10906-06-20 Floating point division by zero now yields the constant Inf or -Inf 110 and floating functions with invalid arguments yield NaN. 11106-06-20 The floating point constants Inf and NaN can be used in arithmetic 112 expressions. 11306-06-20 The functions isinf(), isnan(), tanhl() have been added for 114 arithmetic expressions. 11506-06-13 Internal change to use ordering for variables instead of hashing 116 to speed up prefix matching. 11706-06-13 A window between fork/exec in which a signal could get lost 118 and cause a program to hang has been eliminated 11906-06-13 A bug in edit completion with quoted strings has been fixed. 12006-06-07 The restricted options can now be enabled by set as well as on 121 the command line. Once set, it can not be disabled. 12206-06-04 Modified built-in binding so that for systems for which /bin 123 and /usr/bin are the same, a builtin bound to /bin will get 124 selected when either /bin or /usr/bin is scanned. 12506-06-04 Added literal-next character processing for emacs/gmacs mode. 126 This change is not compatible with earlier versions of ksh93 127 and ksh88 when the stty lnext is control-v. The sequence 128 escape-control-v will display the shell version. 12906-05-31 Modified emacs and vi mode so that entering a TAB after a partial 130 TAB completion, generates a listing of possible completions. 131 After the second TAB, a number followed by a TAB will perform 132 the completion with the corresponding item. 13306-05-19 Modified arithmetic so that conversions to strings default to 134 the maximum number of precision digits. 13506-05-16 Bug fixes for multibyte locales. 13606-05-10 The =~ operator was added to [[...]] and [[ string ~= ERE ]] 137 is equivalent to [[ string == ~(E)ERE ]]. 13806-04-25 A bug in the vi edit mode which could cause the shell to core dump 139 when switching from emacs mode. 14006-04-17 A bug in which using LANG or LC_ in assignment lists with builtins 141 did not restore the localed correctly has been fixed. 14206-04-04 A bug in which discipline functions could not be added to variables 143 whose names started with .sh has been fixed. 14406-03-28 The -s option to typeset was added to modify -i to indicate short 145 integers. 14606-03-28 A bug in which variables assignment lists before functions 147 defined with function name were not passed on the functions 148 invoked by this function has been fixed. 14906-03-28 A bug in which name references defined within a function defined 150 with function name could not be used with compound variables has 151 been fixed. 15206-03-27 A bug in which read <&p (print >&p) would cause the coprocess input 153 (output) pipe to close before reading from (after writing to) 154 it has been fixed. 15506-02-28 A bug in which stopping a job created with the hist builtin command 156 would create a job that could not be restarted has been fixed. 157 15806-01-24 --- Release ksh93r --- 15906-01-24 A bug in which running commands with standard output closed would 160 not work as expected has been fixed. 16106-01-23 A bug in which print -u<n> could fail when file descriptor <n> was 162 open for writing has been fixed. 16306-01-19 The ?: arithmetic operator fixed to work when the operation after 164 the colon was an assignment. 16505-12-24 A bug which could lead to a core dump when elements of a compound 166 variable were array elements, i.e. foo=(bar=(1 2)), has been fixed. 16705-12-13 An arithmetic bug in which x+=y+=z was not working has been fixed. 16805-12-13 An arithmetic bug in which x||y was returning x when x was non-zero 169 rather than 1 has been fixed. 17005-12-07 The aliases for integer and float have been changed to use attributes 171 -li and -lE to handle long long and long double types. 17205-12-07 The histexpand (-H) option has been added which allows C-shell 173 style history expansions using the history character !. 17405-12-07 The multiline option was added which changes that way the edit 175 modes handle lines longer than the window width. Instead of 176 horizontal scrolling, multiple lines on the screen are used. 17705-12-05 The whence builtin now returns an absolute pathname when the 178 command is found in the current directory. 17905-11-29 A bug which caused ksh -c '[[ ! ((' to core dump rather than 180 report a syntax error has been fixed. 18105-11-29 A bug when reading fixed length records into typeset -b variables 182 which caused a zero byte to terminate the value has been fixed. 18305-11-22 The ability to seek to an offset within a file has been added 184 with the new I/O redirection operators, <# and >#. Currently, 185 these redirection operators must be followed by ((expr)) 186 but in a future release, it should be able to used to seek forward 187 to the specified shell pattern. In addition $(n<#) expands to the 188 current byte offset for file descriptor n. 18905-11-22 The .sh.match array variable is now set after each [[ ... ]] 190 pattern match. Previously it was only set for substring matches. 19105-10-17 A bug in which the library path variable could be prefixed 192 with a directory when a .path file was not encountered in 193 the directory of the executable has been fixed. 19405-09-15 A for/while loop optimizer bug in which $OPTIND was not 195 correctly expanded has been fixed. 19605-09-05 A bug in which a history command that invoked a history 197 command could go into an infinite loop has been fixed. 19805-08-31 In the case that IFS contains to adjacent new-lines so that 199 new-line is not treated as a space delimiter, only a single 200 new-line is deleted at the end of a command substitution. 20105-08-19 When a tilde substitution expands to the / directory and is 202 followed by a /, it is replaced by the empty string. 20305-08-16 A bug in which n<&m did not synchronize m has been fixed. 20405-08-16 A bug in which process substitution ( <() and >() ) was not 205 working within for and while loops has been fixed. 20605-07-24 A bug in which the pattern ~(E)(foo|bar) was treated as a syntax 207 error has been fixed. 20805-07-24 A bug in completion with <n>=, where n was the one of the 209 previous selection choices has been fixed. 21005-07-21 A bug with multibyte input when no edit mode was specified which 211 caused the input line to shift left/right has been fixed. 21205-06-24 A race condition which could cause the exit status to get lost 213 on some fast systems has been fixed. 21405-06-21 A bug in which nested patterns of the form {m,n}(pat) would cause 215 syntax errors has been fixed. 21605-06-21 A bug in the macro expander has been fixed which could cause a 217 syntax error for an expansion of the form ${x-$(...)} when 218 x is set and the command substitution contained certain strings. 21905-06-08 On systems for which echo does not do System V style \ expansions, 220 the -e option was added to enable these expansion. 22105-06-08 A bug in which ${var op pattern} to not work when inside an 222 arithmetic expression has been fixed. 22305-05-23 An extension to shell patterns that allows matching of nested 224 groups while skipping over quoted strings has been added. 22505-05-18 A bug in which the line number for errors was not correct for 226 functions loaded from FPATH has been fixed. 22705-04-18 A bug in which the exit status $? is not set when a trap triggered 228 by the [[...]] command is executed has been fixed. 22905-04-08 Redirection operators can be directly preceded with {varname} 230 with no intervening space, where varname is a variable name which 231 allows the shell to select a file descriptor > 10 and store it 232 into varname. 23305-04-08 SHOPT_CMDLIB_BLTIN=1 now includes <cmdlist.h> generated table. 23405-04-07 [[ -o ?option ]] is true if "option" is a supported option. 23505-04-05 A bug in handling file completion with spaces in the names 236 has been fixed. 23705-03-25 The SIGWINCH signal is caught by default to keeps the LINES and 238 COLUMNS variables in sync with the actual window size. 23905-03-25 Building ksh with SHOPT_REMOTE=1 causes ksh to set --rc if stdin is 240 a socket (presumably part of a remote shell invocation.) 24105-03-25 Building ksh with SHOPT_SYSRC=1 causes interactive ksh to source 242 /etc/ksh.kshrc (if it exists) before sourcing the $ENV file. 24305-03-25 {first..last[..incr][%fmt]} sequences added to brace expansions 244 when braceexpand is enabled. 24505-03-03 A bug where a SIGCHLD interrupt could cause a fifo open to fail has 246 been fixed. 24705-02-25 A bug in which a builtin command run in the background could 248 keep a file descriptor open which could cause a foreground 249 process to hang has been fixed. 25005-02-24 A bug where builtin library commands (e.g., date and TZ) failed to 251 detect environment variable changes has been fixed. 25205-02-22 The read builtin and word splitting are now consistent with respect 253 to IFS -- both treat IFS as field delimiters. 25405-02-22 The read builtin no longer strips off trailing delimiters that 255 are not space characters when there are fewer variables than fields. 25605-02-17 A builtin bug on systems where dlsym(libcmd) returns link-time 257 bindings has been fixed. 25805-02-12 A bug in which the lib_init() function for .paths BUILTIN_LIB 259 libraries was not called has been fixed. 26005-02-06 A bug on some systems in which moving the write end of a co-process 261 to a numbered file descriptor could cause it to close has been fixed. 26205-02-06 A bug in the vi-edit mode in which the character under the cursor 263 was not deleted in some cases with the d% directive has been fixed. 26405-02-06 A bug where external builtin stdout/stderr redirection corrupted 265 stdout has been fixed. 26605-02-04 A bug where times formatting assumed CLK_TCK==60 has been fixed. 267 26805-01-11 --- Release ksh93q --- 26905-01-11 A bug in the integral divide by zero check has been fixed. 27005-01-11 The -l option has been added to read /etc/profile and 271 $HOME/.profile, if they exist, before the first command. 27205-01-11 An argument parsing bug that caused `kill -s x -- n' to fail has 273 been fixed. 27405-01-11 The .paths file, introduced in ksh93m, which can appear in 275 any directory in PATH, now allows a line of the form 'BUILTIN_LIB=.' 276 When a command is searched for this directory, and the full path 277 matches the path of the built-in version of the command (listed 278 by the 'builtin' command) then the built-in version of the command 279 is used. When ksh is built with SHOPT_CMDLIB_DIR=1 then all libcmd 280 functions become builtins with the '/opt/ast/bin/' directory prefix. 28105-01-10 A bug in which a nameref to a compound name caused a core dump has 282 been fixed. 28305-01-09 A bug in which some SIGCHLD interrupts (from child processes exiting) 284 caused a fatal print/echo error diagnostic has been fixed. 28504-12-24 A bug in which some SIGCHLD interrupts (from child processes exiting) 286 corrupted the internal process/job list, sometimes causing the shell 287 to hang, has been fixed. 28804-12-01 A bug in which typeset -Fn truncated less than n digits for large 289 numbers has been fixed. 29004-11-25 A bug in which standard error could be closed after a redirection 291 to /dev/stderr has been fixed. 29204-11-17 A bug in which an expansion of the form ${array[@]:3} could expand 293 to ${array[0]} when ${array[3]} was not set has been fixed. 29404-10-22 The -E or -orc command line option reads ${ENV-$HOME/.kshrc} file. 29504-10-22 `-o foo' equivalent to `+o nofoo', `-o nobar' equivalent to `+o bar'. 296 `--foo' equivalent to `-o foo', `--nofoo' equivalent to `+o foo' 29704-10-05 The .paths file, introduced in ksh93m, which can appear in 298 any directory in PATH, now allows a line of the form 299 'BUILTIN_LIB=libname'. When a command is searched for this directory, 300 the shared library named by libname will first be searched for a 301 built-in version of the command. 30204-09-03 <<< here documents now handle quotes in the word token correctly. 30304-08-08 The maximum size for read -n and and read -N was increased from 304 4095 to 32M. 30504-08-04 printf %q was modified so that if an no operand was supplied, no 306 no output would be generated rather than a quoted empty string. 30704-08-01 The -n and -N options of the read builtin has been modified 308 when reading variables with the binary attribute so that the 309 data is stored directly rather than through assignment. 31004-08-01 The shcomp command has been modified to process alias commands 311 under some conditions. 31204-07-31 The .sh.match variable added in ksh93l, now works like other 313 indexed arrays. 31404-07-08 A loop optimizer bug which occurs when typeset is used in 315 a for or while loop inside a function has been fixed. 31604-06-24 The number of subexpressions in a pattern was increased to 64 317 from the current number of 20. 31804-06-17 The -t option to read was modified to allow seconds to be 319 specified as any arithmetic expression rather than just 320 an integral number of seconds, for example even -t 'sin(.5)' 321 is now valid. 32204-06-16 Two small memory leak problems were fixed. 32304-06-15 A bug in ${var/pattern/"string"} which occurred when string 324 contained pattern matching characters has been fixed. 32504-05-08 printf $'%d\n' produced an erroneous error message and has 326 been fixed. 32704-05-24 A bug in which an associative array without any elements could 328 cause a core dump when a script with an associative array with 329 the same name was declared in a script invoked by name has 330 been fixed. 33104-05-11 A bug in which an exec statement could close the script that 332 is being processed in a script that is run by name causing 333 a failure has been fixed. 33404-04-28 If the first character of assignment to an integer variable was 0, 335 the variable had been treated as unsigned. This behavior was 336 undocumented and has been removed. 33704-04-05 A bug in which the positioning of standard input could be incorrect 338 after reading from standard input from a subshell has been fixed. 33904-03-30 A bug in the for loop optimizer which in rare cases could cause 340 memory corruption has been fixed. 34104-03-29 The preset alias source='command .' has been added. 34204-03-29 A bug introduced in ksh93p on some systems in which invoked by 343 name with #! on the first line would not get the signals handling 344 initialized correctly has been fixed. 34504-03-29 A bug introduced in ksh93p in which a HUP signal received by 346 a shell that is a session group leader was not passed down to 347 its children has been fixed. 348 34904-02-28 --- Release ksh93p --- 35004-02-28 The ability to apply an append discipline to any variable has 351 been added. 35204-02-14 A bug in which the exportall option (set -a) would cause incorrect 353 results for arrays has been fixed. 35404-02-02 A bug in which an exported array would pass more than 355 the first element to a script invoked by name has been fixed. 35604-02-02 A bug on some systems in which name=value pairs preceding a script 357 invoked by name was not getting passed to the script has been fixed. 35804-01-20 A bug in which an unset discipline function could cause a core 359 dump on some systems has been fixed. 36004-01-12 A bug in which a continue or break called outside a loop from 361 inside a function defined with name() syntax could affect 362 the invoking function has been fixed. 36304-01-08 If a command name begins with ~, only filename completion will be 364 attempted rather than pathname completion using the builtin editors. 36504-01-08 A bug in the vi edit mode in which the wrong repeat count on 366 multiple word replacements with the . directive has been fixed. 36704-01-06 Backspace characters are now handled correctly in prompt strings. 36804-01-06 The getopts builtin has been modified to accept numerical 369 arguments of size long long on systems that support this. 37004-01-06 A bug in which unsetting all elements of an associative array 371 would cause it to be treated as an indexed array has been fixed. 37203-12-15 A bug in which a quoted string ending with an unescaped $ would 373 delete the ending $ in certain cases has been fixed. 37403-12-05 A bug in which the shell could hang when set -x tracing a command 375 when an invalid multibyte character is encountered has been fixed. 37603-12-05 On some systems, if the KEYBD trap is set, then commands that use 377 the meta key were not processed until return was hit. This 378 has been fixed. 37903-12-05 A problem which occurred when the login shell was not a group 380 leader that could cause it to fail has been fixed. 38103-12-05 A problem in which a shell could core dump after receiving a signal 382 that should cause it to terminate while it was in the process 383 of acquiring more space has been fixed. 38403-12-05 If ENV is not specified, the shell will default to $HOME/.kshrc 385 for interactive shells. 38603-11-21 A bug introduced in ksh93o in which the DEBUG trap could get 387 disabled after it triggered has been fixed. 38803-11-04 A bug in which using arithmetic prefix operators ++ or -- on a 389 non-lvalue could cause a core dump has been fixed. 39003-11-04 A bug in which leading zeros were stripped from variable 391 expansions within arithmetic computation to avoid being treated 392 as octal constants when they should not have, has been fixed. 39303-10-08 A bug introduced in ksh93o in which a large here document inside 394 a function definition could get corrupted has been fixed. 39503-09-22 A bug in which the .get discipline function was not being 396 called when a string variable was implicitly referenced from 397 within a numerical expression has been fixed. 39803-09-22 A bug in which a script without a leading #! could get executed 399 by /bin/sh rather than the current shell on some systems has 400 been fixed. 40103-09-12 To improve conformance with ksh88, leading zeros will be ignored 402 when getting the numerical value of a string variable so that 403 they will not be treated as octal constants. 40403-09-03 The builtin kill command now processes obsolete invocations 405 such as kill -1 -pid. 40603-09-02 The restriction on modifying FPATH in a restricted shell (sh -r) 407 has been documented. 40803-09-02 The restricted shell (sh -r) has been modified to disallow 409 executing command -p. 41003-08-07 A bug in which the KEYBD trap was not being invoked when 411 characters with the 8th bit set has been fixed. 41203-08-02 A parser bug introduced in ksh93o which caused the character 413 after () in a Posix function definition to be skipped 414 when reading from standard input has been fixed. 41503-08-01 A bug in which "${foo#pattern}(x)" treated (x) as if it were 416 part of the pattern has been fixed. 41703-08-01 The command -x option has been modified so that any trailing 418 arguments that do expand to a single word will be included 419 on each invocation, so that commands like command -x mv * dir 420 work as expected. 421 42203-07-20 --- Release ksh93o+ --- 42303-07-20 A bug in which could cause memory corruption when a posix 424 function invoked another one has been fixed. 42503-07-15 A bug in which a file descriptor>2 could be closed before 426 executing a script has been fixed. 42703-07-15 A parsing error for <() and >() process substitutions inside 428 command substitution has been fixed. 42903-07-15 A parsing error for patterns of the form {...}(...) when 430 used inside ${...} has been fixed. 43103-07-15 An error in which expanding an indexed array inside a compound 432 variable could cause a core dump has been fixed. 43303-07-15 A bug in which under on rare occassions a job completion interrupt 434 could cause to core dump has been fixed. 43503-06-26 A bug in which process substitution embedded within command 436 substitution would generate a syntax error has been fixed. 43703-96-23 A bug in which ${@:offset:len} could core dump when there 438 were no arguments has been fixed. 43903-96-23 A bug in which ${X[@]:offset:len} could core dump when X 440 was unset has been fixed. 44103-06-22 The -x option was added to the command builtin. If this 442 option is on, and the number of arguments would exceed ARG_MAX, 443 the command will be invoked multiple times with a subset of 444 the arguments. For example, with alias grep='command -x grep, 445 any number of arguments can be specified. 44603-06-14 A bug in which could cause a core dump on some systems with 447 vi and emacs editors with the MULTIBYTE option has been fixed. 44803-06-06 A bug in which the shell could core dump when a script was 449 run from its directory, and the script name a symlink to a file 450 beginning with .., has been fixed. 45103-06-05 A bug in which the shell could core dump when a child process 452 that it is unaware of terminates while it is calling malloc() 453 has been fixed. 45403-06-02 An option named globstar (set -G) has been added. When enabled, 455 during pathname expansion, any component that consists only of ** is 456 matches all files and any number of directory levels. 45703-05-30 A bug in which the PATH search could give incorrect results when 458 run from directory foo and PATH contained .:foo:xxx has been fixed. 45903-05-29 Some changes were made to the code that displays the prompt in edit 460 mode to better handle escape sequences in the prompt. 46103-05-27 I added = to the list of characters that mark the beginning of 462 a word for edit completion so that filenames in assignments 463 can be completed. 46403-05-20 A bug in which read -N could hang on some systems when reading 465 from a terminal or a pipe has been fixed. 46603-05-19 A bug in which the output of uname from a command substitution 467 would go to the standard output of the invoking command when 468 uname was invoked with a non-standard option has been fixed. 46903-05-19 A job control bug which would cause the shell to exit because 470 it hadn't take back the terminal has been fixed. The bug 471 could occur when running a function that contained a pipeline 472 whose last element was a function. 47303-05-19 A job control timing bug introduced in ksh93o on some systems 474 which could cause a pipeline to hang if the first component 475 completed quickly has been fixed. 47603-05-13 The read builtin has been modified so that the builtin editors 477 will not overwrite output from a previous incomplete line. 47803-05-13 A bug in which the name of an identifier could have the string 479 .sh. prefixed to it after expanding a variable whose name begins 480 with .sh. has been fixed. 48103-05-13 A bug in the expansion of $var for compound variables in which 482 some elements would not be output when the name was a prefix 483 of another name in the compound variable has been fixed. 48403-05-08 The last item in the ksh93o release on 03-01-02 has been 485 altered slightly to preserve the leading 0's when the 486 preceding character is a digit. Thus, with typeset -LZ3 x=10, 487 $(( 1$x)) will be 1010 whereas $(( $x) will be 10. 48803-04-25 A bug in which if x is a name reference, then nameref y=x.foo 489 did not follow x has been fixed. 490 49103-03-18 --- Release ksh93o --- 49203-03-18 A -N unary operator was added to test and [[...]] which returns 493 true if the file exists and the file has been modified since it 494 was last read. 49503-03-18 The TIMEFORMAT variable was added to control the format for 496 the time compound command. The formatting description is 497 described in the man page. 49803-03-06 A -N n option was added to read which causes exactly n bytes 499 to be read unlike -n n which causes at most n bytes to be read. 50003-03-03 Three new shell variables were added. The variable .sh.file 501 stores the full pathname of the file that the current command 502 was found in. The variable .sh.fun names the current function 503 that is running. The variable .sh.subshell contains the depth 504 of the current subshell or command substitution. 50503-03-03 When the DEBUG trap is executed, the current command line after 506 expansions is placed in the variable .sh.command. The trap 507 is also now triggered before each iteration of a for, select, 508 and case command and before each assignment and redirection. 50903-02-28 Function definitions are no longer stored in the history file so 510 that set -o nolog no longer has any meaning. 51103-02-28 All function definitions can be displayed with typeset -f not 512 just those stored in the history file. In addition, typeset +f 513 displays the function name followed by a comment containing the 514 line number and the path name for the file that defined this function. 51503-02-28 A bug in which the value of $LINENO was not correct when executing 516 command contained inside mult-line command substitutions has been 517 fixed. 51803-02-19 Since some existing ksh88 scripts use the undocumented and 519 unintended ability to insert a : in front of the % and # parameter 520 expansion operators, ksh93 was modified to accept :% as equivalent 521 to % and :# as equivalent to # with ${name op word}. 52203-02-14 A bug which could cause a core dump when reading from standard 523 error when standard error was a pty has been fixed. 52403-02-14 The shell arithmetic was modified to use long double on systems 525 that provide this data type. 52603-02-09 A bug in which a function located in the first directory in FPATH 527 would not be found when the last component of PATH was . and the 528 current directory was one of the directories in PATH has been fixed. 52903-02-07 The trap and kill builtin commands now accept a leading SIG prefix 530 on the signal names as documented. 53103-02-05 A bug in the expansion of ${var/$pattern}, when pattern contained 532 \[ has been fixed. 53303-02-05 A bug in which .sh.match[n], n>0, was not being set for substring 534 matches with % and %% has been fixed. 53503-01-15 A bug in which getopts did not work for numerical arguments specified 536 as n#var in the getopts string has been fixed. 53703-01-09 A bug in which using ${.sh.match} multiple times could lead to 538 a memory exception has been fixed. 53903-01-06 A bug in the expansion of ${var/pattern/$string} in the case that 540 $string contains \digit has been fixed. 54103-01-02 A -P option was added for systems such as Solaris 8 that support 542 profile shell. 54303-01-02 For backward compatibility with ksh88, arithmetic expansion 544 with ((...)) and let has been modified so that if x is a zero-filled 545 variable, $x will not be treated as an octal constant. 546 54702-12-05 --- Release ksh93n+ --- 54802-11-30 A bug that can show up in evaluating arithmetic statements that 549 are in an autoloaded function when the function is autoload from 550 another function has been fixed. 55102-11-30 An optimization bug in which an expansion of the form ${!name.@}, 552 which occurred inside a for or a while loop, when name is a name 553 reference, has been fixed. 55402-11-18 A bug in which modifying array variables in a subshell could leave 555 side effects in the parent shell environment has been fixed. 55602-11-18 A memory leak when unsetting an associative array has been fixed. 55702-11-14 The code to display compound objects was rewritten to make 558 it easier for runtime extensions to reuse this code. 55902-11-14 A change was made to allow runtime builtins to be notified when 560 a signal is received so that cleanup can be performed. 56102-10-31 User applications can now trap the ALRM signal. Previously, 562 the ALRM signal was used internally and could not be used 563 by applications. 56402-10-31 A bug in which signals received while reading from a coprocess 565 for which traps were set was not handled correctly has been fixed. 56602-10-31 A bug in which a file opened with exec inside a subshell could 567 be closed before the subshell completed has been fixed. 56802-10-21 A bug in which setting PATH or FPATH inside a function might not 569 take effect has been fixed. 57002-10-21 A bug which could cause a core dump when a local SECONDS variable 571 is defined in a function has been fixed. 57202-10-15 A bug in which the associate array name operator ${!array[@]} 573 could return the same name multiple times has been fixed. 57402-10-15 A bug in which the zero'th element of an associative array was 575 not getting set when an assignment was made without a subscript 576 specified has been fixed. 577 57802-09-30 --- Release ksh93n --- 57902-09-30 The maximum indexed array size was increased to 16Megs. 58002-09-30 A bug which could cause a core dump when changing attributes 581 of associative array has been fixed. 58202-09-30 A bug in which exporting an array variable would not export the 583 0-th element has been fixed. 58402-09-30 A bug in which an array assignment of the form a=($a ...) would unset 585 'a' before the right hand side was evaluated has been fixed. 58602-09-27 A bug in which the error message for ${var?message} when var was 587 null or unset did not contain the variable name var has been fixed. 58802-09-27 A bug in which closing file descriptors 0 through 2 could 589 cause a subsequent here document to fail has been fixed. 59002-09-14 A bug in whence which occurs when the specified name contained 591 a / has been fixed. 59202-09-14 A bug in the parser for strings of the form name$((expr))=value 593 has been fixed. 59402-09-14 A for loop optimization bug in which the number of elements in 595 an array was treated as an invariant has been fixed. 59602-09-09 A bug in which redirection or closing of a file descriptor between 597 3 and 9 could cause a subsequent here document to fail has been 598 fixed. 59902-09-09 A bug in which a background job was not removed from the job list 600 when a subshell completed has been fixed, for example (prog&). 60102-09-03 A bug in which an assignment of the form name=(integer x=3) 602 could be interpretted as an array assignment rather than a 603 compound variable assignment has been fixed. 60402-08-19 A command completion bug which occurred on file systems that 605 are case insensitive has been fixed. 60602-08-19 A bug which could lead to an exception on some systems (for 607 example FREEBSD) which occurred when setting PATH has been fixed. 60802-08-11 A bug in arithmetic rounding in which a value input as a decimal 609 string would output as a rounded version of the string has 610 been fixed. 61102-08-11 A bug in which the last character could be deleted from shell 612 traces and from whence when called from a multibyte locale 613 has been fixed. 61402-08-01 A bug which could cause a core dump to occur when a shell script 615 is executed while a coprocess is running that has closed the 616 output pipe has been fixed. 61702-08-01 A bug in which command completion in multibyte mode could 618 corrupt memory for long command lines has been fixed. 619 62002-06-17 --- Release ksh93n- --- 62102-06-17 A bug in which user defined macros could cause a core dump in 622 with MULTIBYE mode has been fixed. 62302-06-17 A bug in which printf format specifiers of the form %2$s were causing 624 a core dump has been fixed. 62502-06-17 A bug in which setting stty to noecho mode did not prevent the 626 echoing of characters by ksh when emacs or viraw mode 627 was enabled has been fixed. 62802-06-17 A bug in which background job completion could cause the sleep 629 builtin to terminate prematurely has been fixed. 63002-06-17 A bug in which the shell could core dump if getopts was called 631 when the OPTIND variable contained a negative value has been fixed. 63202-06-10 The edit mode prompt has been modified to handle escape sequences. 63302-06-10 A bug which occurred for interactive shells in which the builtin 634 cat command was used in command substitution on a file whose 635 size was larger than PIPE_BUF has been fixed. 63602-06-10 A bug in which the trap on ERR was not being processed when 637 set inside a function has been fixed. 63802-06-07 A bug in which function definitions could cause the history count 639 to be decremented by one (and even become negative) has been fixed. 64002-06-05 A bug in read in which share mode could be enabled has been fixed. 64102-05-28 A bug which could occur when the last command of a script was 642 a case statement and the action selected ended in ;& instead of ;; 643 has been fixed. 64402-05-23 A bug with unary + introduced in ksh93k has been fixed. 64502-05-07 A bug in substitutions of the form ${var/pattern/string} in which 646 a backslash was inserted in the replacement string when it contained 647 a special pattern character has been fixed. 64802-05-01 A bug in the emacs edit mode which occurred in versions compiled 649 for multibyte character sets which occurred when a repeated search 650 was requested after a long line had been returned for the previous 651 search has been fixed. 65202-04-02 vi and emacs edit modes were modified so that tab completion is 653 disabled when invoked from the read built-in. 654 65502-03-26 --- Release ksh93m+ --- 65602-03-26 A bug in which \ was not handled correctly when used in file 657 expansion has been fixed. 65802-02-18 A bug in which lines beginning with a # were deleted from here 659 documents when the here-document delimiter was followed by 660 a comment has been fixed. 66102-12-06 An optimization bug in which ${!x[@]) was treated as invariant in 662 a for loop has been fixed. 66302-02-06 A bug in which the ERR trap is not cleared for a script invoked 664 by name from within a function has been fixed. 66502-01-08 A bug in which a shell script executed from within a subshell 666 could cause this script to have an invalid pointer leading 667 to a memory fault has been fixed. 66802-01-07 Added here documents of the form <<< word (as per zsh) which 669 is equivalent to << delim\nword\ndelim. 67002-01-07 A bug in which the first word of a compound assignment, 671 x=(word ...), was treated as a reserved word has been fixed. 67202-01-07 A bug in the handling of \ when noglob was enabled and a 673 substitution of the form ${word op pattern} occurred in the 674 same word has been fixed. 67502-01-07 A compilation option, CMDLIB_BLTIN in the file OPTION, has 676 been added. When this options is set, all commands implemented 677 in libcmd become shell builtin commands by default. 67802-01-07 A bug in which builtin foo, where foo is already a builtin 679 would result in the builtin foo getting removed has been fixed. 68002-01-07 A bug which the shell executed a command found in the current 681 directory when PATH have no valid directories has been fixed. 68201-11-28 The value of $? was not being set when called with exit. 68301-11-28 If the last command was of the form (...) and a trap on EXIT or 684 ERR was set, and the command inside () modified the trap, then 685 the original trap wasn't executed. 68601-11-26 The value for 0 is now preceded by the base number when 687 the base was not 10. 68801-11-26 The default has compilation mode has been changes so that 689 viraw mode will always be on. 690 69101-10-31 --- Release ksh93m --- 69201-10-31 A for loop optimizer bug for subshells contained withing for 693 loops has been fixed. 69401-10-16 typeset without arguments no longer outputs variable names 695 that do not have any attributes that are set. 69601-10-16 A bug introduced in ksh93l in which assignments specified with 697 the exec built-in were not being expanded properly has been 698 fixed. 69901-10-11 An optimization bug in which ${!x) was treated as invariant in 700 a for loop has been fixed. 70101-10-11 Unsigned integer variables in bases other than 10 are printed now 702 expand in that base with the base prefix. 70301-10-10 A number of typos in the self generating man pages for shell 704 built-ins have been fixed. 70501-10-04 The self generated man pages for hist and fc were not working 706 correctly and have been fixed. 70701-10-03 Yet another optimizer bug in which shell patterns were 708 treated as invariants has been fixed. 70901-09-27 Two bugs relating to multibyte history searches and to find 710 have been fixed. 71101-09-27 A bug introduced in ksh93k in which the PATH searching was 712 not restored after running a command with an assignment list 713 has been fixed. 71401-09-26 A bug in which a zero filled field was treated as octal when 715 converted to integer has been fixed. 71601-09-26 Yet another bug in the optimization of for loops related to 717 recursive functions with break or continue statements has been fixed. 71801-09-25 The exponentiation operator ** was added to the shell arithmetic 719 evaluation. It has higher precedence than * and is left 720 associative. 72101-09-25 The code was modified to use the ast multibyte macros 722 and functions for handing multibyte locales. 72301-09-25 The expansion ${parameter:offset:length} now handles negative 724 offsets which cause offsets to be measured from the end. 72501-09-25 Some spelling errors in the documentation were corrected. 72601-09-24 The /dev/tcp/host/port and /dev/udp/host/port now allow 727 the ports to be specified by service name. 72801-09-24 The change staring with ksh93g in which the the appropriate 729 library path variable is prepended with a corresponding library 730 directory has been modified. With the new method, only the 731 library path defined in the file named .paths in the directory 732 where the executable is found will be modified. See the 733 man page for more details. 73401-09-23 The .fpath file (see ksh93h) is no longer looked for in each 735 directory on the path to locate function directories. The 736 file named .paths is used instead. 73701-09-23 A bug in which IFS was not being restored after being changed in 738 a subshell has been fixed. 73901-09-16 With the vi and emacs edit modes, after a list of command 740 or functions is generated with = or M-= respectively, 741 any element from the list can be pasted on the command line 742 by preceding the = or M-= with a numeric parameter specifying 743 the position on the list. 74401-09-16 A bug in ksh93l caused command completion not to find aliases 745 and functions. Command listing from the edit mode was presented 746 in reverse order. This has been fixed. 74701-09-13 Another bug in the optimization of for loops related to subshells 748 when traps were set has been fixed. 74901-09-07 A change in ksh93l caused brace expansion to stop working 750 and this has been fixed. 75101-09-04 A bug introduced in ksh93k in which an arithmetic statement 752 within a function that used name references did not follow the 753 reference has been fixed. 75401-09-04 A bug introduced in ksh93l in which export -p did not prefix 755 each export with the word export has been fixed. 75601-08-29 A bug in multibyte input which occurred when a partial multibyte 757 character was received has been fixed. 75801-08-29 A bug introduced in ksh93l which could cause a core dump 759 when an assignment list containing PATH is specified inside 760 command substitution has been fixed. 76101-08-09 Another bug in the optimization of for loops in ksh93l caused 762 errors in recursive functions using local variables that 763 contained for loops has been fixed. 76401-07-27 A bug in which IFS would be unset after a command substitution 765 inside a here document has been fixed. 76601-07-26 To conform to the POSIX standard, if you invoked ksh name, 767 and name does not contain a /, it will first try to run 768 one in the current directory whether it is executable or not 769 before doing a path search for an executable script. Earlier 770 versions first checked for an executable script using the 771 PATH variable. 77201-07-23 A bug in which unset -f invoked in a subshell could unset a 773 function defined in the parent has been fixed. 77401-07-16 A bug in the optimization of for loops in ksh93l caused 775 name references to be treated as invariants has been fixed. 77601-07-09 A bug in which a discipline function applied to a local variable 777 could cause a shell exception has been fixed. Discipline 778 functions can only be specified for global variables. 779 78001-06-18 --- Release ksh93l --- 78101-06-18 A bug in assigning integers larger than can be represented as 782 long integers to floating point variables has been fixed. 78301-06-18 A bug in the handling of unsigned integers (typeset -ui) has 784 been fixed. 78501-06-04 The evaluation of the PS1 prompt no longer effects the value 786 of the $? variable. 78701-06-01 A small memory leak from subshells has been fixed. 78801-05-22 A bug in which attributes for variables that did not have 789 values would be lost after a subshell has been fixed. 79001-05-22 The %R format has been added to convert a shell pattern into 791 an extended regular expression. 79201-05-22 The escape sequences \e, \cX, \C[.collating-element.], and 793 \x{hex} have been added to ASCII-C strings and to printf format 794 strings. 79501-05-20 Patterns of the form {n}(pattern) and {m,n}(pattern) are now 796 recognized. The first form matches exactly n of pattern whereas, 797 the second form matches from m to n instances of pattern. 79801-05-20 The shell allows *-(pattern), +-(pattern), ?-(pattern), 799 {m,n}-(pattern}, and @-(pattern) to cause the minimal 800 match of pattern to be selected whenever possible rather 801 than the maximal (greedy) match. 80201-05-20 The character class [:word:] has been added to patterns. 803 The word class is the union of [:alnum:] and the character _. 80401-05-20 Inside (...) pattern groups, the \ character is now treated 805 specially even when in an enclosing character class. The 806 sequences, \w, \d, \s are equivalent to the character classes 807 word, digit, and space respectively. The sequences \W, \D, 808 and \S are their complement sets. 80901-05-20 The shell now recognizes pattern groups of the form 810 ~(options:pattern) where options or :pattern can be omitted. 811 Options use the letters + and - to enable and disable options 812 respectively. The option letters g (greedy), i (ignore case) 813 are used to cause maximal matching and to cause case 814 insensitive matching respectively. If :pattern is also 815 specified, these options are only in effect while this 816 pattern is being processed. Otherwise, these options remain 817 in effect until the end of the pattern group that they are contained 818 in or until another ~(...) is encountered. These pattern groups 819 are not counted with respect to group numbering. 82001-05-14 When edit completion, expansion, or listing occurs in the 821 middle of a quoted string, the leading quote is ignored when 822 performing the completion, expansion, or listing. 82301-05-14 A small memory leak from subshells has been fixed. 82401-05-10 A bug in which open files were not restored after a subshell 825 that had used exec to replace a file has been fixed. 82601-05-10 Redirection to a null file name now generates an error message. 82701-05-09 The shell now rejects some invalid parameter substitutions that 828 were previously processed in undefined ways. 82901-05-09 A bug in which the output of select was not flushed before the 830 read when input did not come from the terminal has been fixed. 83101-05-08 A bug in which job ids would not be freed for interactive shells 832 when subshells ran built-ins in the background has been fixed. 83301-05-08 The FPATH variable now requires an explicit . to cause the 834 current directory to be treated as a function directory. 83501-05-08 A bug in read -n when echo mode was disabled has been fixed. 83601-05-07 A bug in which function definitions could be listed as part 837 of the history has been fixed. 83801-04-30 This release uses a new and often much faster pattern matcher than 839 earlier releases. 84001-04-30 An optimizer now eliminates invariant parameter expansions from 841 for while and until loops. 84201-04-30 The variable .sh.match is set after each pattern match (# % or /) 843 in a variable substitution. The variable .sh.match is an 844 indexed array with element 0 being the complete match. 845 The array is only valid until the next subsequent pattern 846 match or until the value of the variable changes which ever 847 comes first. 84801-04-30 A self generating man page has been added to shcomp. Also, 849 shcomp now stops compiling when it finds an exit or exec 850 command and copies the remainder so that it can be used 851 for standard input. 85201-04-30 The shcomp command was modified so that it can work in an 853 EBCIDIC environment and that binary scripts are portable 854 across environments. 85501-04-30 A bug in the handling of a trailing : in PATH has been fixed. 85601-04-30 A bug in which the builtin version of a command would get invoked 857 even though the full pathname for the command was specified 858 has been fixed. 85901-04-30 A bug in which read would loose the last character when 860 reading the last line of a file that did not contain a new-line 861 character has been fixed. 86201-04-23 A bug on some systems in which in vi mode the end of file 863 character and end of line character could be swapped has 864 been fixed. 86501-04-23 A bug on some systems in which invoking a shell script that 866 did not have execute permission could set the exit value to 867 127 rather than 126 has been fixed. 86801-04-20 A bug in which read -n from a pipe would block if fewer than 869 n characters was received has been fixed. 87001-04-09 A bug in which invalid patterns, for example, ) by itself, 871 was not treated as a string has been fixed so that if i=')', 872 then [[ $i == $i ]] is true. 87301-04-09 The shell arithmetic now interprets C character constants. 87401-04-09 A bug in which a non-zero return from a function defined 875 with the function reserved word did not trigger the ERR 876 trap or exit with set -e has been fixed. 87701-04-02 A bug on some systems, in which characters above 127 were 878 not displayed correctly in vi or emacs edit mode has been fixed. 87901-04-02 A bug on some systems, introduced in the 'k' point release, in 880 which the erase character in viraw mode was moving the cursor 881 to the left without erasing the character has been fixed. 88201-04-02 On some systems the wcwith() function was returning a wrong 883 value for characters and caused characters to be displayed 884 incorrectly from the shell edit modes. A work around for 885 this problem has been added. 88601-03-26 A bug in which valid scripts could produce syntax errors 887 when run with locales that considered characters such as "'" 888 to be space characters has been fixed. 88901-03-20 A bug in which an syntax error in an arithmetic expression 890 entered interactively could cause the shell to go into 891 an infinite loop outputting the error message has been fixed. 89201-03-10 ksh93 accepts -l as a synonym for -L in test on systems for 893 which /bin/test -l tests for symbolic links. 89401-03-10 A bug in parsing scripts in which { and } are used in place of 895 in and esac in case statements embedded in compound commands 896 has been fixed. Use of { and } for in and esac is obsolete. 89701-03-06 A bug in which an argument of the form foo=bar was not 898 being passed correctly to a traced function whose name 899 was foo has been fixed. 90001-03-02 Using $(trap -p name) did not print the name of the current 901 trap setting for trap name. 90201-02-26 Exported floating point variables gave incorrect results 903 when passing them to ksh88. This has been fixed. 90401-02-25 A race condition in which a coprocess which completed too quickly 905 would not allow subsequent coprocesses to start has been fixed. 90601-02-25 The 'g' format specifier is now handled by printf. It had 907 inadvertently been omitted. 90801-02-20 The + was not being displayed during an execution trace 909 with the += assignment operator. 91001-02-19 The error message which occurs when the interpreter name 911 defined on the #! line does not exist is more informative. 91201-02-19 A bug in which $0 would not be set correctly when a 913 script with #! was invoked by full pathname from the 914 directory of the script has been fixed. 91501-02-19 A shell script did not always pick up tty mode changes 916 made by external commands such as stty which could 917 effect the behavior of read. 91801-02-19 The -u, -g, and -k unary tests did not give the correct 919 results when used with negation and this has been fixed. 920 92101-02-05 --- Release ksh93k+ --- 92201-02-05 The sequence \<newline> inside $'...' was not incrementing 923 the line count and this has been fixed. 92401-02-05 Modified expansion of "${@-}" so that if no arguments are set 925 it results in null string rather than nothing. 92601-02-02 memory leak problem with local variables in functions fixed. 92701-01-25 allow arithmetic expressions with float%int and treat them 928 as ((int)float)%int rather than as an error. 92901-01-19 read -n1 was not working and has been fixed. 93001-01-17 ksh now handles the case in which a here document in command 931 substitution $() is terminated by the trailing ). Previously, 932 a new-line was needed at the end of the delimiter word. 93301-01-02 A bug in which a KEYBD trap would cause a multi-line token 934 to be processed incorrectly has been fixed. 93500-12-10 Arithmetic integer constants can now have L and U suffices. 93600-12-10 A bug in the processing of arithmetic expressions with compound 937 variables when the -n option is on has been fixed. 93800-12-08 A bug in M-f and M-b from emacs mode has been fixed. This 939 bug only occurs when ksh93 is compiled without MULTIBYTE enabled. 94000-11-29 A bug in which jobs -p would yield 0 for background 941 jobs run in a script has been fixed. 94200-11-21 A bug in integer arrays in which the number of elements is 943 incorrect when the ++ operator is applied to a non-existing 944 element has been fixed. For example, integer x; ((x[3]++)). 94500-11-20 A timing bug in which the shell could reset the terminal 946 group to the wrong value in the case that the a new process 947 changes the terminal group during startup has been fixed. 948 94900-10-27 --- Release ksh93k --- 95000-10-27 Using tab for completion now works only when applied 951 after a non-blank character at the end of the current line. 952 In other case a tab is inserted. 95300-10-27 A bug in the emacs edit mode for ^X^E has been fixed. 954 The ^X^E sequence is supposed to invoke the full editor 955 on the current command. 95600-10-18 A bug in which expansions of the form ${var//pattern/string} 957 did not work correctly when pattern was '/' or "/" has 958 been fixed. 95900-10-18 The output format for indexed arrays in compound variables 960 has been modified so that it can be used as input. 96100-10-18 Assignments with name references (typeset -n) will now 962 implicitly unreference an existing name reference. 96300-10-17 A bug the += append operator when a single array element 964 is appended to a variable that is not an array has been fixed. 96500-10-16 A bug in which the SIGCONT signal was being sent to 966 each process will kill -0 or kill -n 0 has been fixed. 96700-10-12 The arithmetic evaluation portion has been rewritten to 968 perform a number of optimizations. 96900-10-10 A bug in which name prefix matching ${!name.*} was not 970 checking name to see if it was a name reference has been fixed. 97100-09-26 A bug in the multibyte version in which the width of for 972 non-printing characters was not correct has been fixed. 97300-09-12 Made changes to get multibyte editing work on UWIN for windows 97400-09-12 A bug in which multibyte characters would be displayed incorrectly 975 has been fixed. 97600-08-08 Removed build dependency on iswprint() and iswalph(). 97700-07-20 In some cases the read builtin would read more than a single 978 line from a pipe on standard input and therefore leave the seek 979 position in the wrong location. 98000-07-05 If the directory / is on the path, a / will not be inserted 981 between the directory and the file name during path searching 982 to avoid searching // for systems that treat this specially. 98300-06-26 A bug in which on rare occasions wait could return before all 984 jobs have completed has been fixed. 98500-06-21 A bug in which backspace did not work correctly during the 986 R replace directive in vi-mode has been fixed. 98700-06-12 Added variable name completion/expansion/listing to the set of 988 completions. Variable name completions begin with $ or "$ followed 989 by a letter. 99000-05-09 --- Release ksh93j --- 99100-05-09 Modified command substitution to avoid using /tmp files when 992 run on read-only file systems. 99300-04-17 Modified printf to handle '%..Xc' and '%..Xs' options where X 994 is not an alpha character. Previous versions core dumped with this. 99500-04-10 Changes to multibyte editing code were made to use standard 996 ISO C functions rather than methods devised before the standard. 99700-04-09 Add %H options to printf to output strings with <"'&\t> properly 998 converted for use in HTML and XML documents. 99900-04-07 Modified getopts builtin to handle \f...\f in usage string 1000 by invoking specified function. 100100-04-04 Added self generating man pages for bg, fc, fg, disown, jobs, 1002 hist, let, ., and ulimit. 100300-03-30 The append operator += has been added and can be used 1004 for all assignments, strings, arrays, and compound variables. 100500-03-30 Code was modified in several places to support automatic 1006 generation of C locale dictionaries. 100700-03-28 A bug in which the set and trap commands invoked with --name 1008 type arguments would terminate the invoking script has 1009 been fixed. 101000-03-27 A bug in which the library path variable was not updated 1011 correctly on some systems as described in the 'g' point 1012 release has been fixed. 101300-03-07 printf now returns a non-zero exit status when one of 1014 its arguments cannot be converted to the given type. 101500-03-05 The return value and error message for a command that 1016 was found on the path but was not executable was set 1017 incorrectly. 101800-03-05 A prototype for ioctl() was removed from the vi edit mode. 1019 102000-01-28 --- Release ksh93i --- 102100-01-28 Most of the built-in commands and ksh itself are now 1022 self documenting. Running command --man will produce 1023 screen output. Running command --html produces the 1024 man page in html format. 102500-01-28 The getopts builtin can process command description 1026 strings to produce man pages. 102700-01-28 A bug in which a script could terminate when getopts 1028 encountered an error when invoked inside a function 1029 has been fixed. 103000-01-28 When a symbolic link was specified as the name of 1031 the script to invoke by name, the value of $0 was 1032 set to the real file name rather than the link name 1033 in some cases and this has been fixed. 103400-01-28 A bug in which the precision given as an argument 1035 to printf was not working has been fixed. 1036 103799-03-31 --- Release ksh93h --- 103899-03-31 The PATH search algorithm has been modified to look 1039 for a file named .fpath in each bin directory and if 1040 found, to search for functions in this directory if 1041 it cannot find the command in that directory. 104299-03-31 When performing pathname expansion, the shell checks 1043 to see whether each directory it reads is case sensitive 1044 or not, and performs the matching accordingly. 104599-03-31 The %T format for printing formatted date/time. 104699-03-31 The emacs and vi modes now handle arrow keys when 1047 they use standard ANSI escape sequences. 104899-03-31 The TAB key can be used for completion in emacs and viraw mode. 104999-03-31 A bug in setting .sh.editchar during the KEYBD trap 1050 for the MULTIBYTE option was fixed in release ksh93h. 105199-03-31 A bug in shcomp for compilation of unary operators with [[...]] 1052 has been fixed. 105399-03-31 A bug in which the value of $? was changed when executing 1054 a keyboard trap has been fixed. 105599-03-31 The handling of SIGCHLD has been changed so that the 1056 trap is not triggered while executing trap commands 1057 to avoid recursive trap calls. 105899-03-31 A bug in which a local variable in a function declared readonly 1059 would generated an error when the function went out of 1060 scope has been fixed. 106199-03-31 A bug in which \<new_line> entered from the keyboard 1062 with the KEYBD trap enabled has been fixed. 106399-03-31 The error message for a misplaced ((, for example print ((3), 1064 was often garbled and has been fixed. 106599-03-31 A bug in the KEYBD trap in which escape sequences of the form 1066 <ESC>[#~ were not being handled as a unit has been fixed. 106799-03-31 A bug in which ksh would consider expressions like [[ (a) ]] 1068 as syntax errors has been fixed. 106999-03-31 A function defined as foo() without a function body 1070 was not reported as a syntax error. 107199-03-31 A bug in which ksh could run out of file descriptors when 1072 a stream was repeatedly opened with exec and read from 1073 has been fixed. 1074 107598-04-30 --- Release ksh93g --- 107698-04-30 The pipefail option has been added. With pipefail 1077 enabled, a pipeline will not complete until all 1078 commands are complete, and the return value will 1079 be that of the last command to fail, or zero if 1080 all complete successfully. 108198-04-30 The name-value pair library uses the cdt library rather 1082 than the hash library. This change should be transparent 1083 to applications. 108498-04-30 On the U/WIN version for Window 95 and Windows NT, 1085 when a directory beginning with a letter followed by 1086 a colon is given to cd, it is assumed to be an absolute 1087 directory 108898-04-30 When an executable is found on a given path, 1089 the appropriate library path variable is prepended 1090 with a corresponding library directory. 109198-04-30 A bug in which a name reference could be created to 1092 itself and later cause the shell to get into an infinite 1093 loop has been fixed. 109498-04-30 A bug in shcomp relating to compound variables was fixed. 109598-04-30 A bug introduced in ksh93e in which leading 0's in -Z 1096 fields caused the value to be treated as octal for arithmetic 1097 evaluation has been fixed. 109898-04-30 A bug when a name reference with a shorter name than 1099 the variable it references was the subject of a compound 1100 assignment has been fixed. 110198-04-30 A bug which in which assignment to array variables in 1102 a subshell could effect the parent shell has been 1103 fixed. 110498-04-30 read name?prompt was putting a 0 byte at the end of the 1105 prompt on standard error. 110698-04-30 A bug in [[ string1 > string2 ]] when ksh was run with -x 1107 has been fixed. 110898-04-30 A bug in which the escape character was not processed 1109 correctly inside {...} when brace expansion is enabled 1110 has been fixed, for example {\$foo}. 111198-04-30 A bug in line continuation in here-documents has been 1112 fixed. 111398-04-30 The default base when not specified with typeset -i is 1114 10 in accordance with the documentation. Previously, 1115 the value was determined by the first assignment. 111698-04-30 A parsing bug in which a # preceded alphanumeric 1117 characters inside a command substitution caused 1118 a syntax error to be reported has been fixed. 111998-04-30 A bug in which a decimal constant represented as 10#ddd 1120 where ddd was more than five digits generated a syntax 1121 error has been fixed. 112298-04-30 A bug in here document expansion in which ${...} expansions 1123 were split across buffer boundaries has been fixed. 112498-04-30 The sh_fun() function now takes third argument which 1125 is an argument list for the invoked discipline function 1126 or built-in. 112798-04-30 A callback function can be installed which will give 1128 notification of file duplications and file closes. 112998-04-30 When ksh is compiled on systems that do not use fork() 1130 current option settings where not propagated to sub-shells. 1131 113297-06-30 --- Release ksh93f --- 113397-06-30 Hostnames in addition to host addresses can be given in 1134 /dev/tcp/host/port virtual file names. 113597-06-30 File name completion and expansion now quotes special 1136 characters in file names from both emacs and vi edit modes. 113797-06-30 An empty for list behave like a for list with null expansions. 1138 It produces a warning message with sh -n. 113997-06-30 The code has been modified to work with EBCDIC as well as ASCII. 114097-06-30 A bug which would cause the secondary prompt to be 1141 displayed when a user entered a literal carriage 1142 return has been fixed. 114397-06-30 A bug which caused ksh read -s name to core dump was 1144 fixed. 114597-06-30 A bug with the expansion of \} and \] inside double 1146 quoted strings that also contained variable expansions 1147 has been fixed 114897-06-30 Changes in the ksh93e point release caused autoload 1149 functions invoked from within command substitution 1150 to fail. This has been fixed. 115197-06-30 A bug in the processing of here-documents that could 1152 prevent variable substitution to occur after $(...) command 1153 substitution for long here documents has been fixed. 115497-06-30 A bug caused by a race condition that could cause SIGTERM 1155 to be ignored by a child process has been fixed. 115697-06-30 A bug which prevented the startup of a coprocess immediately 1157 after killing a running coprocess has been fixed. 115897-06-30 ulimit foobar, where foobar is not an arithmetic 1159 expression, now gives an error message as it did with ksh88 1160 instead of setting the file size limit to 0. 116197-06-30 A bug which could cause an interactive shell to terminate when 1162 the last process of a pipeline was a POSIX function was fixed. 116397-06-30 A bug which could cause command substitution of a shell script 1164 to core dump has been fixed. 116597-06-30 A security hole was fixed in suid_exec. 116697-06-30 Arithmetic functions such as pow() that take more than 1167 one argument, did not work if arguments other than the 1168 first contained parenthesized sub-expression. 116997-06-30 The error message from a script containing an incomplete 1170 arithmetic expression has been corrected. 117197-06-30 A bug which caused a core dump on some machines when 1172 the value of a name reference contained a positional 1173 parameter and the name reference was not defined inside 1174 a function has been fixed. 117597-06-30 Arithmetic expressions now correctly handle hexadecimal 1176 constants. 117797-06-30 A bug in which integer variables could be expanded 1178 with a leading 10# when declared with typeset -i 1179 multiple times has been corrected. 118097-06-30 A bug in which IFS wasn't correctly restored when 1181 set within command substitution has been fixed. 118297-06-30 The _ character is now considered as part of a word 1183 with the M-f and M-b emacs directives as it was in ksh88. 118497-06-30 A bug in brace pattern expansions that caused expressions 1185 such as {foo\,bar,bam} to expand incorrectly have been fixed. 1186 1187 118896-07-31 --- Release ksh93e --- 118996-07-31 The math functions, atan2, hypot, fmod, and pow were added. 119096-07-31 When a shared library is loaded, if the function lib_init() 1191 is defined in the library, it is invoked the first time that 1192 the library is loaded with builtin -f library. 119396-07-31 The k-shell information abstraction database option, KIA, 1194 has been revamped. 119596-07-31 Empty command substitutions of the form $() now work. 1196 whence -v foo now gives the correct result after calling 1197 builtin -d foo. 119896-07-31 A bug in right to left arithmetic assignment for which 1199 the arithmetic expression (( y = x = 1.5 )) did not 1200 yield 1 for y when x was declared typeset -i was fixed. 120196-07-31 printf has been fixed to handle format containing \0 1202 and/or \0145 correctly. In addition, characters following 1203 %b in the format string are no longer displayed when 1204 the operand contains \c. 120596-07-31 A bug in printf that could cause the %E format to 1206 produce unnormalized results has been fixed. 120796-07-31 A bug which causes some arithmetic expressions to be 1208 incorrectly evaluated as integer expressions rather 1209 that floating point has been fixed. 121096-07-31 Functions defined inside a subshell no longer remain 1211 defined when the subshell completes. 121296-07-31 The error message from sh -c ';echo foo' has been 1213 corrected. 121496-07-31 The format for umask -S has been changed to agree 1215 with the specification in the POSIX standard. 121696-07-31 A bug that caused side effects in subscript evaluation 1217 when tracing was enabled for subscripts using ++ or -- 1218 has been fixed. 121996-07-31 To conform to the Posix standard getopts has been changed 1220 so that the option char is set to ? when it returns with 1221 a non-zero exit status. 122296-07-31 The handling of \} inside ${name...} has been fixed so 1223 that the \ quotes the }. 122496-07-31 A bug that caused the read builtin to resume execution 1225 after processing a trap has been fixed. 122696-07-31 [[ -s file ]] has been fixed so that if file is open 1227 by ksh, it is flushed first. 122896-07-31 In some cases attributes and sizes for non exported 1229 variables weren't being reset before running a script. 123096-07-31 The value of TMOUT was affected by changes make to 1231 it in a subshell. 123296-07-31 The jobs command did not reflect changes make by 1233 sending the CONT signal to a command. 123496-07-31 The error message for ksh -o unknown was incorrect. 123596-07-31 Functions invoked as name=value name, did not use 1236 values from the calling scope when evaluating value. 123796-07-31 A bug in which the shell would reexecute previously 1238 executed code when a shell script or coprocess was 1239 run in the background has been fixed. 124096-07-31 A bug in which an empty here-document would leave 1241 a file descriptor open has been fixed. 124296-07-31 A bug in which $(set -A array ...) would leave a 1243 side effect has been fixed. 124496-07-31 A discipline function for a global variable defined 1245 within a function defined with the function keyword, 1246 incorrectly created a local variable of the same name 1247 and applied the discipline to it. 1248 124995-08-28 --- Release ksh93d --- 125095-08-28 The \ character was not handled correctly in replacement 1251 patterns with ${x/pattern/replace}. 125295-08-28 A bug with read in which the line did not end with 1253 a new-line has been fixed. 125495-08-28 A bug in file name generation which sometimes 1255 appended a . for filenames that ended in / has 1256 been fixed. 125795-08-28 If a process is waited for after a status has 1258 been returned by a previous wait, wait now 1259 returns 127. 126095-08-28 A bug with hist (fc) -e which prevented a command 1261 to re-executed after it had been edited has been fixed. 126295-08-28 A bug which prevented quoting from removing the meaning 1263 of unary test operators has been fixed. 126495-08-28 A bug with typeahead and KEYBOARD traps with the 1265 MULTIBYTE option set has been fixed. 126695-08-28 Builtin functions can take a third argument which is 1267 a void*. 126895-08-28 The nv_scan() function can restrict the scope of a walk 1269 to the top scope. 1270 127195-04-31 --- Release ksh93c --- 127295-04-31 The expansion of "$@" was incorrect when $1 was the null 1273 string. 127495-04-31 A bug which could incorrectly report a syntax error in 1275 a backquoted expression when a $ was preceded by \\ 1276 has been fixed. 127795-04-31 A bug which prevented the shell from exiting after 1278 reporting an error when failing to open a script 1279 has been fixed. 128095-04-31 A bug that could lead to memory corruption when a 1281 large here document that required parameter or command 1282 substitution was expanded has been fixed. 128395-04-31 A bug that could cause a core dump on some systems 1284 after ksh detected an error when reading a function 1285 has been fixed. 128695-04-31 A bug which could cause a coprocess to hang when 1287 reading from a process that has terminated has been fixed. 128895-04-31 A bug which caused a script to terminate when set -e 1289 was on and the first command of and && or || list 1290 failed has been fixed. 129195-04-31 A bug with here documents inside $(...) when the delimiter 1292 word is an identifier has been fixed. 129395-04-31 A bug which caused $0 to display the wrong value when 1294 a script was invoked as an argument to the . command 1295 and the eval command has been fixed. 129695-04-31 A bug that could cause the built-in sleep to hang 1297 has been fixed. 129895-04-31 A bug introduces in 12/28/93b which caused the backslash 1299 to be removed when it was followed by digit inside double 1300 quotes in some instances has been fixed. 130195-04-31 A bug which could cause a core dump if ksh was invoked with 1302 standard input closed has been fixed. 130395-04-31 A bug which could cause a core dump if typeset -A was 1304 specified for an existing variable has been fixed. 130595-04-31 Variables that were unset but had attributes such as readonly 1306 and export were not listed with readonly, export and typeset. 130795-04-31 Several problems with signals have been fixed. 130895-04-31 A bug which prevented ulimit -t from working has been fixed. 1309 Also, a bug in which failed ulimits could cause a core dump 1310 has also been fixed. 131195-04-31 A bug in expansion of the form ${name/#pattern/string} and 1312 ${name/%pattern/string} has been fixed. 131395-04-31 A bug which caused read -r on a line that contained only 1314 blanks to get a non-null value has been fixed. 131595-04-31 A bug introduced in the 'a' point release in which 1316 ${x='\\'} expanded to \ when x was unset has been fixed. 131795-04-31 A bug which prevented a trap on EXIT from being executed 1318 when the last command in a script was a function invocation 1319 has been fixed. 132095-04-31 A bug which caused an interactive shell ignore input when 1321 standard error was redirected to a file with exec, 1322 and then restored with exec 2>&1 has been fixed. 132395-04-31 An interactive shell turns on monitor mode even when 1324 standard error has been redirected to a file. 132595-04-31 A bug which could cause standard input to be incorrectly 1326 positioned for the last command of a script has been fixed. 132795-04-31 A bug in the edit modes which allowed walking back in 1328 the history file for more than HISTSIZE commands has 1329 beed fixed. 133095-04-31 A bug which could cause a core dump if variable TMPDIR was 1331 changed between two command substitutions has been fixed. 133295-04-31. A bug which prevented a trap on EXIT from being cleared 1333 has been fixed. 133495-04-31 A bug fixed for the v directive in vi MULTIBYTE has been 1335 fixed. 133695-04-31 Code to for IFS handling of multibyte characters has 1337 been added. 133895-04-31 The displaying of multibyte strings in export, readonly, 1339 typeset, and execution traces has been fixed. 134095-04-31 Variables inside functions are now statically scoped. 1341 The previous behavior was never documented. 134295-04-31 Variables inside functions are now statically scoped. 1343 The previous behavior was never documented. 134495-04-31 A few changes have been made to the name-value library 1345 that affect built-ins that use disciplines. The 1346 changes allow disciplines to be shared by variables 1347 and should make it possible to add new disciplines 1348 without recompilation. 134995-04-31 The name-value library interface has undergone significant 1350 change for this revision. See the new nval.3 man page. 1351 135294-12-31 --- Release ksh93b --- 135394-12-31 Variables inside functions are now statically scoped. 1354 The previous behavior was never documented. 135594-12-31 If IFS contains two consecutive identical characters belonging 1356 to the [:space:] class, then this character is treated as 1357 a non-space delimiter so that each instance will delimit 1358 a field. For example, IFS=$'\t\t' will cause two consecutive 1359 tabs to delimit a null field. 136094-12-31 The getopts command has a -a name option that specifies a 1361 name that will be used for usage messages. 136294-12-31 A bug which caused unset RANDOM to dump core has been 1363 fixed. 136494-12-31 A bug which prevented return for terminating a profile 1365 or ENV file has been fixed. 136694-12-31 A bug which prevented standard input from being 1367 directed to /dev/null for background jobs when 1368 monitor mode was turned off has been fixed. 136994-12-31 Statements of the form typeset -options var[expr]=value 1370 did not perform substitutions on expr as expected. 137194-12-31 A bug which prevented the shell from sending a HUP 1372 signal to some background jobs that were not disowned 1373 has been fixed. 137494-12-31 A bug which allowed a script to trap signals that are 1375 ignored at the time that the shell was invoked by exec 1376 has been fixed. 137794-12-31 A bug which could cause a core dump when a discipline 1378 function was unset within a discipline was fixed. 137994-12-31 The typeset builtin now accepts a first argument of 1380 + or - for compatibility with ksh88. 138194-12-31 For compatibility with ksh88, the results of expansions 1382 of command arguments will treat the extended character 1383 match characters ()|& as ordinary characters. 138494-12-31 A bug which caused read to fail on a file that was 1385 open for read/write with <> when the first operation 1386 was print or printf has been fixed. 138794-12-31 When a job is suspended, it is put on the top of 1388 the job list as required by the POSIX standard. 138994-12-31 The value of OPTARG when an option that required 1390 an argument but didn't have one was incorrect in the 1391 case the the option string began with a :. 139294-12-31 A bug which caused the terminal to get into a bad 1393 state with some KEYBD traps in vi-mode has been fixed. 139494-12-31 A bug which caused an invalid trap to cause a script 1395 to terminate, rather than just return an error, has 1396 been fixed. 139794-12-31 Backreferencing sub-expressions in patterns and replacement 1398 strings now works. 139994-12-31 A bug in chmod which caused the -R option to fail has 1400 been fixed. 140194-12-31 More signal names have been added for Solaris 1402 140394-06-30 --- Release ksh93a --- 140494-06-30 An expansion bug which causes portions of a word after 1405 a $((...)) expansion that contains a nested $var expansion 1406 to be lost has been fixed. 140794-06-30 A bug that caused a core dump when a script that did not 1408 have PWD set and did a cd inside command substitution 1409 has been fixed. 141094-06-30 A bug which caused a core dump on some machines when 1411 the LANG variable was assigned to has been fixed. 141294-06-30 A bug which incorrectly handled set disciplines that 1413 performed arithmetic evaluation when the discipline 1414 was called from the arithmetic evaluator has been fixed. 141594-06-30 A bug caused by an EXIT trap inside a function that 1416 was executed in a subshell was fixed. 141794-06-30 If foo is a function, and not a program, then command foo 1418 now reports that foo isn't found rather than invoking foo. 141994-06-30 The previous version incorrectly listed -A as an 1420 invocation option. The -A option is only for set. 142194-06-30 A bug was fixed which caused ksh to loop when execution trace 1422 was enabled and the PS4 prompt required command substitution. 142394-06-30 A bug which could cause the job control switch character 1424 to be disabled when a script that enabled monitor mode 1425 terminated was fixed. 142694-06-30 A bug in the macro expansion global replacement operator //, 1427 when the pattern began with a [ or +( has been fixed. 142894-06-30 A bug which prevented ~ expansion from occurring when 1429 it was terminated with a colon inside an assignment 1430 has been fixed. 143194-06-30 A bug in the dot command which prevented autoload functions 1432 from working has been fixed. 143394-06-30 A bug which caused a variable to be unset if the 1434 its value were expanded inside a set discipline has 1435 been fixed. 143694-06-30 Whence -a now longer reports that a defined function 1437 is undefined. 143894-06-30 A bug on some systems in which $0 would be incorrect 1439 in scripts invoked by name has been fixed. 144094-06-30 Here documents with an empty body now work. 144194-06-30 A bug which disabled argument passing and resetting 1442 of options for a script invoked by name inside a 1443 function has been fixed. 144494-06-30 A bug in which an EXIT trap set the caller of a function 1445 would be executed if a command called inside a function 1446 was not found has been fixed. 144794-06-30 A bug which allowed a script to trap signals that are 1448 ignored at the time that the shell was invoked has 1449 been fixed. 145094-06-30 A bug which caused 2<&1- when applied to a shell built-in 1451 to leave standard input closed has been fixed. 145294-06-30 A bug which caused the shell to incorrectly parse 1453 $() command substitutions with nested case statements 1454 has been fixed. 1455 1456