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:

Intel ventura
monterey
big sur
64-bit linux
Apple Silicon ventura
monterey
big sur

Current versions:

stable 3.11
head ⚡️ HEAD

Depends on:

pcre2 10.42 Perl compatible regular expressions library with a new API

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries
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 18,503
Installs on Request (30 days)
grep 9,682
Build Errors (30 days)
grep 0

Analytics (macOS):

Installs (90 days)
grep 2,052
Installs on Request (90 days)
grep 1,648
Installs (365 days)
grep 184,251
Installs on Request (365 days)
grep 103,895

Analytics (Linux):

Installs (90 days)
grep 1
Installs on Request (90 days)
grep 1
Installs (365 days)
grep 1,170
Installs on Request (365 days)
grep 789
Fork me on GitHub