<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 10, 2013 at 1:46 PM, Olof Johansson <span dir="ltr"><<a href="mailto:olof.johansson@axis.com" target="_blank">olof.johansson@axis.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":25n" style="overflow:hidden">That type of for loop is a bashism; as far as I know and can<br>


tell, busybox ash does not support it (even with ASH_BASH_COMPAT=y).<br>
<br>
The code that is executed when the parser finds a "for" token:<br>
<br>
ash.c: parse_command(void)<br>
    ...<br>
    switch (readtoken()) {<br>
    ...<br>
    case TFOR:<br>
        if (readtoken() != TWORD || quoteflag || !goodname(wordtext))<br>
            raise_error_syntax("bad for loop variable");<br>
<br>
Are you sure it's using busybox ash when it actually works? I can<br>
reproduce the error message your are seeing in both busybox 1.20<br>
and 1.21.<br></div></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div id=":25n" style="overflow:hidden"><br>
<br>
RANDOM is also an extension, but one that is supported by busybox<br>
(or rather, can be). The default defconfig in oe-core does not<br>
enable it, see ASH_RANDOM_SUPPORT.</div></blockquote><div style>I have a bbappend to enable it. </div></div><div class="gmail_extra"><br></div>What a shame. I'm really sorry about the buzz.</div><div class="gmail_extra">

<br></div><div class="gmail_extra">I'm working based on Angstrom distribution setup-scripts, and for dylan version it is using bash as the default shell and for dora version it is using the ash from busybox.<br><br><br clear="all">

<div><div dir="ltr"><div>Regards,</div><div><br></div>--<br>*dS<br>Diego Sueiro<br><br>/*long live rock 'n roll*/<br></div></div>
</div></div>