Skip to content

rrthomas/rpl

 
 

Repository files navigation

rpl

https://github.com/rrthomas/rpl
© 2025 Reuben Thomas [email protected]

A search/replace utility.

rpl replaces strings with new strings in multiple text files.

rpl is distributed under the terms of the GNU General Public License; either version 3 of the License, or (at your option), any later version. See the file COPYING for more details.

rpl is written in Vala, based on an earlier Python program by Christian Häggström, Göran Weinholt, Kevin Coyner, Jochen Kupperschmidt and Reuben Thomas.

Installation

If you’re lucky, rpl will be available from your distribution, such as Ubuntu or Homebrew.

Building from source

To build rpl you will need a C compiler, GNU Make, GLib, PCRE2 and uchardet. These should already be packaged in most distributions. (Although rpl is written in Vala, a Vala compiler is only needed for development.)

Download the latest release, and unpack it with tar. cd into the unpacked sources, and run:

./configure
make check

Once you’re happy you can run make install, possibly with sudo.

Building from git

As well as the dependencies for building from source, you will need Vala, automake, autoconf, gengetopt and help2man. These should be packaged in most distributions.

Having cloned the repository, run autoreconf -fi, then follow the instructions above for building from source.

Usage

rpl [OPTION...] OLD-TEXT NEW-TEXT [FILE ...]

See rpl --help or the man page rpl(1) for more information.

About

intelligent recursive search/replace utility

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vala 67.3%
  • Shell 23.2%
  • M4 6.0%
  • Makefile 2.8%
  • Other 0.7%