Doug Barton wrote:
> 
> 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.


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.

Alex


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to