[BusyBox] Adding loops and control operators to hush
Wolfgang Denk
wd at denx.de
Mon Mar 4 03:31:04 UTC 2002
Hello,
the attached patch adds shell loops (for, while, until) and control
operators (||, &&) to the hush shell.
The patch is against busybox-0.60.2
I have to admit that I did not test this very extensively in the
busybox environment - but the same modifications are used in a
(slightly modified) version of hush which is included in our PPCBoot
firmware on a couple of embedded PowerPC systems, and _there_ a LOT
of testing has been done.
Note: eval (i. e. `...`) is still missing, which is probably the
biggest restriction of hush...
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
The amount of time between slipping on the peel and landing on the
pavement is precisely 1 bananosecond.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hush.c-0.60.2.patch.gz
Type: application/x-gzip
Size: 6109 bytes
Desc: hush.c-0.60.2.patch.gz
Url : http://lists.busybox.net/pipermail/busybox/attachments/20020304/facb6b90/attachment.bin
More information about the busybox
mailing list