grep

Install command:
brew install grep

GNU grep, egrep and fgrep

https://www.gnu.org/software/grep/

License: GPL-3.0-or-later

/api/formula/grep.json (JSON API)

Formula code on GitHub

Current versions:

stable 3.6
bottle 🍾 big_sur, catalina, mojave, high_sierra

Depends on:

pcre 8.44 Perl compatible regular expressions library

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="$(brew --prefix)/opt/grep/libexec/gnubin:$PATH"

Analytics:

Installs (30 days)
grep 13,837
grep --with-default-names 1
Installs on Request (30 days)
grep 12,651
grep --with-default-names 1
Build Errors (30 days)
grep 0
Installs (90 days)
grep 31,367
grep --with-default-names 2
Installs on Request (90 days)
grep 28,690
grep --with-default-names 2
Installs (365 days)
grep 85,595
grep --with-default-names 7
Installs on Request (365 days)
grep 78,255
grep --with-default-names 5
Fork me on GitHub