rd-0.2.0 is not a library.
rd
Very simple utility to replace(r)/delete(d) strings in text files
installation
usage
by default, it uses regex, for string literals
replace inplace by
delete matching lines
modify multiple files
with fd
performance
Much faster than GNU sed (2x), but slower than sd (2x) for large files. Similar to sd for small files
Good Design Choices
- Do not touch the file unless there is a change. This is useful when modifying a long list of files and do not want to leave a trail in every files pass on the command line