In a message written on Thu, Jan 02, 2003 at 12:18:55PM -0800, Tim Kientzle wrote: > rc.conf is _not_ a list of variable=value > pairs. It is a shell script that sets > a number of shell variables. Nothing > less than a full-fledged implementation > of /bin/sh is gauranteed to work in all > cases.
Might it be worth restricting rc.conf to be a (very small?) subset of sh syntax so that it remains both a valid sh script and also easier to parse in a program? Clearly things like the end of /etc/defaults/rc.conf would have to be handled differently, but that might be a good trade off to make the file more easily parseable in many languages. -- Leo Bicknell - [EMAIL PROTECTED] - CCIE 3440 PGP keys at http://www.ufp.org/~bicknell/ Read TMBG List - [EMAIL PROTECTED], www.tmbg.org
msg38941/pgp00000.pgp
Description: PGP signature