grep

Install command:
brew install grep

GNU 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
sequoia
sonoma
ventura
monterey
macOS on
Intel
sonoma
ventura
monterey
Linux ARM64
x86_64

Current versions:

stable 3.11
head ⚡️ HEAD

Depends on:

pcre2 10.45 Perl compatible regular expressions library with a new API

Depends on when building from source:

pkgconf 2.4.3 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 3,592
grep --HEAD 4
Installs on Request (30 days)
grep 2,117
grep --HEAD 5
Build Errors (30 days)
grep 1
Installs (90 days)
grep 10,121
grep --HEAD 19
Installs on Request (90 days)
grep 6,311
grep --HEAD 20
Installs (365 days)
grep 45,167
grep --HEAD 71
Installs on Request (365 days)
grep 26,339
grep --HEAD 71
Fork me on GitHub