v 3.12 Updated: 8 months, 1 week 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
| Installations | 303 |
| Requested Installations | 161 |