This repository was moved to Jet on 28-07-2023 and thus is unmantained.
The name was changed so that it no longer collides with many other Unix tools.
For the mantained version please refer to: https://github.com/NicoNex/jet
Recursive Editor
Red is an intuitive and fast find & replace cli. Red replaces all matches of a specified regex with the provided replacement text. It can be run over single files or entire directories specified in the command line argument. When red encounters a directory it recursively finds and replaces text in all the files in the directory tree.
Install it with go install github.com/NicoNex/red@latest
.
Run red -h
for more options.
red [options] "pattern" "replacement" [input file/dir]