4 ms·
In case it helps anyone else, to install GNU grep on OSX using homebrew I did brew tap homebrew/dupes brew install --default-names homebrew/dupes/grep fol
by Myrmornis 13y ago
In case it helps anyone else, to install GNU grep on OSX using homebrew I did
brew tap homebrew/dupes
brew install --default-names homebrew/dupes/grep
following http://www.heystephenwood.com/2013/09/install-gnu-grep-on-mac-osx.html http://www.heystephenwood.com/2013/09/install-gnu-grep-on-ma...
- agnokapathetic 13y agoBe careful with: --default-names do not prepend 'g' to the binary On OS X (a BSD derivative with BSD-grep), --default-names will put GNU grep in your path. A lot of things in OS X depend on BSD sed/awk/grep. Omitting --default-names links then GNU variants to ggrep/gsed/gawk.