bug#23185: GNU grep matching discrepancy between -a/--text and not.

2016-04-06 Thread Paul Eggert
Thanks for pointing out the seeming inconsistency. The documentation mentions the issue but is perhaps not clear enough, so I installed the attached patch. The input file contains NUL bytes and so is treated as binary data, and the grep documentation (secton "File and Directory Selection",

bug#23185: GNU grep matching discrepancy between -a/--text and not.

2016-04-02 Thread Shlomi Fish
Hi all, as can be seen in this repository: https://github.com/shlomif/gnu-grep-trailing-space-and-CR-on-riddles.he-false-match GNU grep says a document it suspects to be binary matches without -a/--text and doesn't match it or return results with that flag applied. perl sides with the latter.