[BusyBox] msh scripting
Robert Schwebel
robert at schwebel.de
Tue Mar 11 11:05:05 UTC 2003
On Tue, Mar 11, 2003 at 01:07:31PM +0100, Robert Schwebel wrote:
> I tried to replace it with your version but it still does not work,
> see attachment. When I run "a=`echo foo`" I get back a "not found",
> and I've no idea where it comes from.
[just a little braindump]
I've found out a little bit more - the "not found" comes because the
"subshellname" initialisation code does only work for argv[0] being the
exec name, which is different in busybox applets... I've now made a
link, just for testing and the "not found" is gone.
Unfortunately, the rest of the problem still stays: after my "a=`echo
foo`" line the shell does not accept input any more:
robert at ganymed:/home/embedded/cvs/busybox> a=`echo foo`
robert at ganymed:/home/embedded/cvs/busybox> gargelpu
robert at ganymed:/home/embedded/cvs/busybox> froeselfrasel
robert at ganymed:/home/embedded/cvs/busybox> exit
robert at ganymed:/home/embedded/cvs/busybox> ls
robert at ganymed:/home/embedded/cvs/busybox>
No reaction...
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Braunschweiger Str. 79, 31134 Hildesheim, Germany
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4
More information about the busybox
mailing list