GNU Bash 4.1 as released on ftp.gnu.org.
authorChet Ramey <chet.ramey@case.edu>
Sat, 2 Jan 2010 17:41:26 +0000 (12:41 -0500)
committerBradley M. Kuhn <bkuhn@ebb.org>
Sat, 2 Jan 2010 17:41:26 +0000 (12:41 -0500)
commita176d1cab936b6faa4f69234d32c16aacb3b4ee8
tree96e81eaaeecff8e594a597352ec53d47eddd2e28
parent3ce4a79211bef3fbea4f6b812665b1ab6dc2ead0
GNU Bash 4.1 as released on ftp.gnu.org.

The contents of this commit were downloaded from
ftp://ftp.gnu.org/pub/gnu/bash/bash-4.1.tar.gz on 2011-05-29, and the
signature available at ftp://ftp.gnu.org/pub/gnu/bash/bash-4.1.tar.gz.sig
was verified as follows:
gpg: Signature made Thu Dec 31 21:43:17 2009 EST using DSA key ID 64EA74AB
gpg: Good signature from "Chet Ramey <chet@cwru.edu>"

Below is Chet's announcement of Bash 4.1, as posted to <bug-bash@gnu.org>.

From chet@caleb.INS.CWRU.Edu Sat Jan  2 12:45:17 2010
Date: Sat, 2 Jan 2010 12:41:26 -0500
From: Chet Ramey <chet.ramey@case.edu>
Sender: Chet Ramey <chet@caleb.INS.CWRU.Edu>
To: bug-bash@gnu.org
Message-ID: <100102174126.AA98036.SM@caleb.INS.CWRU.Edu>
Cc: comp-unix-shell@moderators.isc.org, gnu-announce@gnu.org, chet.ramey@case.edu
Subject: Bash-4.1 available for FTP

Introduction
============

The first public release of bash-4.1 is now available with the URLs

ftp://ftp.cwru.edu/pub/bash/bash-4.1.tar.gz
ftp://ftp.gnu.org/pub/gnu/bash/bash-4.1.tar.gz

and from the usual GNU mirror sites.

Unlike previous bash distributions, this tar file includes the formatted
documentation (postscript, dvi, html, and nroffed versions of the manual
pages).

Diffs from bash-4.0 are not available.

Please use `bashbug' to report bugs with this version.  It is built
and installed at the same time as bash.

Installation
============

Please read the README file first.

Installation instructions are provided in the INSTALL file.

New Features
============

This is the first revision to the fourth major release of bash.

This release fixes several outstanding bugs in bash-4.0 and introduces a
number of new features -- a larger number than usual for a minor version
release.

The most notable new features are a dynamic programmable completion
definition framework, a "default" programmable completion option, a
way to pass shell options to subshells, a mechansim to have redirections
allocate and assign a file descriptor to a shell variable, and a way
to direct xtrace output to an arbitrary file descriptor.

Read the file NEWS in the bash-4.1 distribution for a complete
description of the new features.  A copy of the relevant portions
is included below.

Changes have been made to the Readline library being released at
the same time as bash-4.1, readline-6.1, so that Bash can be
linked against an already-installed Readline library rather than
the private version in lib/readline.  Only readline-6.0 and later
versions are able to provide all of the symbols that bash-4.1
requires; earlier versions of the Readline library will not work
correctly.

A complete list of changes between bash-4.0 and bash-4.1 is
available in the file CHANGES; the complete list is too large to
include in this message.

Readline
========

Also available is a new release of the standalone Readline library,
version 6.1, with its own configuration scripts and Makefiles.
It can be retrieved with the URLs

ftp://ftp.cwru.edu/pub/bash/readline-6.1.tar.gz
ftp://ftp.gnu.org/pub/gnu/readline/readline-6.1.tar.gz

and from the usual GNU mirror sites.

Diffs from readline-6.0 are not available.

The formatted Readline documentation is included in the readline
distribution tar file.

A separate announcement listing the changes in Readline is being
distributed.

As always, thanks for your help.

Chet

+========== NEWS ==========+
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

a.  Here-documents within $(...) command substitutions may once more be
    delimited by the closing right paren, instead of requiring a newline.

b.  Bash's file status checks (executable, readable, etc.) now take file
    system ACLs into account on file systems that support them.

c.  Bash now passes environment variables with names that are not valid
    shell variable names through into the environment passed to child
    processes.

d.  The `execute-unix-command' readline function now attempts to clear and
    reuse the current line rather than move to a new one after the command
    executes.

