grep - rg

grep / ripgrep / rg

Flags I use:

Puts the file "up-top" when searching multiple files, this is default INTERACTIVE behavior vs
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.


with the above if looking for dupes, do
-no-heading xxx | rev | sort | rev

See also find - fd

Backlinks: knowledgebase:COMMAND LINE