デフォルトでgrepがバイナリファイルを無視しないのはなぜですか?
のマンページでgrepは、-Iフラグについて次のように説明しています。 -I Ignore binary files. This option is equivalent to --binary-file=without-match option. また、バイナリファイルについても次のように述べています。 --binary-files=value Controls searching and printing of binary files. Options are binary, the default: search binary files but do not print them; without-match: do not search binary files; and text: treat all files as text. バイナリファイルの一致を気にするシナリオは考えられません。そのようなシナリオが存在する場合、それは通常ではなく例外でなければなりません。grepこのフラグを設定する必要がなく、デフォルトでバイナリファイルを無視しないのはなぜですか?