I tried to use grep to match one pattern on the terminal, but n
o any result comes out.
$ grep -R 'networks'
grep: warning: recursive search of stdin
I knew grep on macOS is based on BSD while grep on Ubuntu is based on GNU.
How to make 'grep' work on macOS like in Ubuntu?
grepis not included in thecoreutilspackage inbrewbut in its own package calledgrep– fejese Nov 17 '17 at 16:54ggrep(leading g) now. – dotancohen Sep 05 '18 at 10:08