grep

v 3.8 Updated: 5 months 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 in macOS terminal after installing MacPorts

sudo port install grep

Add to my watchlist

Installations 289
Requested Installations 119