Bash 3.0 has been released and is now available on various mirrors as well as the master ftp site, of course. A few of the changes and improvements include as described in the announcement:
* Features to support the bash debugger have been implemented, and there
is a new `extdebug' option to turn the non-default options on.
* HISTCONTROL is now a colon-separated list of options and has been
extended with a new `erasedups' option that will result in only one
copy of a command being kept in the history list.
* Brace expansion has been extended with a new {x..y} form, producing
sequences of digits or characters.
* Timestamps are now kept with history entries, with an option to save
and restore them from the history file; there is a new HISTTIMEFORMAT
variable describing how to display the timestamps when listing history
entries.
* The `[[' command can now perform extended regular expression (egrep-like)
matching, with matched subexpressions placed in the BASH_REMATCH array
variable.
* A new `pipefail' option causes a pipeline to return a failure status if
any command in it fails.
* The `jobs', `kill', and `wait' builtins now accept job control notation
in their arguments even if job control is not enabled.
As well as a host of other changes, additions and improvements.
Post ID: 457, posted by jase at 09:11 PMThanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved before your comment will appear.)