grep:Binary file (standard input) matches

grep "key" xxx.log时输出

Binary file xxx.log matches

解决方案  grep认为这是二进制文件,解决方案:grep -a。

grep -a "key" xxx.log

posted on 2015-12-11 14:07  战神归来  阅读(1156)  评论(0编辑  收藏  举报

导航