On Thursday 12 March 2009 01:09:19 pm Guenter wrote:
> Hi all,
> I just suprisingly found that latest busybox 1.13.3 seems not yet
> support arrays like bash does, f.e. something like:
>
> #!/bin/ash
> url='http://....'
> files=(`wget -q -O - $url`)
> for ((i=0; i<${#files[*]}; i++)); do
> echo "$i - ${files[$i]}"
> done
>
> returns:
> ./getlist: line 3: syntax error: "(" unexpected
>
> are there any plans to implement arrays soon?
Plans to implement it eventually for ASH_BASH_COMPAT, yes.
Need to have enough free time for that.
(volunteers much welcomed)
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox