每天多一点

Grep Command Returns Grep Invalid Option

Mar 2, 2021

报错如下:

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

  • Logo Gmail (2015-2020) [email protected]
  • childe

powered with git pages & jekyll