📜  在 mac 上安装 gnu grep - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:42.055000             🧑  作者: Mango

代码示例1
brew install grep --with-default-names 

# the code above doesnt work anymore, so use the following:

brew install grep

# to use GNU, use ggrep rather than grep

ggrep -V

# Will now return GNU