4 ms·
The message that a binary file matches is now sent to standard error and the message has been reworded from "Binary file FOO matches" to "grep: FOO: binary
by tyingq 6y ago
The message that a binary file matches is now sent to standard error
and the message has been reworded from "Binary file FOO matches" to
"grep: FOO: binary file matches"
Bet that breaks a few scripts, though they should be checking the exit value, not stdout or stderr.
- freedomben 6y agoIronically, I see a lot of greps piped to grep to remove "Binary file FOO matches" from grep. some_command_generates_output \ | grep "some.expression" \ | grep -Ev 'Binary.file.*matches'