grep Beta
user@machine:~$ man grep
Rust implementation of GNU grep: grep, egrep and fgrep.
This project aims to be a drop-in replacement of the original commands.
Goals
This project aims to be a drop-in replacement for GNU grep. Differences with GNU are treated as bugs.
Installation
Homebrew (macOS, Linux)
brew install uutils-grep
The command is installed as uu-grep. To use it under its normal name, add the uubin directory to your PATH:
export PATH="$(brew --prefix)/opt/uutils-grep/libexec/uubin:$PATH"
See the Homebrew formula.
Debian
Available in Debian unstable:
sudo apt install rust-grep
The command is installed as rust-grep; the unprefixed binary is available at /usr/lib/cargo/bin/grep/grep.
See the Debian package tracker.
Contributing
To contribute to uutils grep, please see CONTRIBUTING.
License
uutils grep is licensed under the MIT License - see the LICENSE file for details.
GNU grep is licensed under the GPL 3.0 or later.