[Bug 1004112] Re: Pressing TAB to complete a word escapes any "$" env var references on the line

Launchpad Bug Tracker 1004112 at bugs.launchpad.net
Tue Jun 5 14:54:35 UTC 2012


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: bash (Ubuntu)
       Status: New => Confirmed

-- 
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/1004112

Title:
  Pressing TAB to complete a word escapes any "$" env var references on
  the line

Status in “bash” package in Ubuntu:
  Confirmed

Bug description:
  On a command line in a terminal shell, with Bash, I typed a line like
  this:

  $ ls $SOMEVAR/somedir/abc

  (where the var "SOMEVAR" is defined, and represents a directory that
  has a "somedir" directory, and there is one or more files or
  directories in "somedir" that begin with "abc") and then pressed TAB,
  it produced this:

  $ ls \$SOMEVAR/somedir/abc

  (Added the backslash.)

  If I then continue to try completion with TAB, it doesn't do anything,
  because the env var is now escaped.  I now have to go back to the
  beginning of the env var reference and remove the backslash, and then
  go back to the end to try completion again.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: bash 4.2-2ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  Date: Thu May 24 10:46:32 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  ProcEnviron:
   LANGUAGE=en_CA:en
   PATH=(custom, no user)
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: bash
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list