grep
Install command:
brew install grepGNU grep, egrep and fgrep
https://www.gnu.org/software/grep/
License: GPL-3.0-or-later
Formula JSON API: /api/formula/grep.json
Formula code: grep.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
tahoe | ✅ |
|---|---|---|
| sequoia | ✅ | |
| sonoma | ✅ | |
| ventura | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| ventura | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ | |
Current versions:
| stable | ✅ | 3.12 |
| head | ⚡️ | HEAD |
Depends on:
| pcre2 | 10.47 | Perl compatible regular expressions library with a new API |
Depends on when building from source:
| pkgconf | 2.5.1 | Package compiler and linker metadata toolkit |
| All commands have been installed with the prefix "g". If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH from your bashrc like: PATH="$HOMEBREW_PREFIX/opt/grep/libexec/gnubin:$PATH" |
Analytics:
| Installs (30 days) | |
|---|---|
grep |
5,165 |
grep --HEAD |
6 |
| Installs on Request (30 days) | |
grep |
3,617 |
grep --HEAD |
6 |
| Build Errors (30 days) | |
grep |
0 |
| Installs (90 days) | |
grep |
15,087 |
grep --HEAD |
18 |
| Installs on Request (90 days) | |
grep |
10,608 |
grep --HEAD |
18 |
| Installs (365 days) | |
grep |
62,745 |
grep --HEAD |
90 |
| Installs on Request (365 days) | |
grep |
42,366 |
grep --HEAD |
90 |