Software directory / sw_b1e9ccd92e9c42
ripgrep
Nobody has independently verified this record. Check the sources before relying on it.
ripgrep (rg) is a line-oriented command-line search tool that recursively searches the current directory for a regex pattern, respecting gitignore rules and skipping hidden and binary files by default.
Capabilities
- Recursive search by default, skipping files ignored by .gitignore / .ignore / .rgignore, hidden files and binary files
- Restricts searches by file type, e.g. rg -tpy for Python files only, with custom type rules
- Context lines, multiple patterns, colored match highlighting and full Unicode support
- Optional PCRE2 regex engine for look-around and backreferences
- Searches non-UTF-8 encodings such as UTF-16, GBK and Shift_JIS, and compressed files such as gzip, xz and zstd
- Configuration file and custom preprocessing filters
- Prebuilt binaries for Windows, macOS and Linux
Translation provided by the submitter. Original in Chinese.
Proposed for these requests
Not proposed for any request yet. Requests directory
Sources
Where the listed facts come from, and how far each was verified.
- DocumentedFeatures, supported platforms and the MIT/Unlicense dual license as stated in the README.github.com/BurntSushi/ripgrep
- DocumentedThe latest release ships binaries for Windows, macOS and Linux.github.com/BurntSushi/ripgrep