Date: Sun, 28 May 2000 16:25:45 -0700 From: Doug Barton <DougB@gorean.org> To: A G F Keahan <ak@freenet.co.uk> Cc: freebsd-hackers@freebsd.org Subject: Re: Generic config file parser? Message-ID: <3931AAF9.BE1846A@gorean.org> References: <3931B325.BB166270@freenet.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
A G F Keahan wrote: > > This may be a silly question, but is there such a thing? Almost every > program that I know uses configuration files, often in different, > incompatible formats. I personally prefer Samba/Wine-style config > files which are split into "sections" like this: > > [SECTIONNAME1] > wibble1 = blah > wibble2 = 35 > wibble3 = "a string that has more than one word" > ; this is a comment -- ignored > wibble4 = 4.567e9 > A trivial thing to write, and a very useful one -- surely it's been done > before, no? It's possible, though unlikely, since what you're describing is a windows style config format. Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? 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?3931AAF9.BE1846A>