[Bug 242308] grep -b, --byte-offset returns 0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 2 18:11:24 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242308

Ed Maste <emaste at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste at freebsd.org

--- Comment #2 from Ed Maste <emaste at freebsd.org> ---
Thank you for the report.

I build WITH_BSD_GREP and it doesn't have this problem:

% grep --version
grep (BSD grep) 2.6.0-FreeBSD
% a='now is the time for all good men to come to the aid of the party'
% echo $a | grep -b -o good
24:good

The most likely fix for this in FreeBSD is to wrap up the rest of the work to
make BSD_GREP the default.

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


More information about the freebsd-bugs mailing list