rpl is a Unix text replacement utility. It will replace strings with new strings in multiple text files. It can scan directories recursively and replace strings in all files found. The search can be limited to files with certain filename suffixes (e.g. '.html', '.c', etc.). It includes source, a build script, and a man page. It should work on most flavors of Unix. Linux/Intel, Linux/PPC, and source RPMs are available, as are binaries for other OSes, including Mac OS X.
|Tags||Internet Web Site Management Systems Administration Text Editors Text Processing|
|Operating Systems||OS Independent|
Release Notes: Support was added for escapes like "\t" and "\n" (or any hex/octal ASCII code). A bug was fixed that caused match to fail if the previous character was the same as the first character in the search string. GNU Autoconf is now in use, and some code cleanups were done.
Release Notes: A bug that would garble the last few characters of a file when the search string had one or more spaces as the last character was fixed. Zero is now returned on success, and error codes are returned on error.
Release Notes: Error reporting was improved. Some code cleanup / commenting was done. The License was revised to make it more clear that packaging is OK.
Release Notes: Support for specifying file suffixes to be searched (e.g., '.html', '.c', etc.). Multiple suffixes may be added and only files with those suffixes will be searched (works well with the recursive -R option). Better error reporting, and various bugfixes.
Release Notes: Support for high-bit ASCII characters like accented characters and other non-English characters, an option to not modify modification times, the ability to specify a temp directory, and misc. code fixes.