[Bug 1221502] [NEW] bash completion escapes the dollar sign preceding a variable when it shouldn't

Daniel Barrett dbarrett at blazemonger.com
Fri Sep 6 02:03:28 UTC 2013


Public bug reported:

Run these commands to reproduce the problem:

$ touch xxx
$ ls $PWD/x            (now press TAB)

The line completes like this:

  ls \$PWD/xxx

with a slash in front of the dollar sign.

If  you run "complete -r", the problem goes away, and the line completes
as:

  ls $PWD/xxx

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: bash-completion 1:2.0-1ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-29.42-generic 3.8.13.5
Uname: Linux 3.8.0-29-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Thu Sep  5 22:00:18 2013
InstallationDate: Installed on 2013-08-31 (5 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: bash-completion
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug raring

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

Title:
  bash completion escapes the dollar sign preceding a variable when it
  shouldn't

Status in “bash-completion” package in Ubuntu:
  New

Bug description:
  Run these commands to reproduce the problem:

  $ touch xxx
  $ ls $PWD/x            (now press TAB)

  The line completes like this:

    ls \$PWD/xxx

  with a slash in front of the dollar sign.

  If  you run "complete -r", the problem goes away, and the line
  completes as:

    ls $PWD/xxx

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: bash-completion 1:2.0-1ubuntu3
  ProcVersionSignature: Ubuntu 3.8.0-29.42-generic 3.8.13.5
  Uname: Linux 3.8.0-29-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  Date: Thu Sep  5 22:00:18 2013
  InstallationDate: Installed on 2013-08-31 (5 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: bash-completion
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list