Bash shell variables not expanded

Bug #395491 reported by arky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IPython
Invalid
Undecided
Unassigned
ipython (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: ipython

!echo $PATH

on ipython console results in NameError

ProblemType: Bug
Architecture: i386
Date: Sat Jul 4 17:49:22 2009
DistroRelease: Ubuntu 9.10
Package: ipython 0.9.1-3ubuntu1
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-1.14-generic
SourcePackage: ipython
Uname: Linux 2.6.31-1-generic i686

Revision history for this message
arky (arky) wrote :
arky (arky)
Changed in ipython (Ubuntu):
status: New → Confirmed
Revision history for this message
Ville M. Vainio (villemvainio) wrote :

This is not a bug. You need to enter

!echo $$PATH

To get the correct behaviour. $PATH expands the PATH *python* variable (this is an IPython feature), where $$PATH escapes the $ character and passes single $ character to shell.

Changed in ipython:
status: New → Invalid
arky (arky)
Changed in ipython (Ubuntu):
status: Confirmed → Invalid
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.