[Bash-completion-devel] Bug#741273: bash-completion BROKEN with 'nounset'

Paul Nienaber phox at uvic.ca
Mon Mar 10 16:41:30 UTC 2014


Package: bash-completion
Version: 1:2.0-1
Severity: important

Dear Maintainer,

Debian's bash-completion (not upstream) is broken when 'nounset' is set.  This should not happen.  Bash 4.2 includes a [[ -v var ]] test, or a variety of alternatives are described at:  http://mywiki.wooledge.org/BashFAQ/083

Example (trying to complete from '/et'):

$ set -u
$ cd /et-bash: !ref: unbound variable
-bash: !ref: unbound variable
-bash: words[i]: unbound variable
$

This should have behaved exactly the same as if 'nounset' was not set.


-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (900, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9.1 (SMP w/16 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash  4.2+dfsg-0.1
ii  dpkg  1.16.10

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information



More information about the Bash-completion-devel mailing list