bash-completion fails to complete filenames with single quote

Bug #590829 reported by Kasper Henriksen
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Lucid by Mikhail Turov

Bug Description

Binary package hint: bash-completion

Steps to reproduce:
1) Install bash-completion (d'oh).
2) Enable it either by editing /etc/bash.bashrc or $HOME/.bashrc. /etc/bash.bashrc should have the information.
3) Actual commands to reproduce in a shell:
cd /tmp
mkdir NewDir # This can be whatever. For demonstration purposes, we want an empty directory with write access.
cd NewDir
touch "A's_one"
touch "A's_two"
cat A<tab> # This completes to "cat A\'s_" as expected. Now enter "o<tab>" and bash will fail to complete to "A\'s_one"

Removing bash-completion makes <tab> behave as expected.

Ubuntu version: Lucid
bash-completion version: 1:1.1-3ubuntu2
bash version: 4.1-2ubuntu3 (reported as 4.1.5(1)-release by bash --version)
Related bugs: 476968

Tags: testcase lucid
Revision history for this message
Tobias Brandt (tobiasbrandt) wrote :

I can confirm that this bug still exists.

Ubuntu 10.4
bash-completion 1:1.1-3ubuntu2
bash 4.1-2ubuntu3

Revision history for this message
Mikhail Turov (groldster) wrote :

not reproduced in maverick (i think it must be nominated for Lucid only distro):

apt-cache policy bash-completion
bash-completion:
  Installed: 1:1.2-2ubuntu1
  Candidate: 1:1.2-2ubuntu1
  Version table:
 *** 1:1.2-2ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status

Changed in bash-completion (Ubuntu):
status: New → Fix Released
Mathew Hodson (mhodson)
Changed in bash-completion (Ubuntu):
importance: Undecided → Medium
Mathew Hodson (mhodson)
tags: added: lucid
tags: added: testcase
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.