Simple CLI tool for text replacement.
go install github.com/nek023/rep@latest
You can replace text by starting rep and typing a command.
The command %s/foo/bar
will replace foo
with bar
.
# Replace text by passing data through a pipe
echo example | rep
# Replace the content of a file
rep hello.txt