rpl is a text replacement utility. It will replace strings with new strings in multiple text files. It can work recursively over directories and supports limiting the search by file suffixes. This version was originally written by Goran Weinholt.
rpl was originally written for the Debian project.
More information about rpl in Debian.