logo       

Re: Some problems with busybox-1.0.0-pre1: msg#00235

linux.busybox

Subject: Re: Some problems with busybox-1.0.0-pre1

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.



--w
vodz


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise