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

Bottle JSON API: /api/bottle/grep.json

Formula code: grep.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 3.8

Revision: 1

Depends on:

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

Analytics (macOS):

Installs (30 days)
grep 44,328
Installs on Request (30 days)
grep 27,585
Build Errors (30 days)
grep 0
Installs (90 days)
grep 76,228
Installs on Request (90 days)
grep 44,216
Installs (365 days)
grep 205,345
Installs on Request (365 days)
grep 155,311

Analytics (Linux):

Installs (30 days)
grep 219
Installs on Request (30 days)
grep 206
Build Errors (30 days)
grep 0
Installs (90 days)
grep 410
Installs on Request (90 days)
grep 378
Installs (365 days)
grep 979
Installs on Request (365 days)
grep 853
Fork me on GitHub