Command line program to replace strings in files.
Quickly replace strings in a directory text files!
This is a rewritting of an old project of mine, from C++ to rust.
sreplace
using cargo
:
sh
cargo install sreplace
The ready to use executable command is sr
.
```html Search for a pattern in a file and replace it by a string. Support UTF-8 encoding
Usage: sr [OPTIONS]
Arguments:
Options:
-e, --regex Search pattern as a regular expression (slower)
-i, --case-insensitive Case insensitive search
-t, --extension
GPL v3