zlacker

[parent] [thread] 1 comments
1. LukeSh+(OP)[view] [source] 2018-11-13 04:15:10
Interesting. What does `type grep` say? Is it possible that it's /usr/local/bin/grep from homebrew/macports/…, and that /usr/bin/grep is BSD grep?

I found a comment claiming that prior to 10.8 (2012, Mountain Lion) it used GNU grep, but nothing I'd feel comfortable citing.

replies(1): >>yesena+I7
2. yesena+I7[view] [source] 2018-11-13 06:17:31
>>LukeSh+(OP)

  $ type grep
  grep is hashed (/usr/bin/grep)
It does seem to be the original grep for this machine (it's a Mac Mini) - it has the same Jan 2006 date as most of the files in /usr/bin, and nothing has an earlier date. There's no other file called grep elsewhere.
[go to top]