[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using XML to handle all configuration files

On Mon, Jan 22, 2001 at 11:45:20AM +1100, Brian May wrote:
> For instance compare
> ... [XML example]
> with
> (interfaces
> (comment "This is a comment")
> (auto lo)
> (auto inet)
> (auto loopback)
> (iface lo inet loopback)
> (iface eth0 inet static
> 	(address
> 	(network
> 	(netmask
> 	(broadcast
> 	(gateway
> )
> and tell me in 10 seconds or less if the S expression is valid or
> what errors exist if it is not...

For that matter, compare it with the original style 

# This is a comment
auto lo
auto inet
auto loopback
iface lo inet loopback
iface eth0 inet static

And consider that you dont have to do stupid things like match ((())))))
and you can simply use # as God intended.
I prefer the current style to either of the two proposed alternatives.

Reply to: