grep

v 3.12 Updated: 4 months, 3 weeks ago

grep prints lines that contain a match for a pattern

Grep searches one or more input files for lines containing a match to a specified pattern. By default, grep prints the matching lines.

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

To install grep, paste this into the macOS Terminal after installing MacPorts

sudo port install grep

Add to my watchlist

Installations 315
Requested Installations 171