|
|
|
|
|
by hhda
927 days ago
|
|
Yeah, the -M command is wonderful (super handy for ignoring minified files that you don't want to see results from, etc), and also great is the -g command (eg `-g *.cs` and you'll just search in files that have the .cs extension). Also the fact that it is a standalone portable executable can be super handy. Often when working on a new machine, I'll drop in the executable and an alias for grep that points to rg, so if muscle memory kicks in and I type grep it will still use rg. |
|
This flag is especially convenient if you want to search e.g. .yml and .yaml in one go, or .c and .h in one go, etc.