rp: replace one string with another
This simple C program replaces one string with another in standard input or in one or more files.
Download
Compile
- Download one of the archive files.
-
Unpack the archive file. For example:
- To unpack rp.tar.gz: tar -xzf rp.tar.gz
- To unpack rp.zip: unzip -q rp.zip
- Go to the rp directory. For example: cd rp
-
Compile and link the executable file. For example:
- With make: make
- Without make: gcc -o rp rp.c