On 02/02/2018 12:09 PM, L A Walsh wrote:
Grep was able to find text strings in mboxes without a POSIX
definition telling it that it was "broken".

It's not a question of POSIX telling us what to do. It's a question of what is a good thing for GNU grep to do, and making sure that this behavior conforms to POSIX (at least if POSIXLY_CORRECT is set).

When grep encounters binary data, there are different "good" things to do depending on the application, so grep has options. The behavior you're asking for is available as an option. As I understand it, the main point of your bug report is that you want the option to be the default behavior. However, that would adversely affect some other common uses of grep and it's not clear that it's a good idea.




Reply via email to