[Bash-completion-devel] Bug#797631: bash-completion: Bash completion fails for files with newlines in name

allan at allanwirth.com allan at allanwirth.com
Tue Sep 1 01:03:26 UTC 2015


Package: bash-completion
Version: 1:2.1-4
Severity: normal

Dear Maintainer,

Bash tab-completion fails for file names that contain newlines.  It
provides multiple selections which correspond to the separate lines
contained in the file name.

For example:

$ python -c "open('foo\nbar','w')"
$ ls
foo?bar
$ ls ./f #and then tab complete
bar foo

-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.0.4-x86-linode75 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bash-completion depends on:
ii  bash  4.3-11+b1
ii  dpkg  1.17.25

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information



More information about the Bash-completion-devel mailing list