$var expanded to \$var not value of var (REGRESSION)

Bug #941715 reported by jimav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
New
Undecided
Unassigned

Bug Description

Completions involving $Varname are erroneously replaced by \$Varname rather than the value of the variable.
This is a regression since an earlier Ubuntu release.

For example, if a file 'typescript' exists in your home directory, then typing

   ls $HOME/type<tab>

gives you

   ls \$HOME/typescript

(the actual characters output as a result of typeing <tab> were
^H^H^H^H^H^H^H^H^H^H\$HOME/typescript ^M)

The expected result is

   ls /home/jima/typescript # for example

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: bash-completion 1:1.3-1ubuntu6
ProcVersionSignature: Ubuntu 3.0.0-16.28-generic 3.0.17
Uname: Linux 3.0.0-16-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sun Feb 26 17:33:13 2012
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: bash-completion
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
jimav (james-avera) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.