Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2000 21:33:35 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        A G F Keahan <ak@freenet.co.uk>
Cc:        freebsd-hackers@FreeBSD.ORG, Doug Barton <DougB@gorean.org>
Subject:   Re: Generic config file parser?
Message-ID:  <3932639F.2EFDF7F1@newsguy.com>
References:  <3931B325.BB166270@freenet.co.uk> <3931AAF9.BE1846A@gorean.org> <3931BF15.3D2870EF@freenet.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
A G F Keahan wrote:
> 
> Which does not necessarily make it bad, of course, it's just nice to
> separate things out.   Many UNIX applications use similar formats;  you
> don't have to go very far to find an example -- look at e.g.
> /etc/defaults/rc.conf, which has distinct sections separated by comments
> like this one:
> 
> ##############################################################
> ###  Important initial Boot-time options  ####################
> ##############################################################
> 
> I'll say it again -- I'm not specifically after a Windows-style config
> file parser, just any similar type thing.

You can find libconf on http://people.freebsd.org/~dcs/, which will
parse rc.conf-style files. At one point it was my intention importing it
intou our tree, but I was dissuaded by my senpai, who said do it right
or don't do it at all (even though it was done already :).

-- 
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com
dcs@freebsd.org
capo@another.bsdconspiracy.org

		"Sentience hurts."



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3932639F.2EFDF7F1>