Date: Sat, 30 Nov 2019 00:07:37 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 242308] grep -b, --byte-offset returns 0 Message-ID: <bug-242308-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242308 Bug ID: 242308 Summary: grep -b, --byte-offset returns 0 Product: Base System Version: 12.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: marvin@jonz.net (My brand new login - first time reporting a bug - apologies if...) grep'ping for a byte offset always returns 0 for the result. Searching "FreeBSD Bugzilla – Bug List" shows no other reports. Ubuntu 16.04: jonesy@nix5:~$ a='now is the time for all good men to come to the aid of the party' jonesy@nix5:~$ echo $a | grep -b -o good 24:good FreeBSD 12.1 [jonz~]a='now is the time for all good men to come to the aid of the party' [jonz~]echo $a | grep -b -o good 0:good -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242308-227>
