On 2024-01-19 17:22, Sam James wrote:
If you cannot reproduce this with the latest release of GNU grep (3.11),
please report it to RHEL instead.

It works OK for me with 3.11.

For what it works, it also works for me with grep 3.1 running on RHEL 8.5, in the C locale.

One possibility is that 'grep' is a user-interposed shell script that is adding some options of some sort. Or perhaps the GREP_OPTIONS environment variable is set to something squirrelly in the environment (this environment variable was dropped in grep 3.6 partly because of bug reports like this one).

The user can determine this by running the shell commands "type grep" and "env" and inspecting their outputs.



Reply via email to