[BusyBox] sh hacking: Important to test before 0.50!
Erik Andersen
andersen at lineo.com
Fri Mar 9 20:45:12 UTC 2001
On Fri Mar 09, 2001 at 11:41:04AM -0800, Larry Doolittle wrote:
> Erik and I made some serious changes to the globbing and
> parameter expansion in lash. I know we said that development
> would move to a major rewrite, but that's not done and I
> couldn't leave lash in such a broken state, so here we are.
I just made a few more fixes a minute ago. I think it
is quite solid now (and I think I can now close bug #1090).
> It's not pretty, it's not fast, its not parser.c, and it's
> not even Right[TM]. But it should work at least as well
> as the 0.49 lash for simple things.
And for slightly complex things, it should work much better...
And if you compile it with a C lib with wordexp(), it
will do all sorts of fancy things
BusyBox v0.50pre (2001.03.09-14:40+0000) Built-in shell (lash)
Enter 'help' for a list of built-in commands.
/home/andersen/CVS/busybox $ echo $(echo hello; echo howdy)
hello howdy
/home/andersen/CVS/busybox $ echo $(((2+3)*(4+5)))
45
/home/andersen/CVS/busybox $ echo \"`grep Erik README`\"
Erik Andersen
> Check out the CVS copy. You might have to take out a couple
> of last-minute printf's at line 1017 and 1089. But as soon
> as Erik reads this, he'll probably take them out.
yeah, I fixed that already... (I should be more careful),
-Erik
--
Erik B. Andersen email: andersen at lineo.com
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list