On Mon, Jan 9, 2023 at 10:16 PM Paul Eggert wrote:
> Here's a shell session illustrating the problem on Fedora 37, which has
> GNU grep 3.7. The same bug is still in bleeding-edge GNU grep.
>
>$ export LC_ALL=en_US.utf8
>$ printf '\300\n' | grep '\b'
>grep: (standard input): binary fil
Here's a shell session illustrating the problem on Fedora 37, which has
GNU grep 3.7. The same bug is still in bleeding-edge GNU grep.
$ export LC_ALL=en_US.utf8
$ printf '\300\n' | grep '\b'
grep: (standard input): binary file matches
$ printf '\300\n' | grep -P '\b'
$
Plain grep fin