html tool

2023年3月7日星期二

转:grep 提示“binary file (standard input) matches”

 转:https://unix.stackexchange.com/questions/335716/grep-returns-binary-file-standard-input-matches-when-trying-to-find-a-string

You can use grep -a 'pattern'.

from man grep page:

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

没有评论:

发表评论