How can I search for string --version= using grep in OSX bash?When I try something like this: grep -rI --exclude-dir=out --version= .I get grep: option `--version' doesn't allow an argument
OSX bash. grep for string --version=
bash;grep;osx
Try doing this :grep -rI --exclude-dir=out -- --version= .grep 'see' --version as a switch, so there's need to say : end of arguments with --