e.  `printf -v' can now assign values to array indices.

f.  New `complete -E' and `compopt -E' options that work on the "empty"
    completion: completion attempted on an empty command line.

g.  New complete/compgen/compopt -D option to define a `default' completion:
    a completion to be invoked on command for which no completion has been
    defined.  If this function returns 124, programmable completion is
    attempted again, allowing a user to dynamically build a set of completions
    as completion is attempted by having the default completion function
    install individual completion functions each time it is invoked.

h.  When displaying associative arrays, subscripts are now quoted.

i.  Changes to dabbrev-expand to make it more `emacs-like': no space appended
    after matches, completions are not sorted, and most recent history entries
    are presented first.

j.  The [[ and (( commands are now subject to the setting of `set -e' and the
    ERR trap.

k.  The source/. builtin now removes NUL bytes from the file before attempting
    to parse commands.

l.  There is a new configuration option (in config-top.h) that forces bash to
    forward all history entries to syslog.

m.  A new variable $BASHOPTS to export shell options settable using `shopt' to
    child processes.

n.  There is a new confgure option that forces the extglob option to be
    enabled by default.

o.  New variable $BASH_XTRACEFD; when set to an integer bash will write xtrace
    output to that file descriptor.

p.  If the optional left-hand-side of a redirection is of the form {var}, the
    shell assigns the file descriptor used to $var or uses $var as the file
    descriptor to move or close, depending on the redirection operator.

q.  The < and > operators to the [[ conditional command now do string
    comparison according to the current locale if the compatibility level
    is greater than 40.

r.  Programmable completion now uses the completion for `b' instead of `a'
    when completion is attempted on a line like: a $(b c.

s.  Force extglob on temporarily when parsing the pattern argument to
    the == and != operators to the [[ command, for compatibility.

t.  Changed the behavior of interrupting the wait builtin when a SIGCHLD is
    received and a trap on SIGCHLD is set to be Posix-mode only.

u.  The read builtin has a new `-N nchars' option, which reads exactly NCHARS
    characters, ignoring delimiters like newline.

v.  The mapfile/readarray builtin no longer stores the commands it invokes via
    callbacks in the history list.

w.  There is a new `compat40' shopt option.

2.  New Features in Readline

a.  New bindable function: menu-complete-backward.

b.  In the vi insertion keymap, C-n is now bound to menu-complete by default,
    and C-p to menu-complete-backward.

c.  When in vi command mode, repeatedly hitting ESC now does nothing, even
    when ESC introduces a bound key sequence.  This is closer to how
    historical vi behaves.

d.  New bindable function: skip-csi-sequence.  Can be used as a default to
    consume key sequences generated by keys like Home and End without having
    to bind all keys.

e.  New application-settable function: rl_filename_rewrite_hook.  Can be used
    to rewite or modify filenames read from the file system before they are
    compared to the word to be completed.

f.  New bindable variable: skip-completed-text, active when completing in the
    middle of a word.  If enabled, it means that characters in the completion
    that match characters in the remainder of the word are "skipped" rather
    than inserted into the line.

g.  The pre-readline-6.0 version of menu completion is available as
    "old-menu-complete" for users who do not like the readline-6.0 version.

h.  New bindable variable: echo-control-characters.  If enabled, and the
    tty ECHOCTL bit is set, controls the echoing of characters corresponding
    to keyboard-generated signals.

i.  New bindable variable: enable-meta-key.  Controls whether or not readline
    sends the smm/rmm sequences if the terminal indicates it has a meta key
    that enables eight-bit characters.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/
301 files changed:
AUTHORS
CHANGES
COMPAT
CWRU/audit-patch [deleted file]
CWRU/changelog
ChangeLog [new symlink]
INSTALL
MANIFEST
Makefile.in
NEWS
NOTES
POSIX
README
aclocal.m4
alias.c
array.c
array.h
arrayfunc.c
arrayfunc.h
assoc.c
bashhist.c
bashline.c
bashtypes.h
braces.c
builtins/Makefile.in
builtins/bind.def
builtins/command.def
builtins/common.c
builtins/common.h
builtins/complete.def
builtins/declare.def
builtins/evalfile.c
builtins/evalstring.c
builtins/help.def
builtins/kill.def
builtins/mapfile.def
builtins/printf.def
builtins/read.def
builtins/shopt.def
command.h
config-bot.h
config-top.h
config.h.in
configure
configure.in
copy_cmd.c
dispose_cmd.c
doc/._fdl.texi [new file with mode: 0644]
doc/._fdl.txt [new file with mode: 0644]
doc/FAQ
doc/Makefile.in
doc/bash.0
doc/bash.1
doc/bash.html
doc/bash.pdf
doc/bash.ps
doc/bashref.dvi
doc/bashref.html
doc/bashref.info
doc/bashref.pdf
doc/bashref.ps
doc/bashref.texi
doc/builtins.0
doc/builtins.ps
doc/fdl.texi
doc/fdl.txt
doc/rbash.ps
doc/texinfo.tex
doc/version.texi
error.c
examples/functions/autoload.v3
examples/loadables/finfo.c
examples/loadables/printenv.c
examples/misc/aliasconv.bash
examples/misc/aliasconv.sh
examples/misc/cshtobash
examples/scripts/cat.sh
execute_cmd.c
expr.c
externs.h
findcmd.c
general.c
general.h
hashlib.c
include/posixselect.h [new file with mode: 0644]
jobs.c
lib/glob/glob.c
lib/readline/bind.c
lib/readline/complete.c
lib/readline/display.c
lib/readline/doc/._fdl.texi [new file with mode: 0644]
lib/readline/doc/fdl.texi
lib/readline/doc/history.texi
lib/readline/doc/rlman.texi
lib/readline/doc/rltech.texi
lib/readline/doc/rluser.texi
lib/readline/doc/rluserman.texi
lib/readline/doc/version.texi
lib/readline/funmap.c
lib/readline/histexpand.c
lib/readline/input.c
lib/readline/keymaps.c
lib/readline/mbutil.c
lib/readline/parens.c
lib/readline/posixselect.h [new file with mode: 0644]
lib/readline/readline.c
lib/readline/readline.h
lib/readline/rlprivate.h
lib/readline/rltty.c
lib/readline/signals.c
lib/readline/terminal.c
lib/readline/text.c
lib/readline/undo.c
lib/readline/util.c
lib/readline/vi_keymap.c
lib/readline/vi_mode.c
lib/sh/Makefile.in
lib/sh/casemod.c
lib/sh/fnxform.c [new file with mode: 0644]
lib/sh/fpurge.c
lib/sh/getcwd.c
lib/sh/input_avail.c
lib/sh/mbscasecmp.c [new file with mode: 0644]
lib/sh/mbschr.c [new file with mode: 0644]
lib/sh/mbscmp.c
lib/sh/snprintf.c
lib/sh/strcasestr.c [new file with mode: 0644]
lib/sh/strindex.c [deleted file]
lib/sh/strtoimax.c
lib/sh/strtoumax.c
lib/sh/uconvert.c
lib/sh/xstrchr.c [deleted file]
mailcheck.c
make_cmd.c
make_cmd.h
parse.y
parser-built
parser.h
patchlevel.h
pathexp.c
pcomplete.c
pcomplete.h
po/._lt.po [deleted file]
po/LINGUAS
po/POTFILES.in
po/af.gmo
po/af.po
po/bash.pot
po/bg.gmo
po/bg.po
po/ca.gmo
po/ca.po
po/cs.gmo
po/cs.po
po/de.gmo
po/de.po
po/en@boldquot.gmo
po/en@boldquot.po
po/en@quot.gmo
po/en@quot.po
po/eo.gmo
po/eo.po
po/es.gmo
po/es.po
po/et.gmo
po/et.po
po/fi.gmo [new file with mode: 0644]
po/fi.po [new file with mode: 0644]
po/fr.gmo
po/fr.po
po/ga.gmo [new file with mode: 0644]
po/ga.po [new file with mode: 0644]
po/hu.gmo
po/hu.po
po/id.gmo
po/id.po
po/ja.gmo
po/ja.po
po/lt.gmo
po/lt.po
po/nl.gmo
po/nl.po
po/pl.gmo
po/pl.po
po/pt_BR.gmo
po/pt_BR.po
po/ro.gmo
po/ro.po
po/ru.gmo
po/ru.po
po/sk.gmo
po/sk.po
po/sv.gmo
po/sv.po
po/tr.gmo
po/tr.po
po/vi.gmo
po/vi.po
po/zh_TW.gmo
po/zh_TW.po
print_cmd.c
redir.c
shell.c
shell.h
sig.c
siglist.c
stringlib.c
subst.c
subst.h
support/SYMLINKS
support/bashbug.sh
support/config.sub
support/mksignames.c
support/shobj-conf
test.c
test.h
tests/alias.right
tests/alias.tests
tests/alias1.sub [new file with mode: 0644]
tests/array.right
tests/array.tests
tests/assoc.right
tests/assoc.tests
tests/assoc5.sub [new file with mode: 0644]
tests/assoc6.sub [new file with mode: 0644]
tests/braces.right
tests/braces.tests
tests/case.right
tests/case.tests
tests/comsub-eof.right
tests/comsub-eof.tests
tests/comsub-eof4.sub [new file with mode: 0644]
tests/comsub-eof5.sub [new file with mode: 0644]
tests/comsub-posix.tests
tests/comsub.right
tests/comsub.tests
tests/comsub1.sub [new file with mode: 0644]
tests/dbg-support.right
tests/dbg-support.tests
tests/dbg-support3.sub [new file with mode: 0644]
tests/dollar-at-star
tests/dollar-at3.sub [new file with mode: 0644]
tests/dollar-star4.sub [new file with mode: 0644]
tests/dollar-star5.sub [new file with mode: 0644]
tests/dollar.right
tests/exec.right
tests/execscript
tests/exp.right
tests/exp.tests
tests/exp3.sub [new file with mode: 0644]
tests/extglob.tests
tests/func.right
tests/func2.sub
tests/glob-test [deleted file]
tests/glob.right
tests/glob.tests [new file with mode: 0644]
tests/globstar.right [new file with mode: 0644]
tests/globstar.tests [new file with mode: 0644]
tests/globstar1.sub [new file with mode: 0644]
tests/heredoc.right
tests/heredoc.tests
tests/history.right
tests/history.tests
tests/history2.sub [new file with mode: 0644]
tests/jobs.right
tests/jobs.tests
tests/new-exp.right
tests/new-exp.tests
tests/nquote.right
tests/nquote.tests
tests/nquote1.sub [new file with mode: 0644]
tests/printf.tests
tests/printf2.sub [new file with mode: 0644]
tests/redir8.sub
tests/run-glob-test
tests/run-globstar [new file with mode: 0644]
tests/run-trap
tests/run-vredir [new file with mode: 0644]
tests/set-x.right
tests/set-x.tests
tests/set-x1.sub [new file with mode: 0644]
tests/shopt.right
tests/trap.right
tests/trap.tests
tests/trap3.sub [new file with mode: 0644]
tests/type.right
tests/type.tests
tests/type2.sub [new file with mode: 0644]
tests/vredir.right [new file with mode: 0644]
tests/vredir.tests [new file with mode: 0644]
tests/vredir1.sub [new file with mode: 0644]
tests/vredir2.sub [new file with mode: 0644]
tests/vredir3.sub [new file with mode: 0644]
tests/vredir4.sub [new file with mode: 0644]
tests/vredir5.sub [new file with mode: 0644]
trap.c
variables.c
variables.h
xmalloc.c
y.tab.c
y.tab.h