(0000945)
vodz
01-18-06 01:03
|
I think, its not bug.
Expanding promt works as eval string.
Example:
1$ bash --version
GNU bash, version 2.05b.0(1)-release (i486-slackware-linux-gnu)
Copyright (C) 2002 Free Software Foundation, Inc.
2$ echo `echo '\w'`
\w
3$ echo `echo '\$'`
$
4$ echo `echo '\\$'`
\$
\w is invalid escaping, but \$ - valid. First backslash escaping a dollar char
and evalute without backslash.
If you using EXPAND_PROMPT feature, then must use double escaping shell special chars for give with backslash to the fancy promt decoder.
Please close this bug. |