grep:Binary file (standard input) matches

grep:Binary file (standard input) matches

分类: 计算机基础 1473人阅读 评论(0) 收藏 举报

grep "key" xxx.log时输出

Binary file xxx.log matches

百度了一下:grep认为这是二进制文件,解决方案:grep -a。

grep -a "key" xxx.log

posted @ 2012-04-09 15:27  SophiaTang  阅读(530)  评论(0编辑  收藏  举报