[gentoo-dev] Re: Network configuration and bash

2007-02-14 Thread Steve Long
Diego 'Flameeyes' Pettenò wrote: On Tuesday 06 February 2007, Michael Hanselmann wrote: XML! Actually, no. For me, libconfig[1] turned out to be very easy to work with. Its config file format is easy to write by hand and the parser resides in the library. [1]

Re: [gentoo-dev] Re: Network configuration and bash

2007-02-14 Thread Roy Marples
On Wed, 14 Feb 2007 11:12:20 + Steve Long [EMAIL PROTECTED] wrote: Diego 'Flameeyes' Pettenò wrote: On Tuesday 06 February 2007, Michael Hanselmann wrote: XML! Actually, no. For me, libconfig[1] turned out to be very easy to work with. Its config file format is easy to write by hand

[gentoo-dev] Re: Network configuration and bash

2007-02-09 Thread David Leverton
Roy Marples wrote: On Fri, 09 Feb 2007 01:03:04 -0800 Donnie Berkholz [EMAIL PROTECTED] wrote: How about this? replace= '4d 1280 768 24' '5c 1400 1050 16' Actually, that may work better than my delimited with ; approach. We could then do eval set -- ${replace} for x in $@

Re: [gentoo-dev] Re: Network configuration and bash

2007-02-09 Thread Roy Marples
On Fri, 09 Feb 2007 14:16:25 + David Leverton [EMAIL PROTECTED] wrote: Would something like the following be acceptable? If the user uses bash they can use an array, otherwise (or if they prefer) they can do the '...' '...' thing, transparently to the code that uses the variable. Could do