Public bug reported:

Binary package hint: bash-completion

I have observed this behavior on two machines running Ubuntu AMD64 9.10

To reproduce, open up a terminal with bash
Then go to a directory that contains a folder or directory with spaces in its 
name.
Type "sudo ./" and then the first part of the name before the space. Ie, if you 
have "Ubuntu One" in your directory, type:
sudo ./Ubuntu

This will yield output like:
m...@telescreen:~$ sudo ./Ubuntu
One     Ubuntu  

Going further, if you type:
sudo ./Ubuntu\ 
(note the space on the end of that)
Hitting tab will yield
m...@telescreen:~$ sudo ./Ubuntu\\\ 
(with a space on the end)

If you continue and type:
sudo ./Ubuntu\ One/
Hitting tab will yield:
m...@telescreen:~$ sudo ./Ubuntu\\\ One/
hitting tab again with resort to what you originally typed without the extra 
backslashes/escapes.

ProblemType: Bug
Architecture: amd64
Date: Sun Nov  1 23:30:31 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: bash-completion 1:1.0-3ubuntu2
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: bash-completion
Uname: Linux 2.6.31-14-generic x86_64

** Affects: bash-completion (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug autocomplete bash tab

-- 
sudo tab autocomplete shows erratic behavior with spaces in names
https://bugs.launchpad.net/bugs/470037
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to