This bug was fixed in the package bash - 3.2-2ubuntu1 --------------- bash (3.2-2ubuntu1) intrepid; urgency=low * Merge with Debian; remaining changes: - Build from the upstream sources, build the documentation in info format. bash (3.2-2) unstable; urgency=low * Add a shopt option compat31 to fall back to the behaviour of bash-3.1 and earlier versions, in that quoting the string argument to the [[ command's =~ +operator does not force string matching. * Merge from Ubuntu: - Remove /etc/skel/.bash_profile, if it is unmodified; if modified and /etc/skel/.profile is unmodifed, move .bash_profile to .profile. - /etc/skel/.bashrc: Add an option to blurt a terminal window with a colored prompt. - /etc/skel/.bashrc: Add color support for grep and friends (commented out by default). Closes: #420659. - /etc/skel/.profile: Avoid the use of `~'. - Don't run command-not-found from the shell scripts when it has been removed in the meantime. * /etc/skel/.bashrc: - Comment out the lesspipe settings. Closes: #470453. - Don't use PROMPT_COMMAND to set the title of an xterm. Closes: #420656. - Don't second-guess terminal handling in dircolors. Closes: #473870. - Don't overwrite GNU Midnight Commander's setting of HISTCONTROL to `ignorespace'. Closes: #440102. - Add a comment about setting HISTSIZE and HISTFILESIZE. Closes: #449587. - Append to the history file, don't overwrite it. Closes: #452459. - Use dir and vdir commands for dir vdir aliases. Closes: #420661. * /etc/skel/.profile: - Add comment about setting the umask for ssh logins. Closes: #314533. * Added code to defer the initialization of HISTSIZE until the history file is loaded. Closes: #383762. * Fix typos in README.Debian and preinst. Closes: #374452. * Mention `exec' builtin in the section `redirection'. Closes: #378067. * Add bashbug(1). Closes: #442477. * Fix typos in bash(1). Closes: #390493, #426687. * Fix bug in Bash_aliases example. Closes: #423488. * Fix typo in help message for caller builtin. Closes: #452656. bash (3.2-1) experimental; urgency=low * New upstream version (including upstream patches 01 - 33). Closes: #431620. - Added write error reporting to printf builtin. Closes: #414285. - Fixed a bug that caused `unset LANG' to not properly reset the locale. Closes: #364861. - Describe expansion of pattern in case statement. Closes: #342225. - Improved handling of non-printable characters in prompt. Closes: #352234, #362010, #397086, #418961, #471490. - Fix typos in documentation. Closes: #382892. The syntax of regexes in Bash 3.2 was changed so that single quotes no longer surround regexes. e.g, a regex of the form if [[ "foo.tex" =~ '^(.*)\.tex$' ]] becomes if [[ "foo.tex" =~ ^(.*)\.tex$ ]] * Merge from Ubuntu: - debian/skel.bashrc: Check for dircolors before using it. - debian/skel.bashrc: Set HISTCONTROL to ignoreboth. - Include correct bash.pot file. - Move CWRU/changelog from the bash to the bash-doc package (we already have the CHANGES files). - debian/etc.bash.bashrc: Install command-not-found handler if available. bash (3.2-0ubuntu17) hardy-proposed; urgency=low * /etc/skel/.bashrc: Fix typo, forcing a colored prompt. LP: #223256. * Add missing md5sum for feisty and gutsy /etc/skel/.bash_profile, so it is removed on upgrade to hardy if unmodified. LP: #211406. * Apply upstream patches 034 - 039, applying fixes for: - The bash getcwd replacement will write past the end of allocated memory when it allocates the buffer itself if it uses the buffer size passed as an argument, and that size is less than the length of the pathname. - Bash incorrectly puts the second and subsequent children spawned by a shell forked to run a command substitution in the wrong process group. - When initializing a subshell, bash did not reset a sentinel keeping track of the number of command substitutions, leading to an infinite loop if an error was encountered in the subshell. - Bash inappropriately evaluates command substitutions while expanding directory names as part of command substitution. - When reading input lines into a single variable using the `read' builtin, bash did not free the memory it read after assigining it to the named variable, causing a memory leak noticable when reading large amounts of data. - Replace shell-compat patches with upstream patch 039 (compat31). * Reenable running the testsuite during the build. * Only call add-shell on new installations; guard remove-shell in post removal. -- Matthias Klose