Grep Command Returns Grep Invalid Option
报错如下:
grep: invalid option -- '='
Usage: grep [OPTION]... PATTERN [FILE]...
Try grep --help for more information.`
答案:
In case this isn’t yet fixed, see if there is any file in the directory that starts with a ‘-‘.
https://askubuntu.com/questions/165320/every-grep-command-returns-grep-invalid-option