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:

Apple Silicon sequoia
sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 3.11
head ⚡️ HEAD

Depends on:

pcre2 10.44 Perl compatible regular expressions library with a new API

Depends on when building from source:

pkgconf 2.3.0 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,367
grep --HEAD 5
Installs on Request (30 days)
grep 2,121
grep --HEAD 5
Build Errors (30 days)
grep 0
Installs (90 days)
grep 9,883
grep --HEAD 21
Installs on Request (90 days)
grep 5,995
grep --HEAD 21
Installs (365 days)
grep 50,020
grep --HEAD 70
Installs on Request (365 days)
grep 29,799
grep --HEAD 69
Fork me on GitHub