Date: Mon, 02 Dec 2019 18:11:22 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 242308] grep -b, --byte-offset returns 0 Message-ID: <bug-242308-227-VAXeqEAVXS@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-242308-227@https.bugs.freebsd.org/bugzilla/> References: <bug-242308-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242308 Ed Maste <emaste@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #2 from Ed Maste <emaste@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=3D'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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242308-227-VAXeqEAVXS>