grep returns Binary file (standard input) matches

作者:佚名 上传时间:2019-06-01 版权申诉

The grep -a, --text option may be of use to you. This will force grep to actually print the contents of the file.

If you are looking to fix the actual file, I would say open it up in an editor and resave it and see what that does.

grep returns Binary file (standard input) matches

免责申明:文章和图片全部来源于公开网络,如有侵权,请通知删除 server@dude6.com

用户评论
相关推荐
grep returns Binary file (standard input) matches
The grep -a, --text option may be of use to you. This will force
在Shell中使用grep命令时遇到'Binary file (standard input) matches'错误
这个错误通常表示你在二进制文件上使用了grep命令,而不是文本文件。grep默认会尝试解析文件内容,但当文件被识别为二进制文件时,它会报这个错误。要解决这个问题,你可以通过添加'-a'或'--tex
N/A
Shell
2023-11-28 11:55
Linux中使用grep命令时出现“Binary file (standard input) matches”错误怎么办?
这个错误通常表示你正在尝试对二进制文件执行grep操作。要解决这个问题,你可以使用grep命令的\"-a\"选项,强制它将文件视为文本文件而不是二进制文件。例如,使用命令\"grep -a 'your
Linux
grep
2023-11-12 21:35
在Shell中使用grep命令时出现"binary file matches"错误
这个错误通常是由于grep尝试搜索二进制文件而不是文本文件导致的。这可能是因为你的目标文件包含了二进制数据,而不是纯文本。要解决这个问题,你可以尝试使用grep命令的\"-a\"选项,强制它将文件视为
N/A
grep
2024-03-06 06:23
在Shell中使用grep命令时遇到 'binary file matches' 报错怎么办?
当在Shell中使用grep命令时,出现 'binary file matches' 报错通常是因为grep尝试在二进制文件中查找匹配项,而不是文本文件。这可能导致在处理非文本文件时产生错误的输出。要
Linux Shell
grep
2023-11-30 02:11
27.12. standard input/output
27.12.1. xargs - build and execute command lines from standard input
5.12. standard input/output
5.12.1. xargs - build and execute command lines from standard input
binary file splite
文件分割合并,binary file splite and merge .这个工具很好。
ZIP
0B
2018-12-26 01:12
Binary To Hex file
二进制数据文件转换为 16进制 0xFF 文件 C 语言,VC 6.0 Project
RAR
28KB
2020-08-22 13:58
在Unix系统中,当我尝试使用grep命令时遇到了"binary file matches"错误,该如何解决?
这个问题通常是由于grep在搜索二进制文件时出现的。grep默认会将非文本文件视为二进制文件,因此在搜索时可能会出现\"binary file matches\"错误。要解决这个问题,可以使用\"-a
Unix
grep
2023-11-16 07:09