[BusyBox] Problems with ash

Steven Scholz steven.scholz at imc-berlin.de
Wed May 18 11:54:03 UTC 2005


Hi there,

sorry that I didn't find a better subject.

The wireless script in PCMCIA CS 3.2.8 contains the line

for IWPATH in /usr/{bin,sbin} /usr/local/{bin,sbin} /sbin ; do
     if [ -x $IWPATH/iwconfig ] ; then break ; fi
done

to "Find the path where wireless tools are installed".

But the construct "for IWPATH in /usr/{bin,sbin}" is not working in my 
Busybox-1.00 (with ash).

On my Host with bash:
~ # for p in {foo,bar,foobar} ; do echo $p; done
foo
bar
foobar

On my target with busybox:
~ # for p in {foo,bar,foobar} ; do echo $p; done
{foo,bar,foobar}

I haven't tested with CVS!

--
Steven




More information about the busybox mailing list