美文网首页
grep 出错提示grep: (standard input):

grep 出错提示grep: (standard input):

作者: 布懂 | 来源:发表于2022-03-02 17:34 被阅读0次

在执行 grep 命令时出现````grep: (standard input): binary file matches```

$ tidevice -u 54be2e6fe05b210b424a2a9f134203da9b8b0053 syslog|grep gameRoundId
grep: (standard input): binary file matches

解决办法:
在grep 添加参数 "-a" 忽略二进制
-a, --text equivalent to --binary-files=text

更多参数使用方法grep --help 或可以参考grep

相关文章

网友评论

      本文标题:grep 出错提示grep: (standard input):

      本文链接:https://www.haomeiwen.com/subject/ieherrtx.html