bug#63780: Reversing the grep message output type matching binary files (without the -a option added) changed from stdout to stderr

2023-06-01 Thread L A Walsh
On 2023/05/31 17:38, Paul Eggert wrote: On 2023-05-30 14:01, g...@tlinx.org wrote: Why is finding the desired text in a binary file not a "positive finding" as it is in a text file? But it is a positive finding. Grep exits with zero status, which is a positive result. There is n

bug#63780: Reversing the grep message output type matching binary files (without the -a option added) changed from stdout to stderr

2023-06-01 Thread Paul Eggert
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 pr

bug#63780: Reversing the grep message output type matching binary files (without the -a option added) changed from stdout to stderr

2023-06-01 Thread L A Walsh
On 2023/06/01 14:18, Paul Eggert wrote: 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