[Bash-completion-devel] Bug#529357: bash-completion: Fail to complete file with something between square brackets

Leandro Lucarella llucarella at integratech.com.ar
Mon May 18 20:19:36 UTC 2009


Package: bash-completion
Version: 1:1.0-2
Severity: normal


luca at azazel:~$ touch /tmp/'['
luca at azazel:~$ ls /tmp/\[ # 'ls /tmp/['<tab> written
luca at azazel:~$ touch /tmp/'[]'
luca at azazel:~$ ls /tmp/\[ # 'ls /tmp/['<tab> written
[   []  
luca at azazel:~$ touch /tmp/'[2]'
luca at azazel:~$ ls /tmp/\[ # 'ls /tmp/['<tab> written
[   []  
luca at azazel:~$ vi /tmp/\[ # 'vi /tmp/['<tab> written
[   []  
luca at azazel:~$ cd /tmp/\[ # 'cd /tmp/['<tab> written
[   []  
luca at azazel:~$ touch /tmp/'[a]'
luca at azazel:~$ ls /tmp/\[ # 'ls /tmp/['<tab> written
[   []  

As you can see, '[2]' and '[a]' fails to complete. The other files with
'[' and '[]' work well.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable'), (75, 'testing'), (50, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.1
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash                          3.2-5      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