grep - ripgrep - rg
grep / ripgrep / rg
Flags I use:
--heading
Puts the file "up-top" when searching multiple files, this is default INTERACTIVE behavior vs
--no-heading
Puts it side-by-side, this is the default STDOUT behavior
`-v` inverts, yes?
`-q` no output, mostly useful only for "if" in bash etc.
cleverness
with the above if looking for dupes, do
-no-heading xxx | rev | sort | rev
See also find - fd