On Monday 17 May 2010 05:20:28 Bernd Petrovitsch wrote: > 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
It's more space-preserving to rewrite the scripts in C. Your point? "These are things that bash does that actually get used in real scripts". Not a complete list, but these are fairly low-hanging fruit. Smallish self- contained features, which can be collectively grouped under a CONFIG_BASH_EXTENSIONS or some such. Rob -- Latency is more important than throughput. It's that simple. - Linus Torvalds _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
