[Bug 258616] fgrep fails to find string that is present

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 22 Sep 2021 14:19:07 UTC

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
                 CC|                            |emaste@freebsd.org

--- Comment #4 from Ed Maste <emaste@freebsd.org> ---
(As expected) testcase works correctly on FreeBSD 13+ with BSD grep. It should
be available on FreeBSD 12 as /usr/bin/bsdgrep and you could use that in a
script, or install it as /usr/bin/grep if that's feasible for you. I will see
about making sure all of the build infrastructure to support WITH_BSD_GREP is
available in 12.x.

It's a bit of an unfortunate situation to fix GNU grep in the tree for 12.x
though; GNU grep in the base system is not expected to receive an update, and
GNU grep is GPLv3+. Assuming the change you identified would apply to the older
grep version we have (without needing significant extra work) we could see if
it is possible to obtain that change licensed as GPLv2+.

You are receiving this mail because:
You are the assignee for the bug.