On Tue, Nov 01, 2011 at 05:07:47PM -0700, Keshav Kini wrote:
> That's what I thought too, but upon testing it seems that PS1 is somehow 
> special in this regard:

PS1 is only set in interactive shells:

[wjp@aldur ~]$ bash -c 'echo $PS1'

[wjp@aldur ~]$ bash -i -c 'echo $PS1'
[\u@\h \w]$


-Willem Jan

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to