3 homepage: https://github.com/BurntSushi/ripgrep
5 Ripgrep is a git and sourcecode-aware drop-in grep replacement.
14 Use the `@beta` tag for pre-releases.
18 > Ripgrep (`rg`) is smart. It's like grep if grep were built for code. It
19 > respects `.gitignore` and `.ignore`, has all of the sensible options you want
20 > (colors, numbers, etc) turned on by default, is written in Rust, and typically
21 > outperforms grep in many use cases.
24 rg <search-term> # searches recursively, ignoring .git, node_modules, etc
37 Use `-v` to filter out all matches so that only non-matches are left.
40 rg 'bar' | rg -v 'foobar'
43 ### Disable Smart Filtering
45 By default `rg` respects `.gitignore`, `.ignore`, `.git/info/exclude` and
46 ignores many types of hidden files, dot files, etc.
48 You can use `-uu` to set all of the `--no-ignore-*` options and others.