Roy Marples ha scritto:
Hi List
As some of you may be aware, I've started work on baselayout-2 which is
basically re-tooling it in C. One of the side goals is to eliminate the
need for using bash. You'll be pleased to know that it's working well
enough to boot Gentoo/FreeBSD.
[...]
what about to keep compatibility with at least this form:
ifconfig_eth0=(
"10.1.1.{1,2} netmask 255.255.255.0"
)
and maybe hooks to external code to be executed
{pre,post}ip_link_set
{pre,post}ip_addr_{add,del}
etc...
A fast look at Bash code show that i should be maintenable
~/tmp/bash-3.2 $ wc braces.* array*
630 2208 14019 braces.c
932 2843 19720 array.c
111 498 3817 array.h
837 2896 20407 arrayfunc.c
58 300 2289 arrayfunc.h
2568 8745 60252 total
Regards,
Francesco
--
gentoo-dev@gentoo.org mailing list