On Thu, 2 Jan 2003 16:20:23 -0700
Chad David <[EMAIL PROTECTED]> wrote:
Hi,
> Here is a very simple lex/yacc parser that reads simple key value
> pairs. The whole thing took about 30 minutes to write. Exclusive
> states may not be the easiest or best way to handle the parts of the
> sh syntax that need to be ignored, but it was a quick way to handle
> the if, which was all I cared about.
Thanks, looks like a very good start point. I'd need to do some hacking
on it to also get the comments, which I use as tooltips in the GTK+
frontend, but is the kind of thing I'm looking for, so I can easily move
between different rc.conf styles (NetBSD vs FreeBSD) without having to
start from scratch every time.
Cheers,
--
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message