Public bug reported: 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) ** Affects: bash (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1004112 Title: Pressing TAB to complete a word escapes any "$" env var references on the line To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1004112/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs