v 3.12 Updated: 6 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
| Installations | 318 |
| Requested Installations | 165 |