augeas - reading/modifying/writing system configuration files

David Lutterkort dlutter at redhat.com
Mon May 5 16:37:25 UTC 2008


On Mon, 2008-05-05 at 11:50 -0400, Bill Nottingham wrote:
> If you have an existing already-invented parser for something, what's
> the benefit?

Uniformity ... there are lots of parsers for editing config files hidden
in various tools; they all give you a completely different "API" for
changing config files. And usually you can't get to them for any other
purpose than what the tool is written for. 

Case in point: Webmin has a _ton_ of these config file editors in it.
Good luck trying to use those, even assuming you are working from a Perl
script (and better luck keeping that working across Webmin releases)

David





More information about the devel mailing list