阿斯顿阿斯顿 发表于 2018-6-17 11:15:59

grep 二进制文件grep "AMI" 2012-11-23.log Binary file 2012-11-23.log matches

  错误是因为grep不能处理二进制的文件,加上-a
-a, --text  Process a binary file as if it were text; this is equivalent to the --binary-files=text option.
页: [1]
查看完整版本: grep 二进制文件grep "AMI" 2012-11-23.log Binary file 2012-11-23.log matches