[BusyBox] bug#1192: 0.52/ash: problems with echo $$

Giulio Orsero giulioo at pobox.com
Sat Jul 7 13:20:02 UTC 2001


Package: busybox
Version: 0.52
Severity: normal

problem:
"echo $$"  clutters following "echoed" vars.

system:
linux, glibc-2.1.2-11, 2.2.19
added 
#define ASH_BBAPPS_AS_BUILTINS
to Config.h to make ash compile as suggested on the list by Aaron

example:
BusyBox v0.52 (2001.07.07-18:58+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
 
$ myvar=somevalue
$ echo $myvar
somevalue
$ echo $$         <===== (does not echo anything)
$ echo $myvar
14792echo somevalue     <======
$ echo $myvar
somevalue
$ echo $myvar
somevalue
$ echo $$
$ echo $myvar
14792echo somevalue
$ echo $myvar
somevalue
$


-- 
giulioo at pobox.com






More information about the busybox mailing list