|
From: | Paul Eggert |
Subject: | bug#63780: Reversing the grep message output type matching binary files (without the -a option added) changed from stdout to stderr |
Date: | Thu, 1 Jun 2023 14:18:46 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
On 6/1/23 07:50, L A Walsh wrote:
I thought binary files were skipped, by default
They're not. The '--binary-files=without-match' option enables that behavior. With that option, this issue doesn't come up.
if they want to scan binary files as well as text, then positive results should be printed to stdout
Not if that would screw up the screen. This is a real problem with arbitrary binary data, with real security implications.
[Prev in Thread] | Current Thread | [Next in Thread] |