|
From: | Paul Eggert |
Subject: | bug#68592: Grep 3.1 does not recognize regex beginning-of-line and end-of-line anchors (^ and $). on RHEL 8.9 |
Date: | Fri, 19 Jan 2024 21:37:38 -0800 |
User-agent: | Mozilla Thunderbird |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |