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
Download a compressed archive file:
Unpack
Unpack the archive file. For example:
-
To unpack
rp.tar.gz: tar -xf rp.tar.gz -
To unpack
rp.zip: unzip -q rp.zip
Compile
-
Go to the
rpdirectory. For example: cd rp -
Compile and link the executable file. For example:
-
With
make: make -
Without
make: gcc -o rp rp.c
-
With