Kopie van NEWS.gz van Bash 4.1, alleen over de Compound Commands voor tests

De tekst hieronder is afkomstig uit de meegeleverde documentatie bij de GNU Bash shell. Op de meeste systemen is de locatie: /usr/share/doc/bash/NEWS.gz

De enige tekst die ik heb laten staan is: De tekst die laat zien in welke versie de Compound Commands (( en [[ voor het eerst zaten.

Toegevoegd: De jaartallen wanneer welke versie uitkwam. [FIXME]

This is a terse description of the new features added to bash-4.1 since the release of bash-4.0. As always, the manual page (doc/bash.1) is the place to look for complete descriptions.

1. New Features in Bash j. The [[ and (( commands are now subject to the setting of `set -e' and the    ERR trap. q.  The operators to the [[ conditional command now do string    comparison according to the current locale if the compatibility level    is greater than 40. s.  Force extglob on temporarily when parsing the pattern argument to    the == and != operators to the [[ command, for compatibility.

--- This is a terse description of the new features added to bash-4.0 since the release of bash-3.2. As always, the manual page (doc/bash.1) is the place to look for complete descriptions.

--- This is a terse description of the new features added to bash-3.2 since the release of bash-3.1. As always, the manual page (doc/bash.1) is the place to look for complete descriptions.

1. New Features in Bash f. Quoting the string argument to the [[ command's  =~ operator now forces    string matching, as with the other pattern-matching operators.

--- This is a terse description of the new features added to bash-3.1 since the release of bash-3.0. As always, the manual page (doc/bash.1) is the place to look for complete descriptions.

1. New Features in Bash p. New shell option: nocasematch. If non-zero, shell pattern matching ignores case when used by `case' and `[[' commands.

--- This is a terse description of the new features added to bash-3.0 since the release of bash-2.05b. As always, the manual page (doc/bash.1) is the place to look for complete descriptions.

1. New Features in Bash v. New ksh93-like ${!array[@]} expansion, expands to all the keys (indices) of array. cc. The ...  command has a new binary `=~' operator that performs extended regular expression (egrep-like) matching. dd. `configure' has a new `--enable-cond-regexp' option (enabled by default) to enable the =~ operator and regexp matching in ....

--- This is a terse description of the new features added to bash-2.05b since the release of bash-2.05a. As always, the manual page (doc/bash.1) is the place to look for complete descriptions.

1. New Features in Bash d. `select' was changed to be more ksh-compatible, in that the menu is    reprinted each time through the loop only if REPLY is set to NULL. The previous behavior is available as a compile-time option. g. Added support for ksh93-like [:word:] character class in pattern matching. w. The DEBUG trap is now run *before* simple commands, ((...)) commands, ... conditional commands, and for ((...)) loops. z. New [n]<&word- and [n]>&word- redirections from ksh93 -- move fds (dup    and close).

--- This is a terse description of the new features added to bash-2.05a since the release of bash-2.05. As always, the manual page (doc/bash.1) is the place to look for complete descriptions.

1. New Features in Bash l. The ksh-like `ERR' trap has been added. The `ERR' trap will be run whenever the shell would have exited if the -e option were enabled. It is not inherited by shell functions.

--- This is a terse description of the new features added to bash-2.05 since the release of bash-2.04. As always, the manual page (doc/bash.1) is the place to look for complete descriptions.

VANAF bash-2.04 WERKT ALLES WAT IK MENSEN VAN Nivea C Bash scripts schrijven AANRAADT De Compound Commands `((expresion))' en ` expresion ' Arithmetic Expansion `$((expresion))' En het Compound Command `for (( expr1 ; expr2 ; expr2 ))` DIE DRIE DINGEN MOETEN GOED WERKEN --- This is a terse description of the new features added to bash-2.04 since the release of bash-2.03. As always, the manual page (doc/bash.1) is the place to look for complete descriptions.

1. New Features in Bash g. There is a new ksh-93 style arithmetic for command: for ((expr1 ; expr2; expr3 )); do list; done k. The ksh-93 ${!prefix*} expansion, which expands to the names of all shell variables with prefix PREFIX, has been implemented.

--- This is a terse description of the new features added to bash-2.03 since the release of bash-2.02. As always, the manual page (doc/bash.1) is the place to look for complete descriptions.

--- This is a terse description of the new features added to bash-2.02 since the release of bash-2.01.1. As always, the manual page (doc/bash.1) is the place to look for complete descriptions. 1. New Features in Bash d. ksh-88 egrep-style extended pattern matching ([@+*?!](patlist)) has been implemented, controlled by a new `shopt' option, `extglob'. e. There is a new ksh-like `[[' compound command, which implements       extended `test' functionality. k.  There is a new configuration option, `--enable-cond-command', which    controls whether or not the `[[' command is included.  It is on by    default. l.  There is a new configuration option, `--enable-extended-glob', which    controls whether or not the ksh extended globbing feature is included.    It is enabled by default.

--- This is a terse description of the new features added to bash-2.01 since the release of bash-2.0. As always, the manual page (doc/bash.1) is the place to look for complete descriptions.

1. New Features in Bash 2. New Features in Readline

--- This is a terse description of the new features added to bash-2.0 since the release of bash-1.14.7. As always, the manual page (doc/bash.1) is the place to look for complete descriptions.

1. New Features in Bash t. The $[...] arithmetic expansion syntax is no longer supported, in    favor of $((...)). kkk. The ksh-like ((...)) arithmetic command syntax has been implemented. This is exactly equivalent to `let "..."'. 2. New Features in Readline 3. Changes of interest in the Bash implementation 4. Changes of interest in the Readline implementation

--- Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.

N.B. This file has been modified. See top of file for explanation.