[Bash-completion-devel] Bug#560851: bash-completion: completion doesn't works if file name has an apostrophe

skizzhg skizzhg at gmx.com
Sat Dec 12 19:38:47 UTC 2009


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


I have a directory called "Pills 'n' Thrills and Bellyaches"
if I try with "ls" or "mv" then <TAB> to obtain the file list inside,
it doesn't complete anything

~$ ls Pills\ \'n\'\ Thrills\ and\ Bellyaches/<TAB>

same result with the development version in 
http://git.debian.org/?p=bash-completion/bash-completion.git;a=blob_plain;f=bash_completion;hb=HEAD

it works with 
~$ compgen -f ls Pills\ \'n\'\ Thrills\ and\ Bellyaches/<TAB>

here's the output with 
~$ set -x
http://pastebin.com/f3fcc7fcb

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

Kernel: Linux 2.6.30-2-amd64 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information

-- 





More information about the Bash-completion-devel mailing list