Augeas: http://t.co/89ealBpXHF is very cool. It parses config files, so you can modify them without ad-hoc scripts that might break syntax.