On Son, 2010-05-16 at 19:49 -0500, Rob Landley wrote: > So Gentoo's portage requires bash (not just bash, but bash 3.x), and I'm > trying to get it to work with busybox. At least the following would need to > be done to get hush to act as something like a bash replacement: [...] > 4) Accept $[1+2] as a synonym for $((1+2))
"$(( ... ))" is at least mentioned in http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02 (whereas "$[ ... ]"). So it's probably easier, better and space-preserving to change that in the scripts. Bernd -- Bernd Petrovitsch Email : [email protected] LUGA : http://www.luga.at _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
