grep:Binary file (standard input) matches

来源:互联网 发布:ubuntu安装run文件 编辑:程序博客网 时间:2024/06/06 17:40

grep "key" xxx.log时输出

Binary file xxx.log matches

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

grep -a "key" xxx.log

0 0
原创粉丝点击