by shigemk2

当面は技術的なことしか書かない

grep -I

同僚のアメリカ人からの豆知識。

検索時にバイナリファイルを無視する。

なので、画像ファイルなどは無視される。

man grep

-I     Process a binary file as if it did not contain matching data; this is equivalent to the --binary-files=without-match option.