Initially packaged in pkgsrc-wip by Kamil Rytarowski setconf is a small utility that can be used for changing settings in configuration textfiles.