2016-08-27 1 views
0

文字列を含むファイルを検索するにはどうすればいいですか?--->文字列 "--->"のgrep

$ cat arrow 
---> 
$ grep ---> * 
-bash: *: ambiguous redirect 
$ grep "--->" * 
grep: unrecognized option '--->' 
Usage: grep [OPTION]... PATTERN [FILE]... 
Try `grep --help` for more information. 
$ grep "\-\-\-\>" * 
$ 

答えて

関連する問題