On Wed, 14 Feb 2007 11:12:20 +0000 Steve Long <[EMAIL PROTECTED]> wrote:
> Diego 'Flameeyes' Pettenò wrote: > > On Tuesday 06 February 2007, Michael Hanselmann wrote: > >> XML! Actually, no. For me, libconfig[1] turned out to be very easy > >> to work with. Its config file format is easy to write by hand and > >> the parser resides in the library. > >> [1] http://www.hyperrealm.com/libconfig/libconfig.html > > > > On a simialr note there's libconfuse[1], which uses one of the most > > common formats available: ini-like :) > > > > [1] http://www.nongnu.org/confuse/ > > Woah, they both look nice. I note libConfuse hasn't been dev'ed for a > couple of years, not a big issue. libconfig is "25K for the stripped > C shared library" - neither is on my system atm; from the pkg size > i'm guessing libConfuse isn't much bigger. I guess having a C++ > library as well helps libconfig tho. I like its format better as > well ;) All very nice, but our init scripts and config files for them should be POSIX shell compliant. If we move our network configuration to something other then shell then I guess we could look at this. Thanks Roy -- gentoo-dev@gentoo.org mailing list