bash completion doesn't work if multiple files with space in name

Bug #1292249 reported by Thierry Mallard
This bug report is a duplicate of:  Bug #1387057: wildcard incorrect completion. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
New
Undecided
Unassigned

Bug Description

To reproduce :
cd /tmp
touch "foo bar"
touch "foo boo"
ls foo (then press Tab key several times)

=> The two names should appear, but it doesn't work.

Doing the same thing with simple filename (without spaces in them) seems to work fine.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: bash-completion 1:2.1-2ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-34.49~precise1-generic 3.8.13.12
Uname: Linux 3.8.0-34-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 13 23:21:57 2014
InstallationDate: Installed on 2013-12-26 (77 days ago)
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
PackageArchitecture: all
SourcePackage: bash-completion
UpgradeStatus: Upgraded to trusty on 2014-01-03 (69 days ago)

Revision history for this message
Thierry Mallard (thierrymallard) wrote :
Revision history for this message
Peter Cordes (peter-cordes) wrote :

another symptom of missing quotes on $quoted, see my fix for bug 1387057. Works for me on trusty with that fix applied.

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.