[BusyBox 0000647]: ash does not handle '\$' in prompt when prompt expansion is enabled
bugs at busybox.net
bugs at busybox.net
Wed Jan 18 08:44:02 UTC 2006
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=647
======================================================================
Reported By: iggarpe
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 647
Category: Documentation
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 01-18-2006 00:44 PST
Last Modified: 01-18-2006 00:44 PST
======================================================================
Summary: ash does not handle '\$' in prompt when prompt
expansion is enabled
Description:
If you use ash, and CONFIG_ASH_EXPAND_PRMT is enabled, you'll see '$' in
the prompt even if you are root.
I've traced the bug and it seems that prompt expansion turns the default
value of PS1='\w \$ ' into PS1='\w $ ', that is, just removes the '\' in
front of the '$', thus from there on, '$' is printed as a literal in the
prompt. I guess prompt expansion is broken somehow.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
01-18-06 00:44 iggarpe New Issue
01-18-06 00:44 iggarpe Status new => assigned
01-18-06 00:44 iggarpe Assigned To => BusyBox
======================================================================
More information about the busybox-cvs
mailing list