[Bug 218806] bsdgrep(1)'s -o flag with context is completely wrong

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Apr 2024 08:04:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218806

Wolfram Schneider <wosch@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wosch@FreeBSD.org
             Blocks|                            |230332
             Status|New                         |Open

--- Comment #1 from Wolfram Schneider <wosch@FreeBSD.org> ---
I can reproduce that bsdgrep is different than gnugrep in this example.

However, ripgrep behaves like bsdgrep and highlights the "pig" part of the
output in red on an interactive terminal.

Should we close the issue since it works as intended?


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230332
[Bug 230332] TRACKING: bsdgrep as /usr/bin/grep
-- 
You are receiving this mail because:
You are the assignee for the bug.