1 This document details the changes between this version, bash-2.02.1-release,
2 and the previous version, bash-2.02-release.
6 a. A bug that caused the bash readline support to not compile unless aliases
7 and csh-style history were configured into the shell was fixed.
9 b. Fixed a bug that could cause a core dump when here documents contained
10 more than 1000 characters.
12 c. Fixed a bug that caused a CDPATH entry of "" to not be treated the same
13 as the current directory when in POSIX mode.
15 d. Fixed an alignment problem with the memory returned by the bash malloc,
16 so returned memory is now 64-bit aligned.
18 e. Fixed a bug that caused command substitutions executed within pipelines
19 to put the terminal in the wrong process group.
21 f. Fixes to support/config.sub for: alphas, SCO Open Server and Open Desktop,
22 Unixware 2, and Unixware 7.
24 g. Fixes to the pattern matching code to make it work correctly for eight-bit
27 h. Fixed a problem that occasionally caused the shell to display the wrong
28 value for the new working directory when changing to a directory found
29 in $CDPATH when in physical mode.
31 i. Fixed a bug that caused core dumps when using conditional commands in
34 j. Fixed a bug that caused the printf builtin to loop forever if the format
35 string did not consume any of the arguments.
37 k. Fixed a bug in the parameter expansion code that caused "$@" to be
38 incorrectly split if $IFS did not contain a space character.
40 l. Fixed a bug that could cause a core dump when completing hostnames if
41 the number of matching hostnames was an exact multiple of 16.
43 m. Fixed a bug that caused the shell to fork too early when a command
44 such as `%2 &' was given.
46 2. Changes to Readline
48 a. Fixed a problem with redisplay that showed up when the prompt string was
49 longer than the screen width and the prompt contained invisible characters.
51 ------------------------------------------------------------------------------
52 This document details the changes between this version, bash-2.02-release,
53 and the previous version, bash-2.02-beta2.
57 a. A bug was fixed that caused the terminal process group to be set
58 incorrectly when performing command substitution of builtins in a
61 ------------------------------------------------------------------------------
62 This document details the changes between this version, bash-2.02-beta2,
63 and the previous version, bash-2.02-beta1.
67 a. Attempting to `wait' for stopped jobs now generates a warning message.
69 b. Pipelines which exit due to SIGPIPE in non-interactive shells are now
70 not reported if the shell is compiled -DDONT_REPORT_SIGPIPE.
72 c. Some changes were made to builtins/psize.sh and support/bashbug.sh to
73 attempt to avoid some /tmp file races and surreptitious file
76 d. Fixed a bug that caused the shell not to compile if configured with
77 dparen arithmetic but without aliases.
79 e. Fixed a bug that caused the input stream to be switched when assigning
80 empty arrays with `bash -c'.
82 f. A bug was fixed in the readline expansion glue code that caused bash to
83 dump core when expanding lines with an unclosed single quote.
85 g. A fix was made to the `cd' builtin so that using a non-empty directory
86 from $CDPATH results in an absolute pathname of the new current working
87 directory to be displayed after the current directory is changed.
89 h. Fixed a bug in the variable assignment code that caused the shell to
90 dump core when referencing an unset variable with `set -u' enabled in
91 an assignment statement preceding a command.
93 i. Fixed a bug in the exit trap code that caused reserved words to not be
94 recognized under certain circumstances.
96 j. Fixed a bug in the parameter pattern substitution code so that quote
99 k. The shell should now configure correctly on Apple Rhapsody systems.
101 l. The `kill' builtin now prints a usage message if it is not passed any
104 ------------------------------------------------------------------------------
105 This document details the changes between this version, bash-2.02-beta1,
106 and the previous version, bash-2.02-alpha1.
110 a. A few compilation bugs were fixed in the new extended globbing code.
112 b. Executing arithmetic commands now sets the command name to `((' so
113 error messages look right.
115 c. Fixed some build problems with various configuration options.
117 d. The `printf' builtin now aborts immediately if an illegal format
118 character is encountered.
120 e. The code that creates here-documents now behaves better if the file it's
121 trying to create already exists for some reason.
123 f. Fixed a problem with the extended globbing code that made patterns like
124 `x+*' expand incorrectly.
126 g. The prompt string expansion code no longer quotes tildes with backslashes.
128 h. The bash getcwd() implementation in lib/sh/getcwd.c now behaves better in
129 the presence of lstat(2) failures.
131 i. Fixed a bug with strsub() that caused core dumps when executing `fc -s'.
133 j. The mail checking code now ensures that it has a valid default mailpath.
135 k. A bug was fixed that caused local variables to be unset inappropriately
136 when sourcing a script from within another sourced script.
138 l. A bug was fixed in the history saving code so that functions are saved
139 in the history list correctly if `cmdhist' is enabled, but `lithist'
142 m. A bug was fixed that caused printf overflows when displaying error
145 n. It should be easier to build the loadble builtins in examples/loadables,
146 though some manual editing of the generated Makefile is still required.
148 o. The user's primary group is now always ${GROUPS[0]}.
150 p. Some updates were made to support/config.guess from the GNU master copy.
152 q. Some changes were made to the autoconf support for Solaris 2.6 large
155 r. The `command' builtins now does the right thing when confstr(3) cannot
156 find a value for _CS_PATH.
158 s. Extended globbing expressions like `*.!(c)' are not history expanded if
159 `extglob' is enabled.
161 t. Using the `-P' option to `cd' will force the value that is assigned to
162 PWD to not contain any symbolic links.
164 2. Changes to Readline
166 a. The code that prints completion listings now behaves better if one or
167 more of the filenames contains non-printable characters.
169 b. The time delay when showing matching parentheses is now 0.5 seconds.
171 ------------------------------------------------------------------------------
172 This document details the changes between this version, bash-2.02-alpha1,
173 and the previous version, bash-2.01.1-release.
177 a. OS-specific configuration changes for: BSD/OS 3.x, Minix 2.x,
178 Solaris 2.6, SINIX SVR4.
180 b. Changes were made to the generated `info' files so that `install-info'
183 c. PWD is now auto-exported.
185 d. A fix was made to the pipeline code to make sure that the shell forks
186 to execute simple commands consisting solely of assignment statements.
188 e. Changes to the test suite for systems with 14-character filenames.
190 f. The default sizes of some internal hash tables have been made smaller
191 to reduce the shell's memory footprint.
193 g. The `((...))' arithmetic command is now executed directly instead of
194 being translated into `let "..."'.
196 h. Fixes were made to the expansion code so that "$*", "$@", "${array[@]}",
197 and "${array[@]}" expand correctly when IFS does not contain a space
198 character, is unset, or is set to NULL.
200 i. The indirect expansion code (${!var}) was changed so that the only
201 valid values of `var' are variable names, positional parameters, `#',
204 j. An arithmetic expression error in a $((...)) expansion now causes a
205 non-interactive shell running in posix mode to exit.
207 k. Compound array assignment now splits the words within the parentheses
208 on shell metacharacters like the parser would before expansing them
209 and performing the assignment. This is for compatibility with ksh-93.
211 l. The internal shell backslash-quoting code (used in the output of `set'
212 and completion) now quotes tildes if they appear at the start of the
213 string or after a `=' or `:'.
215 m. A couple of bugs with `shopt -o' were fixed.
217 n. `bash +o' now displays the same output as `set +o' before starting an
220 o. A bug that caused command substitution and the `eval' builtin to
221 occasionally free memory twice when an error was encountered was fixed.
223 p. The filename globbing code no longer requires read permission for a
224 directory when the filename to be matched does not contain any globbing
225 characters, as POSIX.2 specifies.
227 q. A bug was fixed so that the job containing the last asynchronous
228 process is not removed from the job table until a `wait' is executed
229 for that process or another asynchronous process is started. This
230 satisfies a POSIX.2 requirement.
232 r. A `select' bug was fixed so that a non-numeric user response is treated
233 the same as a numeric response that is out of range.
235 s. The shell no longer parses the value of SHELLOPTS from the environment
236 if it is restricted, running setuid, or running in `privileged mode'.
238 t. Fixes were made to enable large file support on systems such as
239 Solaris 2.6, where the size of a file may be larger than can be held
242 u. The filename hashing code was fixed to not add `./' to the beginning of
243 filenames which already begin with `./'.
245 v. The configure script was changed so that the GNU termcap library is not
246 compiled in if `prefer-curses' has been specified.
248 w. HISTCONTROL and HISTIGNORE are no longer applied to the second and
249 subsequent lines of a multi-line command.
251 x. A fix was made to `disown' so that it does a better job of catching
254 y. Non-interactive shells no longer report the status of processes terminated
255 due to SIGINT, even if the standard output is a terminal.
257 z. A bug that caused the output of `jobs' to have extra carriage returns
260 aa. A bug that caused PIPESTATUS to not be set when builtins or shell
261 functions were executed in the foreground was fixed.
263 bb. Bash now attempts to detect when it is being run by sshd, and treats
264 that case identically to being run by rshd.
266 cc. A bug that caused `set -a' to export SHELLOPTS when one of the shell
267 options was changed was fixed.
269 dd. The `kill' builtin now disallows empty or missing process id arguments
270 instead of treating them as identical to `0', which means the current
273 ee. `var=value declare -x var' now behaves identically to
274 `var=value export var'. Similarly for `var=value declare -r var' and
275 `var=value readonly var'.
277 ff. A few memory leaks were fixed.
279 gg. `alias' and `unalias' now print error messages when passed an argument
280 that is not an alias for printing or deletion, even when the shell is
281 not interactive, as POSIX.2 specifies.
283 hh. `alias' and `alias -p' now return a status of 0 when no aliases are
284 defined, as POSIX.2 specifes.
286 ii. `cd -' now prints the pathname of the new working directory if the shell
289 jj. A fix was made so that the code that binds $PWD now copes with getcwd()
292 kk. `unset' now checks whether or not a function name it's trying to unset
293 is a valid shell identifier only when the shell is running in posix mode.
295 ll. A change was made to the code that generates filenames for here documents
296 to make them less prone to name collisions.
298 mm. The parser was changed so that `time' is recognized as a reserved word
299 only at the beginning of a pipeline.
301 nn. The pathname canonicalization code was changed so that `//' is converted
302 into `/', but all other pathnames beginning with `//' are left alone, as
305 oo. The `logout' builtin will no longer exit a non-interactive non-login
308 2. Changes to Readline
310 a. Fixed a problem in the readline test program rltest.c that caused a core
313 b. The code that handles parser directives in inputrc files now displays
316 c. The history expansion code was fixed so that the appearance of the
317 history comment character at the beginning of a word inhibits history
318 expansion for that word and the rest of the input line.
320 3. New Features in Bash
322 a. A new version of malloc, based on the older GNU malloc, that has many
323 changes, is more page-based, is more conservative with memory usage,
324 and does not `orphan' large blocks when they are freed.
326 b. A new version of gmalloc, based on the old GLIBC malloc, with many
327 changes and range checking included by default.
329 c. A new implementation of fnmatch(3) that includes full POSIX.2 Basic
330 Regular Expression matching, including character classes, collating
331 symbols, equivalence classes, and support for case-insensitive pattern
334 d. ksh-88 egrep-style extended pattern matching ([@+*?!](patlist)) has been
335 implemented, controlled by a new `shopt' option, `extglob'.
337 e. There is a new ksh-like `[[' compound command, which implements
338 extended `test' functionality.
340 f. There is a new `printf' builtin, implemented according to the POSIX.2
343 g. There is a new feature for command substitution: $(< filename) now expands
344 to the contents of `filename', with any trailing newlines removed
345 (equivalent to $(cat filename)).
347 h. There are new tilde prefixes which expand to directories from the
350 i. There is a new `**' arithmetic operator to do exponentiation.
352 j. There are new configuration options to control how bash is linked:
353 `--enable-profiling', to allow bash to be profiled with gprof, and
354 `--enable-static-link', to allow bash to be linked statically.
356 k. There is a new configuration option, `--enable-cond-command', which
357 controls whether or not the `[[' command is included. It is on by
360 l. There is a new configuration option, `--enable-extended-glob', which
361 controls whether or not the ksh extended globbing feature is included.
362 It is enabled by default.
364 m. There is a new configuration #define in config.h.top that, when enabled,
365 will cause all login shells to source /etc/profile and one of the user-
366 specific login shell startup files, whether or not the shell is
369 n. There is a new invocation option, `--dump-po-strings', to dump
370 a shell script's translatable strings ($"...") in GNU `po' format.
372 o. There is a new `shopt' option, `nocaseglob', to enable case-insensitive
373 pattern matching when globbing filenames and using the `case' construct.
375 p. There is a new `shopt' option, `huponexit', which, when enabled, causes
376 the shell to send SIGHUP to all jobs when an interactive login shell
379 q. `bind' has a new `-u' option, which takes a readline function name as an
380 argument and unbinds all key sequences bound to that function in a
383 r. `disown' now has `-a' and `-r' options, to limit operation to all jobs
384 and running jobs, respectively.
386 s. The `shopt' `-p' option now causes output to be displayed in a reusable
389 t. `test' has a new `-N' option, which returns true if the filename argument
390 has been modified since it was last accessed.
392 u. `umask' now has a `-p' option to print output in a reusable format.
394 v. A new escape sequence, `\xNNN', has been added to the `echo -e' and $'...'
395 translation code. It expands to the character whose ascii code is NNN
398 w. The prompt string expansion code has a new `\r' escape sequence.
400 x. The shell may now be cross-compiled for the CYGWIN32 environment on
403 4. New Features in Readline
405 a. There is now an option for `iterative' yank-last-arg handline, so a user
406 can keep entering `M-.', yanking the last argument of successive history
409 b. New variable, `print-completions-horizontally', which causes completion
410 matches to be displayed across the screen (like `ls -x') rather than up
411 and down the screen (like `ls').
413 c. New variable, `completion-ignore-case', which causes filename completion
414 and matching to be performed case-insensitively.
416 d. There is a new bindable command, `magic-space', which causes history
417 expansion to be performed on the current readline buffer and a space to
418 be inserted into the result.
420 e. There is a new bindable command, `menu-complete', which enables tcsh-like
421 menu completion (successive executions of menu-complete insert a single
422 completion match, cycling through the list of possible completions).
424 f. There is a new bindable command, `paste-from-clipboard', for use on Win32
425 systems, to insert the text from the Win32 clipboard into the editing
428 g. The key sequence translation code now understands printf-style backslash
429 escape sequences, including \NNN octal escapes. These escape sequences
430 may be used in key sequence definitions or macro values.
432 h. An `$include' inputrc file parser directive has been added.
434 ------------------------------------------------------------------------------
435 This document details the changes between this version, bash-2.01.1-release,
436 and the previous version, bash-2.01-release.
440 a. The select command was fixed to check the validity of the user's
441 input more strenuously.
443 b. A bug was fixed that prevented `time' from timing commands correctly
444 when supplied as an argument to `bash -c'.
446 c. A fix was made to the mail checking code to keep from adding the same
447 mail file to the list of files to check multiple times when parsing
450 d. Fixed an off-by-one error in the tilde expansion library.
452 e. When using the compound array assignment syntax, the old value of
453 the array is cleared before assigning the new value.
455 f. Fixed a bug that could cause a core dump when a trap handler was reset
456 to the default in the trap command associated with that signal.
458 g. Fixed a bug in the locale code that occurred when assigning a value
461 h. A change was made to the parser so that words of the form xxx=(...)
462 are not considered compound assignment statements unless there are
463 characters before the `='.
465 i. A fix was made to the command tracing code to correctly quote each
468 j. Some changes were made to the bash-specific autoconf tests to make them
471 k. Completion of words with globbing characters now correctly quotes the
474 l. The directory /var/spool/mail is now preferred to /usr/spool/mail when
475 configure is deciding on the default mail directory.
477 m. The brace completion code was fixed to not quote the `{' and `}'.
479 n. Some fixes were made to make $RANDOM more random in subshells.
481 o. System-specific changes were made to configure for: SVR4.2
483 p. Changes were made so that completion of words containing globbing chars
484 substitutes the result only if a single filename was matched.
486 q. The window size is now recomputed after a job is stopped with SIGTSTP if
487 the user has set `checkwinsize' with `shopt'.
489 r. When doing substring expansion, out-of-range substring specifiers now
490 cause nothing to be substituted rather than an expansion error.
492 s. A fix was made so that you can no longer trap `SIGEXIT' or `SIGDEBUG' --
493 only `EXIT' and `DEBUG' are accepted.
495 t. The display of trapped signals now uses the signal number if signals
496 for which bash does not know the name are trapped.
498 u. A fix was made so that `bash -r' does not turn on restricted mode until
499 after the startup files are executed.
501 v. A bug was fixed that occasionally caused a core dump when a variable
502 found in the temporary environment of export/declare/readonly had a
505 w. A bug that occasionally caused unallocated memory to be passed to free()
506 when doing arithmetic substitution was fixed.
508 x. A bug that caused a buffer overrun when expanding a prompt string
509 containing `\w' and ${#PWD} exceeded PATH_MAX was fixed.
511 y. A problem with the completion code that occasionally caused it to
512 refer to a character before the beginning of the readline line buffer
515 z. A bug was fixed so that the `read' builtin restarts reads when
516 interrupted by signals other than SIGINT.
518 aa. Fixed a bug that caused a command to be freed twice when there was
519 an evaluation error in the `eval' command.
521 2. Changes to Readline
523 a. Added a missing `extern' to a declaration in readline.h that kept
524 readline from compiling cleanly on some systems.
526 b. The history file is now opened with mode 0600 when it is written for
529 c. Changes were made to the SIGWINCH handling code so that prompt redisplay
532 d. ^G now interrupts incremental searches correctly.
534 e. A bug that caused a core dump when the set of characters to be quoted
535 when completing words was empty was fixed.
537 ------------------------------------------------------------------------------
538 This document details the changes between this version, bash-2.01-release,
539 and the previous version, bash-2.01-beta2.
543 a. The `distclean' target should remove the `printenv' executable if it
546 b. The test suite was changed slightly to ensure that the error messages
547 are printed in English.
549 c. A bug that caused the shell to dump core when a filename containing a
550 `/' was passed to `hash' was fixed.
552 d. Pathname canonicalization now leaves a leading `//' intact, as POSIX.1
555 e. A memory leak when completing commands was fixed.
557 f. A memory leak that occurred when checking the hash table for commands
558 with relative paths was fixed.
560 ------------------------------------------------------------------------------
561 This document details the changes between this version, bash-2.01-beta2,
562 and the previous version, bash-2.01-beta1.
566 a. The `ulimit' builtin translates RLIM_INFINITY to the hard limit only if
567 the current (soft) limit is less than or equal to the hard limit.
569 b. Fixed a bug that caused the bash emulation of strcasecmp to produce
572 c. A bug that caused memory to be freed twice when a trap handler resets
573 the trap more than once was fixed.
575 d. A bug that caused machines where sizeof (pointer) > sizeof (int) to
576 fail (and possibly dump core) when trying to unwind-protect a null
579 e. The startup files should not be run with job control enabled. This fix
580 allows SIGINT to once again interrupt startup file execution.
582 f. Bash should not change the SIGPROF handler if it is set to something
585 g. The completion code that provides bash-specific completions for readline
586 now quotes characters that the readline code would treat as word break
587 characters if they appear in a file name.
589 h. The completion code now correctly quotes filenames containing a `!',
590 even if the user attempted to use double quotes when attempting
593 i. A bug that caused the shell to dump core when `disown' was called without
594 arguments and there was no current job was fixed.
596 j. A construct like $((foo);bar) is now processed as a command substitution
597 rather than as a bad arithmetic substitution.
599 k. A couple of bugs that caused `fc' to not obey the `cmdhist' and `lithist'
600 shell options when editing and re-executing a series of commands were
603 l. A fix was made to the grammar -- the list of commands between `do' and
604 `done' in the body of a `for' command should be treated the same as a
607 2. Changes to Readline
609 a. A couple of bugs that caused the history search functions to attempt to
610 free a NULL pointer were fixed.
612 b. If the C library provides setlocale(3), readline does not need to look
613 at various environment variables to decide whether or not to go into
614 eight-bit mode automatically -- just check whether the current locale
615 is not `C' or `POSIX'.
617 c. If the filename completion function finds that a directory was not closed
618 by a previous (interrupted) completion, it closes the directory with
621 3. New Features in Bash
623 a. New bindable readline commands: history-and-alias-expand-line and
624 alias-expand-line. The code was always in there, there was just no
627 ------------------------------------------------------------------------------
628 This document details the changes between this version, bash-2.01-beta1,
629 and the previous version, bash-2.01-alpha1.
633 a. Fixed a problem that could cause file descriptors used for process
634 substitution to conflict with those used explicitly in redirections.
636 b. Made it easier to regenerate configure if the user changes configure.in.
638 c. ${GROUPS[0]} should always be the primary group, even on systems without
641 d. Spelling correction is no longer enabled by default.
643 e. Fixes to quoting problems in `bashbug'.
645 f. OS-specific configuration changes were made for: Irix 6.
647 g. OS-specific code changes were made for: QNX.
649 h. A more meaningful message is now printed when the file in /tmp for a
650 here document cannot be created.
652 i. Many changes to the shell's variable initialization code to speed
653 non-interactive startup.
655 j. Changes to the non-job-control code so that it does not try to open
658 k. The output of `set' and `export' is once again sorted, as POSIX wants.
660 l. Fixed a problem caused by a recursive call reparsing the value of
663 m. The tilde code no longer calls getenv() when it's compiled as part of
664 the shell, which should eliminate problems on systems that cannot
665 redefine getenv(), like the NeXT OS.
667 n. Fixed a problem that caused `bash -o' or `bash +o' to not list all
670 o. Fixed `ulimit' to convert RLIM_INFINITY to the appropriate hard limit
671 only if the hard limit is greater than the current (soft) limit.
673 p. Fixed a problem that arose when building bash in a different directory
674 than the source and y.tab.[ch] were remade with something other than
675 bison. This came up most often on NetBSD.
677 q. Fixed a problem with completion -- it thought that `pwd`/[TAB] indicated
678 an unfinished command completion (`/), which generated errors.
680 r. The bash special tilde expansions (~-, ~+) are now attempted before
681 calling the standard tilde expansion code, which should eliminate the
682 problems people have been seeing with this on Solaris 2.5.1.
684 s. Added support for <stdarg.h> to places where it was missing.
686 t. Changed the code that reads the output of a command substitution to not
687 go through stdio. This reduces the memory requirements and is faster.
689 u. A number of changes to speed up export environment creation were made.
691 v. A number of memory leaks were fixed as the result of running the test
692 scripts through Purify.
694 w. Fixed a bug that caused subshells forked to interpret executable
695 scripts without a leading `#!' to not reinitialize the values of
698 2. Changes to Readline
700 a. History library has less `#ifdef SHELL' code -- abstracted stuff out
701 into application-specific function hooks.
703 b. Readline no longer calls getenv() if it's compiled as part of the shell,
704 which should eliminate problems on systems that cannot redefine getenv(),
707 c. Fixed translation of ESC when `untranslating' macro values.
709 d. The region kill operation now fixes the mark if it ends up beyond the
710 boundaries of the line after the region is deleted.
712 3. New Features in Bash
714 a. New argument for `configure': `--with-curses'. This can be used to
715 override the selection of the termcap library on systems where it is
718 ------------------------------------------------------------------------------
719 This document details the changes between this version, bash-2.01-alpha1,
720 and the previous version, bash-2.0-release.
724 a. System-specific configuration changes for: FreeBSD, SunOS4, Irix,
725 MachTen, QNX 4.2, Harris Night Hawk, SunOS5.
727 b. System-specific code changes were made for: Linux, 4.4 BSD, QNX 4.2,
730 c. A bug that caused the exec builtin to fail because the full pathname of
731 the command could not be found was fixed.
733 d. The code that performs output redirections is now more resistant to
734 race conditions and possible security exploits.
736 e. A bug that caused the shell to dump core when performing pattern
737 substitutions on variable values was fixed.
739 f. More hosts are now recognized by the auto-configuration mechanism
740 (OpenBSD, QNX, others).
742 g. Assignments to read-only variables that attempt to convert them to
743 arrays are now errors.
745 h. A bug that caused shell scripts using array assignments in POSIX mode
746 to exit after the assignment was performed was fixed.
748 i. The substring expansion code is now more careful about running off the
749 ends of the expanded variable value.
751 j. A bug that caused completion to fail if a backquoted command substitution
752 appeared anywhere on the line was fixed.
754 k. The `source' builtin no longer turns off history if it has been enabled
755 in a non-interactive shell.
757 l. A bug that caused the shell to crash when `disown' was given a pid
758 instead of a job number was fixed.
760 m. The `cd' spelling correction code will not try to change to `.' if no
761 directory entries match a single-character argument.
763 n. A bad variable name supplied to `declare', `export', or `readonly' no
764 longer causes a non-interactive shell in POSIX mode to exit.
766 o. Some fixes were made to the test suite to handle peculiarities of
767 various Unix versions.
769 p. The bash completion code now quotes characters that readline would
770 treat as word breaks for completion but are not shell metacharacters.
772 q. Bad options supplied at invocation now cause a usage message to be
775 r. Fixes were made to the code that handles DEBUG traps so that the trap
776 string is not freed inappropriately.
778 s. Some changes were made to the bash debugger in examples/bashdb -- it
779 should be closer to working now.
781 t. A problem that caused the default filename used for mail checking to be
784 u. A fix was made to the `echo' builtin so that NUL characters printed with
785 `echo -e' do not cause the output to be truncated.
787 v. A fix was made to the job control code so that the shell behaves better
788 when monitor mode is enabled in a non-interactive shell.
790 w. Bash no longer catches all of the terminating signals in a non-
791 interactive shell until a trap is set on EXIT, which should result in
794 x. A fix was made to the command timing code so that `time' can be used in
797 y. A fix was made to the parser so that `((cmd); cmd2)' is now parsed as
798 a nested subshell rather than strictly as an (errnoeous) arithmetic
801 z. A fix was made to the globbing code so that it correctly matches quoted
802 filenames beginning with a `.'.
804 aa. A bug in `fc' that caused some multi-line commands to not be stored as
805 one command in the history when they were re-executed after editing
806 (with `fc -e') was fixed.
808 bb. The `ulimit' builtin now attempts to catch some classes of integer
811 cc. The command-oriented-history code no longer attempts to add `;'
812 inappropriately when a newline appears while reading a $(...) command
815 dd. A bug that caused the shell to dump core when `help --' was executed
818 ee. A bug that caused the shell to crash when an unset variable appeared
819 in the body of a here document after `set -u' had been executed was
822 ff. Implicit input redirections from /dev/null for asynchronous commands
823 are now handled better.
825 gg. A bug that caused the shell to fail to compile when configured with
826 `--disable-readline' was fixed.
828 hh. The globbing code should now be interruptible.
830 ii. Bash now notices when the `kill' builtin is used to send SIGCONT to a
831 stopped job and adjusts the data structures accordingly, as if `bg' had
832 been executed instead.
834 jj. A bug that caused the shell to crash when mixing calls to `getopts'
835 and `shift' on the same set of positional parameters was fixed.
837 kk. The command printing code now preserves the `-p' flag to `time'.
839 ll. The command printing code now handles here documents better when there
840 are other redirections associated with the command.
842 mm. The special glibc environment variable (NNN_GNU_nonoption_argv_flags_)
843 is no longer placed into the environment of executed commands -- users
844 of glibc had too many problems with it.
846 nn. Reorganized the code that generates signames.h. The signal_names list
847 is now more complete but may be slightly different (SIGABRT is favored
848 over SIGIOT, for example). The preferred signal names are those
849 listed in the POSIX.2 standard.
851 oo. `bashbug' now uses a filename shorter than 14 characters for its
852 temporary file, and asks for confirmation before sending the bug
855 pp. A bug that caused TAB completion in vi editing mode to not be turned
856 off when `set -o posix' was executed or back on when `set +o posix'
857 was executed was fixed.
859 qq. A bug in the brace expansion code that caused brace expansions appearing
860 in new-style $(...) command substitutions to be inappropriately expanded
863 rr. A bug in the readline hook shell-expand-line that could cause memory to
864 be inappropriately freed was fixed.
866 ss. A bug that caused some arithmetic expressions containing `&&' and `||'
867 to be parsed with the wrong precedence has been fixed.
869 tt. References to unbound variables after `set -u' has been executed now
870 cause the shell to exit immediately, as they should.
872 uu. A bug that caused the shell to exit inappropriately when `set -e' had
873 been executed and a command's return status was being inverted with the
874 `!' reserved word was fixed.
876 vv. A bug that could occasionally cause the shell to crash with a
877 divide-by-zero error when timing a command was fixed.
879 ww. A bug that caused parameter pattern substitution to leave stray
880 backslashes in the replacement string when the expression is in
881 double quotes was fixed.
883 xx. The `break' and `continue' builtins now break out of all loops when an
884 invalid count argument is supplied.
886 yy. Fixed a bug that caused PATH to be set to the empty string if
887 `command -p' is executed with PATH unset.
889 zz. Fixed `kill -l signum' to print the signal name without the `SIG' prefix,
892 aaa. Fixed a bug that caused the shell to crash while setting $SHELLOPTS
893 if there were no shell options set.
895 bbb. Fixed `export -p' and `readonly -p' so that when the shell is in POSIX
896 mode, their output is as POSIX.2 specifies.
898 ccc. Fixed a bug in `readonly' so that `readonly -a avar=(...)' actually
899 creates an array variable.
901 ddd. Fixed a bug that prevented `time' from correctly timing background
904 2. Changes to Readline
906 a. A bug that caused an extra newline to be printed when the cursor was on
907 an otherwise empty line was fixed.
909 b. An instance of memory being used after it was freed was corrected.
911 c. The redisplay code now works when the prompt is longer than the screen
914 d. `dump-macros' is now a bindable name, as it should have been all along.
916 e. Non-printable characters are now expanded when displaying macros and
919 f. The `dump-variables' and `dump-macros' commands now output a leading
920 newline if they're called as the result of a key sequence, rather
921 than directly by an application.
923 3. New Features in Bash
925 a. There is a new builtin array variable: GROUPS, the set of groups to which
926 the user belongs. This is used by the test suite.
928 4. New Features in Readline
930 a. If a key sequence bound to `universal-argument' is read while reading a
931 numeric argument started with `universal-argument', it terminates the
932 argument but is otherwise ignored. This provides a way to insert multiple
933 instances of a digit string, and is how GNU emacs does it.
935 ------------------------------------------------------------------------------
936 This document details the changes between this version, bash-2.0-release,
937 and the previous version, bash-2.0-beta3.
941 a. Fix to the `getopts' builtin so that it does the right thing when a
942 required option argument is not present.
944 b. The completion code now updates the common prefix of matched names
945 after FIGNORE processing is done, since any names that were removed
946 may have changed the common prefix.
948 c. Fixed a bug that made messages in MAILPATH entries not work correctly.
950 d. Fixed a serious documentation error in the description of the new
951 ${parameter:offset[:length]} expansion.
953 e. Fixes to make parameter substring expansion ({$param:offset[:length]})
954 work when within double quotes.
956 f. Fixes to make ^A (CTLESC) survive an unquoted expansion of positional
959 g. Corrected a misspelling of `unlimited' in the output of `ulimit'.
961 h. Fixed a bug that caused executable scripts without a leading `#!' to
962 occasionally pick up the wrong set of positional parameters.
964 i. Linux systems now have a working `ulimit -v', using RLIMIT_AS.
966 j. Updated config.guess so that many more machine types are recognized.
968 k. Fixed a bug with backslash-quoted slashes in the ${param/pat[/sub]}
971 l. If the shell is named `-su', and `-c command' is supplied, read and
972 execute the login shell startup files even though the shell is not
973 interactive. This is to support the `-' option to `su'.
975 m. Fixed a bug that caused core dumps when the DEBUG trap was ignored
976 with `trap "" DEBUG' and a shell function was subsequently executed.
978 n. Fixed a bug that caused core dumps in the read builtin when IFS was
979 set to the null string and the input had leading whitespace.
981 2. Changes to Readline
983 a. Fixed a bug that caused a numeric argument of 1024 to be ignored when
986 b. Fixed the display code so that the numeric argument is displayed as it's
989 c. Fixed the numeric argument reading code so that `M-- command' is
990 equivalent to `M--1 command', as the prompt implies.
992 3. New Features in Bash
994 a. `ulimit' now sets both hard and soft limits and reports the soft limit
995 by default (when neither -H nor -S is specified). This is compatible
996 with versions of sh and ksh that implement `ulimit'.
998 b. Integer constants have been extended to base 64.
1000 4. New Features in Readline
1002 a. The `home' and `end' keys are now bound to beginning-of-line and
1003 end-of-line, respectively, if the corresponding termcap capabilities
1006 ------------------------------------------------------------------------------
1007 This document details the changes between this version, bash-2.0-beta3,
1008 and the previous version, bash-2.0-beta2.
1012 a. System-specific changes for: AIX 4.2, SCO 3.2v[45], HP-UX.
1014 b. When in POSIX mode, variable assignments preceding a special builtin
1015 persist in the shell environment after the builtin completes.
1017 c. Changed all calls to getwd() to getcwd(). Improved check for systems
1018 where the libc getcwd() calls popen(), since that breaks on some
1019 systems when job control is being used.
1021 d. Fixed a bug that caused seg faults when executing scripts with the
1022 execute bit set but without a leading `#!'.
1024 e. The environment passed to executed commands is never sorted.
1026 f. A bug was fixed in the code that expands ${name[@]} to the number of
1027 elements in an array variable.
1029 g. A bug was fixed in the array compound assignment code ( A=( ... ) ).
1031 h. Window size changes now correctly propagate down to readline if
1032 the shopt `checkwinsize' option is enabled.
1034 i. A fix was made in the code that expands to the length of a variable
1037 j. A fix was made to the command builtin so that it did not turn on the
1038 `no fork' flag inappropriately.
1040 k. A fix was made to make `set -n' work more reliably.
1042 l. A fix was made to the job control initialization code so that the
1043 terminal process group is set to the shell's process group if the
1044 shell changes its own process group.
1046 2. Changes to Readline
1048 a. System-specific changes for: SCO 3.2v[45].
1050 b. The behavior of the vi-mode `.' when redoing an `i' command was changed
1051 to insert the text previously inserted by the `i' command rather than
1052 simply entering insert mode.
1054 3. New features in Bash
1056 a. There is a new version of the autoload function package, in
1057 examples/functions/autoload.v2, that uses arrays and provides more
1060 b. Support for LC_COLLATE and locale-specific sorting of the results of
1061 pathname expansion if strcoll() is available.
1063 4. New Features in Readline
1065 a. Support for locale-specific sorting of completion possibilities if
1066 strcoll() is available.
1068 ------------------------------------------------------------------------------
1069 This document details the changes between this version, bash-2.0-beta2,
1070 and the previous version, bash-2.0-beta1.
1074 a. `pushd -' is once again equivalent to `pushd $OLDPWD'.
1076 b. OS-specific changes for: SCO 3.2v[45].
1078 c. A change was made to the fix for the recently-reported security hole
1079 when reading characters with octal value 255 to make it work better on
1080 systems with restartable system calls when not using readline.
1082 d. Some changes were made to the test suite so that it works if you
1083 configure bash with --enable-usg-echo-default.
1085 e. A fix was made to the parsing of conditional arithmetic expressions.
1087 f. Illegal arithmetic bases now cause an arithmetic evaluation error rather
1088 than being silently reset.
1090 g. Multiple arithmetic bases now cause an arithmetic evaluation error
1091 instead of being ignored.
1093 h. A fix was made to the evaluation of ${param?word} to conform to POSIX.2.
1095 i. A bug that sometimes caused array indices to be evaluated twice (which
1096 would cause errors when they contained assignment statements) was fixed.
1098 j. `ulimit' was rewritten to avoid problems with getrlimit(2) returning
1099 unsigned values and to simplify the code.
1101 k. A bug in the command-oriented-history code that caused it to sometimes
1102 put semicolons after right parens inappropriately was fixed.
1104 l. The values inserted into the prompt by the \w and \W escape sequences
1105 are now quoted to prevent further expansion.
1107 m. An interactive shell invoked as `sh' now reads and executes commands
1108 from the file named by $ENV when it starts up. If it's a login shell,
1109 it does this after reading /etc/profile and ~/.profile.
1111 n. The file named by $ENV is never read by non-interactive shells.
1113 2. Changes to Readline
1115 a. A few changes were made to hide some macros and functions that should not
1118 b. An off-by-one error that caused seg faults in the history expansion code
1121 3. New Features in Bash
1123 a. The ksh-style ((...)) arithmetic command was implemented. It is exactly
1124 identical to let "...". This is controlled by a new option to configure,
1125 `--enable-dparen-arithmetic', which is on by default.
1127 b. There is a new #define available in config.h.top: SYS_BASH_LOGOUT. If
1128 defined to a filename, bash reads and executes commands from that file
1129 when a login shell exits. It's commented out by default.
1131 c. `ulimit' has a `-l' option that reports the maximum amount of data that
1132 may be locked into memory on 4.4BSD-based systems.
1134 ------------------------------------------------------------------------------
1135 This document details the changes between this version, bash-2.0-beta1,
1136 and the previous version, bash-2.0-alpha4.
1140 a. A bug that sometimes caused traps to be ignored on signals the
1141 shell treats specially was fixed.
1143 b. The internationalization code was changed to track the values of
1144 LC_* variables and call setlocale() as appropriate. The TEXTDOMAIN
1145 and TEXTDOMAINDIR variables are also tracked; changes cause calls
1146 to textdomain() and bindtextdomain(), if available.
1148 c. A bug was fixed that sometimes caused double-quoted strings to be
1151 d. Changes were made so that the siglist code compiles correctly on
1154 e. Added `:' to the set of characters that cause word breaks for the
1155 completion code so that pathnames in assignments to $PATH can be
1158 f. The `select' command was fixed to print $PS3 to stderr.
1160 g. Fixed an error in the manual page section describing the effect that
1161 setting and unsetting GLOBIGNORE has on the setting of the `dotglob'
1164 h. The time conversion code now uses CLK_TCK rather than CLOCKS_PER_SEC
1165 on systems without gettimeofday() and resources.
1167 i. The getopt static variables are now initialized each time a subshell
1168 is started, so subshells using `getopts' work right.
1170 j. A sign-extension bug that caused a possible security hole was fixed.
1172 k. The parser now reads characters between backquotes within a double-
1173 quoted string as a single word, so double quotes in the backquoted
1174 string don't terminate the enclosing double-quoted string.
1176 l. A bug that caused `^O' to work incorrectly when typed as the first
1177 thing to an interactive shell was fixed.
1179 m. A rarely-exercised off-by-one error in the code that quotes variable
1182 n. Some memory and file descriptor leaks encountered when running a
1183 shell script that is executable but does not have a leading `#!'
1186 2. Changes to Readline
1188 a. A bug that sometimes caused incorrect results when trying to read
1189 typeahead on systems without FIONREAD was fixed.
1191 3. New Features in Bash
1193 a. The command timing code now uses the value of the TIMEFORMAT variable
1194 to format and display timing statistics.
1196 b. The `time' reserved word now accepts a `-p' option to force the
1197 POSIX.2 output format.
1199 c. There are a couple of new and updated scripts to convert csh startup
1200 files to bash format.
1202 d. There is a new builtin array variable: BASH_VERSINFO. The various
1203 members hold the parts of the version information in BASH_VERSION,
1204 plus the value of MACHTYPE.
1206 4. New Features in Readline
1208 a. Setting LANG to `en_US.ISO8859-1' now causes readline to enter
1211 ------------------------------------------------------------------------------
1212 This document details the changes between this version, bash-2.0-alpha4,
1213 and the previous version, bash-2.0-alpha3.
1217 a. There is better detection of rsh connections on Solaris 2.
1219 b. Assignments to read-only variables preceding a command name are now
1220 variable assignment errors. Variable assignment errors cause
1221 non-interactive shells running in posix mode to exit.
1223 c. The word tokenizer was rewritten to handle nested quotes and pairs
1224 ('', "", ``, ${...}, $(...), $[...], $'...', $"...", <(...), >(...))
1225 correctly. Some of the parameter expansion code was updated as a
1228 d. A fix was made to `test' when given three arguments so that a binary
1229 operator is checked for first, before checking that the first argument
1232 e. 2''>/dev/null is no longer equivalent to 2>/dev/null.
1234 f. Parser error messages were regularized, and in most cases the name of
1235 the shell script being read by a non-interactive shell is not printed
1238 g. A fix was made to the completion code so that it no longer removes the
1239 text the user typed in some cases.
1241 h. The special glibc `getopt' environment variable is no longer put into
1242 the environment on machines with small values of ARG_MAX.
1244 i. The expansion of ${...} now follows the POSIX.2 rules for finding the
1247 j. The shell no longer displays spurious status messages for background
1248 jobs in shell scripts that complete successfully when the script is
1249 run from a terminal.
1251 k. `shopt -o' now correctly updates $SHELLOPTS.
1253 l. A bug that caused the $PATH searching code to return a non-executable
1254 file even when an executable file with the same name appeared later in
1257 m. The shell now does tilde expansions on unquoted `:~' in assignment
1258 statements when not in posix mode.
1260 n. Variable assignment errors when a command consists only of assignments
1261 now cause non-interactive shells to exit when in posix mode.
1263 o. If the variable in a `for' or `select' command is read-only, or not a
1264 legal shell identifier, a variable assignment error occurs.
1266 p. `test' now handles `-a' and `-o' as binary operators when three arguments
1267 are supplied, and correctly parses `( word )' as equivalent to `word'.
1269 q. `test' was fixed so that file names of the form /dev/fd/NN mean the same
1270 thing on all systems, even Linux.
1272 r. Fixed a bug in the globbing code that caused patterns with multiple
1273 consecutive `*'s to not be matched correctly.
1275 s. Fixed a bug that caused $PS2 to not be printed when an interactive shell
1276 not using readline is reading a here document.
1278 t. Fixed a bug that caused history expansion to be performed inappropriately
1279 when a single-quoted string spanned more than one line.
1281 u. `getopts' now checks that the variable name passed by the user as the
1282 second argument is a legal shell identifier and that the variable is
1285 v. Fixed `getopts' to obey POSIX.2 rules for setting $OPTIND when it
1286 encounters an error.
1288 w. Fixed `set' to display variable values in a form that can be re-read.
1290 x. Fixed a bug in the code that keeps track of whether or not local variables
1291 have been declared at the current level of function nesting.
1293 y. Non-interactive shells in posix mode now exit if the name in a function
1294 declaration is not a legal identifier.
1296 z. The job control code now ignores stopped children when the shell is not
1299 aa. The `cd' builtin no longer attempts spelling correction on the directory
1300 name if the shell is not interactive, regardless of the setting of the
1303 bb. Some OS-specific changes were made for SCO 3.2v[45] and AIX 4.2.
1305 cc. `time' now prints its output to stderr, as POSIX.2 specifies.
1307 2. Fixes to Readline
1309 a. After printing possible completions, all lines of a multi-line prompt
1312 b. Some changes were made to the terminal handling code in rltty.c to
1313 work around AIX 4.2 bugs.
1315 3. New Features in Bash
1317 a. There is a new loadable builtin: sprintf, with calling syntax
1318 sprintf var format [args]
1319 This provides an easy way to simulate ksh left- and right-justified
1322 b. The expansions of \h and \H in prompt strings were swapped. \h now
1323 expands to the hostname up to the first `.', as in bash-1.14.
1325 4. New Features in Readline
1327 a. The bash-1.14 behavior when ^M is typed while doing an incremental
1328 search was restored. ^J may now be used to terminate the search without
1331 b. There is a new bindable variable: disable-completion. This inhibits
1332 word completion and causes the completion character to be inserted as
1333 if it had been bound to self-insert.
1335 ------------------------------------------------------------------------------
1336 This document details the changes between this version, bash-2.0-alpha3,
1337 and the previous version, bash-2.0-alpha2.
1339 There is now a file `COMPAT' included in the distribution that lists the
1340 user-visible incompatibilities between 1.14 and 2.0.
1344 a. Some work was done so that word splitting of the rhs of assignment
1345 statements conforms more closely to historical practice.
1347 b. A couple of errant memory frees were fixed.
1349 c. A fix was made to the test builtin so it recognizes `<' and `>' as
1352 d. The GNU malloc in lib/malloc/malloc.c now scrambles memory as it's
1353 allocated and freed. This is to catch callers that refer to freed
1354 memory or assume something about newly-allocated memory.
1356 e. Fixed a problem with conversion to 12-hour time in the prompt
1359 f. Fixed a problem with configure's argument parsing order. Now you can
1360 correctly turn on specific options after using --enable-minimal-config.
1362 g. The configure script now automatically disables the use of GNU malloc
1363 on systems where it's appropriate (better than having people read the
1364 NOTES file and do it manually).
1366 h. There are new prompt expansions (\v and \V) to insert version information
1367 into the prompt strings.
1369 i. The default prompt string now includes the version number.
1371 j. Most of the builtins that take no options were changed to use the
1372 internal getopt so they can produce proper error messages for -?
1373 and incorrect options.
1375 k. Some system-specific changes were made for SVR4.2 and Solaris 2.5.
1377 l. Bash now uses PATH_MAX instead of MAXPATHLEN and NAME_MAX instead of
1380 m. A couple of problems caused by uninitialized variables were fixed.
1382 n. There are a number of new loadable builtin examples: logname, basename,
1383 dirname, tty, pathchk, tee, head, and rmdir. All of these conform to
1386 o. Bash now notices changes in TZ and calls tzset() if present, so
1387 changing TZ will alter the time printed by prompt expansions.
1389 p. The source was reorganized a bit so I don't have to wait so long for
1390 some files to compile, and to facilitate the creation of a `shell
1391 library' at some future point.
1393 q. Bash no longer turns off job control if called as `sh', since the
1394 POSIX.2 spec includes job control as a standard feature.
1396 r. `bash -o posix' now works as intended.
1398 s. Fixed a problem with the completion code: when completing a filename
1399 that contained globbing characters, if show-all-if-ambiguous was set,
1400 the completion code would remove the user's text.
1402 t. Fixed ulimit so that (hopefully) the full range of limits is available
1405 u. A new `shopt' option (`hostcomplete') enables and disables hostname
1408 v. The shell no longer attempts to save the history on an abort(),
1409 which is usually called by programming_error().
1411 w. The `-s' option to `fc' was changed to echo the command to be executed
1412 to stderr instead of stdout.
1414 x. If the editor invoked by `fc -e' exits with a non-zero status, no
1415 commands are executed.
1417 y. Fixed a bug that made the shopt `histverify' option work incorrectly.
1419 z. There is a new variable `MACHTYPE' whose value is the GNU-style
1420 `cpu-company-system' system description as set by configure. (The
1421 values of MACHTYPE and HOSTTYPE should really be swapped.)
1423 aa. The `ulimit' builtin now allows the maximum virtual memory size to be
1424 set via setrlimit(2) if RLIMIT_VMEM is defined.
1426 bb. `bash -nc 'command'' no longer runs `command'.
1428 2. Changes to Readline
1430 a. Fixed a typo in the code that checked for FIONREAD in input.c.
1432 b. Fixed a bug in the code that outputs keybindings, so things like C-\
1433 are quoted properly.
1435 c. Fixed a bug in the inputrc file parsing code to handle the problems
1436 caused by inputrc files created from the output of `bind -p' in
1437 previous versions of bash. The problem was due to the bug fixed
1440 d. Readline no longer turns off the terminal's meta key, and turns it on
1441 once the first time it's called.
1443 ------------------------------------------------------------------------------
1444 This file documents the changes between this version, bash-2.0-alpha2,
1445 and the previous version, bash-2.0-alpha.
1449 a. The shell no longer thinks directories are executable.
1451 b. `disown' has a new option, `h', which inhibits the resending of SIGHUP
1452 but does not remove the job from the jobs table.
1454 c. The varargs functions in error.c now use ANSI-C `stdarg' if available.
1456 d. The build process now treats the `build version' in .build as local to
1457 the build directory, so different versions built from the same source
1458 tree have different `build versions'.
1460 e. Some problems with the grammar have been fixed. (It used `list' in a few
1461 productions where `compound_list' was needed. A `list' must be terminated
1462 with a newline or semicolon; a `compound_list' need not be.)
1464 f. A fix was made to keep `wait' from hanging when waiting for all background
1467 g. `bash --help' now writes its output to stdout, like the GNU Coding Standards
1468 specify, and includes the machine type (the value of MACHTYPE).
1470 h. `bash --version' now prints more information and exits successfully, like
1471 the GNU Coding Standards specify.
1473 i. The output of `time' and `times' now prints fractional seconds with three
1474 places after the decimal point.
1476 j. A bug that caused process substitutions to screw up the pipeline printed
1477 by `jobs' was fixed.
1479 k. Fixes were made to the code that implements $'...' and $"..." so they
1482 l. The process substitution code now opens named pipes for reading with
1483 O_NONBLOCK to avoid hanging.
1485 m. Fixes were made to the trap code so the shell cleans up correctly if the
1486 trap command contains a `return' and we're executing a function or
1487 sourcing a script with `.'.
1489 n. Fixes to doc/Makefile.in so that it doesn't try to remake all of the
1490 documentation (ps, dvi, etc.) on a `make install'.
1492 o. Fixed an auto-increment error that caused bash -c args to sometimes dump
1495 p. Fixed a bug that caused $HISTIGNORE to fail when the history line
1496 contained globbing characters.
1498 2. Changes to Readline
1500 a. There is a new string variable, rl_library_version, available for use by
1501 applications. The current value is "2.1".
1503 b. A bug encountered when expand-tilde was enabled and file completion was
1504 attempted on a word beginning with `~/' was fixed.
1506 c. A slight change was made to the incremental search termination behavior.
1507 ESC still terminates the search, but if input is pending or arrives
1508 within 0.1 seconds (on systems with select(2)), it is used as a prefix
1509 character. This is intented to allow users to terminate searches with
1510 the arrow keys and get the behavior they expect.