Public bug reported:

The current version (Ubuntu 12.04.1 LTS, GNU bash, version
4.2.24(1)-release) of bash filename complation is seriously broken.

Have
 shopt -u progcomp
in .profile

Type
% ls /long/directory/name

see that there is a unique file with a name starting with M. Then type

% cat $_/M<tab>

What happens: pressing <tab> produces

% cat \$_/Makefile

which of course fails since \$_ does not exist.
What I had hoped for (and happened before the upgrade to Precise): seeing either

% cat $_/Makefile

or

% cat /long/directory/name/Makefile

(By the way, after   shopt -s progcomp   this is even more broken.)

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1055003

Title:
  bash adds incorrect backslash when completing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1055003/+subscriptions

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

Reply via email to