抱着个错误是因为grep不能处理二进制的文件,

-a, --text

              Process a binary file as if it were text; this is equivalent to the --binary-files=text option. 

这个时候加上-a参数就解决了 

相关文章:

  • 2021-12-14
  • 2021-12-09
  • 2021-12-15
  • 2021-08-29
  • 2021-09-02
  • 2022-01-30
  • 2021-08-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-17
  • 2022-12-23
  • 2021-09-16
  • 2022-12-23
  • 2021-10-21
相关资源
相似解决方案