Adding bash support to hush: the todo list.

Denys Vlasenko vda.linux at googlemail.com
Mon May 17 02:48:37 UTC 2010


On Monday 17 May 2010 02:49, 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:
> 
> 1) Allow "bash" alias to call hush, so #!/bin/bash to redirect to hush.
> 2) Accept (ignore) the keyword "function" before shell function definitions, 
> ala "function blah()".
> 3) Use "source" as a synonym for "." when including files.
> 4) Accept $[1+2] as a synonym for $((1+2))
> 5) Curly bracket support: one/{two,three,four}
> 6) <(command) and >(command) support.
> 7) The =~ regex operator.  (Probably a config option.)

Please add this list to hish.c header comment, section
"Bash stuff". Feel free to edit that section if it does not
sound understandable to you.

-- 
vda


More information about the busybox mailing list