[BusyBox] Some problems with busybox-1.0.0-pre1
Eric Spakman
E.Spakman at inter.nl.net
Tue Jul 29 18:38:24 UTC 2003
> Forward from dash mantainer:
>
> From: Herbert Xu <herbert at gondor.apana.org.au>:
>
> >$ export S=`echo HELLO \"how are you\" JUNK`
> > produces:
> > export: 5: "how: bad variable name
>
>
> This is the correct behaviour.
>
> export/readonly/alias does not cause special parsing in dash.
>
> If you wish to prevent the word splitting, you must quote it
> or use normal assignment:
>
> export S
> S=`...`
>
> * End forward *
>
> Eric Spakman wrote:
>
> > The same busybox config did start correct with the previous ash.
>
> Oh yes. "ash" have more problem for "export VAR=hard/difficult expression"
> but trivail do fine sometimes.
>
> I don`t know, why your debian dash work fine.
> I geted very fresh debian dash version.
> I was very surprised, that at additional opportunities, a code less.
>
Vodz,
Thanks, the prompt is working ok now. I followed Erik Anderson's
advice and use PS1='\u@\h:\w\$ ' instead of a "fancy prompt".
The init.d starting problems were caused by some minor differences
between how ash handles scripts and how the new dash does this. I
could get it working by bypassing some scripts. I will look further
into this and let you know.
An other problem I found is that
for f in /proc/sys/net/ipv4/conf/*/rp_filter; do
echo 1 > $f
done
doesn't work in dash (it's a piece from Debian
/etc/init.d/networking), this was working in all the previous
versions of ash. It complains about "directory not found" probably
due to the wildcard /*/.
Regards,
Eric Spakman
More information about the busybox
mailing list