0
如何搜索包含字符串--->
的文件?grep爲字符串「--->」
$ cat arrow
--->
$ grep ---> *
-bash: *: ambiguous redirect
$ grep "--->" *
grep: unrecognized option '--->'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help` for more information.
$ grep "\-\-\-\>" *
$