|
Re: Some problems with busybox-1.0.0-pre1: msg#00237linux.busybox
> Forward from dash mantainer: > > From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>: > > >$ 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 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Some problems with busybox-1.0.0-pre1: 00237, Eric Spakman |
|---|---|
| Next by Date: | v4tunnels in ifupdown: 00237, Eric Spakman |
| Previous by Thread: | Re: Some problems with busybox-1.0.0-pre1i: 00237, Vladimir N. Oleynik |
| Next by Thread: | Re: Some problems with busybox-1.0.0-pre1: 00237, Vladimir N. Oleynik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |