Date: Fri, 3 Jan 2003 15:54:12 +0300 (MSK) From: "."@babolo.ru To: Andrew <andrew@ugh.net.au> Cc: Terry Lambert <tlambert2@mindspring.com>, Miguel Mendez <flynn@energyhq.homeip.net>, wgrim@siue.edu, phk@FreeBSD.ORG, kientzle@acm.org, freebsd-hackers@FreeBSD.ORG Subject: Re: key=value in rc.conf (was Re: Reading rc.conf from C programs?) Message-ID: <200301031254.h03CsCIL048284@aaz.links.ru> In-Reply-To: <20030103131453.K69183-100000@starbug.ugh.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > On Thu, 2 Jan 2003, Terry Lambert wrote: > > > They're in the CVS repository. Do a "cvs diff -c" before and after > > the code was added to the file, and you'll get my diffs. 8-). > > Perhaps the stuff at the bottom of defaults/rc.conf needs to be in a > seperate file (like read_rc_conf.sh) with another line or 2 to read in > defaults/rc.conf first. > > That way shell scripts needing to parse rc.conf call upon a tool to do it > in the same way as C programs are having to. From that point on rc.conf > can be key=value pairs only. > > Would this solve everyones problems or am I overlookign something? Now it is possible some_variable="${anoter_variable}" or even some_variable="${anoter_variable##text}" so on. It is useful in some automated environment. -- @BABOLO http://links.ru/ 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?200301031254.h03CsCIL048284>