Busybox shell and the arrays

Denys Vlasenko vda.linux at googlemail.com
Tue Jun 24 21:51:23 UTC 2008


On Tuesday 24 June 2008 22:39, GNULinuxSlackware wrote:
> Hello,
> I am using busybox and my shell scripts use arrays declarations like this :
> array=(abc def ghi)
> but the busybox shell isn't bash, I am on ash and it seems to doesn't
> support array declaration.

This is bashism, yes.

> Is there a solution to use array in a script with only the busybox
> shells and utilities?

I don't know whether it is possible. Probably not.
--
vda



More information about the busybox mailing list