grep (sysutils/grep) Updated: 11 months, 1 week ago Add to my watchlist

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.

Version: 3.11 License: GPL-3+ GitHub
Maintainers Schamschula
Categories sysutils
Homepage https://www.gnu.org/software/grep/grep.html
Platforms darwin
Variants
  • universal (Build for multiple architectures)

"grep" depends on

lib (2)
extract (1)
xz
build (2)

Ports that depend on "grep"





Port notes

This port previously installed itself without a g* prefix, thus overshadowing system binaries such as grep, fgrep, and egrep. The port is now changed so that it does install with a g* prefix, like other GNU ports. This means that you'll now find GNU grep at ${prefix}/bin/ggrep. If you dislike typing ggrep, you can create a shell alias or you can add ${prefix}/libexec/gnubin to your PATH, wherein non-g* prefixed symlinks are installed. In other words, ${prefix}/libexec/gnubin contains GNU binaries without any prefix to the file names, so you can type grep and get GNU grep just as before.


Port Health:

Loading Port Health

Installations (30 days)

301

Requested Installations (30 days)

147