librcfile is a library that reads and writes a variety of
configuration file formats, including .ini, shell script fragments, Apache
config files. It does so in a way that minimises the amount of change in a file,
preserving comments and ordering, so that programs can alter configuration files
without upsetting humans.
librcfile is free software, licensed under a BSD-like license.
The latest version of the source code is kept in arch:
baz register-archive http://arch.spacepants.org/jaq@spacepants.org--2004
baz get jaq@spacepants.org--2004/librcfile--main--0
see here for details.