バイナリファイルの標準入力が一致する



Binary File Standard Input Matches



Linuxでgrepコマンドを使用して、次のようにファイルから特定の情報を取得します。

cat file name | grep Specific conditions cat xxxx | grep 12345

結果はエラーです:
バイナリファイル(標準入力)が一致するクエリ後、つまりファイルがバイナリファイルであるため、直接grepすることはできません
解決:



cat file name | grep -a specific conditions cat xxxx | grep -a 12345