我使用的是Mac OS X v10.9.1(小牛队)。偶尔在我的终端中,我会运行 grep 命令,例如:
grep -i -s 'mystring' *
有没有办法在运行 grep 时将“-s”(--no-messages)选项设为默认值?
grep macos
grep ×1
macos ×1