I was pondering this, wondering if there was another language other than
/bin/ash which had more power in less space. This is what I've found:
ash 100k
rc -- requires libncurses, libreadline
esh -- requires libreadline, libtermcap
eforth 12k (static)
lua 79k
es -- won't compile (glibc 2.0 or 2.1)
mawk -- requires libm
libncurses, libreadline, and libm are all over 100k each.
rc is the AT&T Plan 9 shell successor to /bin/sh; es is an expanded
version of rc.
esh is a lisp-like shell created from scratch.
eforth is an embedded language based on FORTH, but it requires
additional code to make it work - it's very low level.
mawk is a version of awk smaller than GNU awk (gawk).
lua is that new scripting language from South America...
Shells I didn't list because of their size include pdksh, bash, perl,
and ruby.
All of this is part of an effort to shrink root.lrp; I've already
removed /var/spool/cron (to a new cron.lrp) and much of /sbin to
init.lrp....
What do you think of using lua for writing /linuxrc? Anyone here have
experience in lua?
I'm about to dive in headlong.... :-)
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel