抱着个错误是因为grep不能处理二进制的文件,
-a, --text
Process a binary file as if it were text; this is equivalent to the --binary-files=text option.
这个时候加上-a参数就解决了
抱着个错误是因为grep不能处理二进制的文件,
Process a binary file as if it were text; this is equivalent to the --binary-files=text option.
这个时候加上-a参数就解决了
转载于:https://www.cnblogs.com/welkinwalker/archive/2011/05/18/2049903.html