[BusyBox] ash and functions

Brendan J Simon brendan.simon at ctam.com.au
Tue Jul 16 01:25:04 UTC 2002


Don't worry.  I figured it out.  I was testing under bash and using the 
"function" keyword.  Under ash or bourne shells, the function keyword 
must be removed.  Bash also allows the parenthesis to be absent where as 
ash requires them (to detect a function definition I assume).

Cheers,
Brendan Simon.


Brendan J Simon wrote:

>
> Does anyone know if ash supports functions ???  Is so, what is the 
> syntax ???
> I've tried searching the Net for ash documentation but it appears scarce.
>
> Thanks,
> Brendan Simon.
>
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/mailman/listinfo/busybox






More information about the busybox mailing list