[Bug 1055003] [NEW] bash adds incorrect backslash when completing

aeb aeb at cwi.nl
Sun Sep 23 13:19:51 UTC 2012


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
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1055003

Title:
  bash adds incorrect backslash when completing

Status in “bash” package in Ubuntu:
  New

Bug description:
  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.)

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




More information about the foundations-bugs mailing list