[Bash-completion-devel] Bug#557366: bash-completion: Doesn't complete filenames in a folder with quote symbols.

Philipp Weis pweis at pweis.com
Sat Nov 21 18:52:48 UTC 2009


Package: bash-completion
Version: 1:1.1-3
Severity: normal

Folder names with quotes confuse bash-completion.

$ mkdir a\'b
$ touch a\'b/test
$ cp a\'b/

The completing for the cp (or ls, mv, ...) parameter hangs after the
first folder name and doesn't complete to the filename.

Interestingly, it works with commands unknown to bash-completion.

$ ll a\'b/test
$ xyz a\'b/test

work just fine.

Philipp


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-svn14611 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash                          4.0-7      The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information

-- 
Philipp Weis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20091121/dc66f695/attachment.pgp>


More information about the Bash-completion-devel mailing list