--Environment - Windows10 Pro 64bit - grep (GNU grep) 3.1
Binary file (standard input) matches
$ grep hoge text_file.txt
Binary file (standard input) matches
[The cause and solution that "Binary file (standard input) matched" is displayed in Linux grep search --r_nobu homepage](https://nobuneko.com/blog/archives/2013/04/linux_grep_binary_files_text. html)
-a
option to specify that the file is a text file.$ grep -a hoge text_file.txt
hoge
fugahoge
Recommended Posts