grep -b, --byte-offset returns 0
Jonesy
SPAM_TRAP_gmane at jonz.net
Sat Nov 30 00:29:07 UTC 2019
(I'm not sure if I can post to this list via nntp/gmane...)
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 at nix5:~$ a='now is the time for all good men to come to the aid of the party'
jonesy at 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
I have just now created a login at bugs.freebsd.org/bugzilla/
and reported this bug there, but I am unsure if I did it all
correctly. :-)
Can someone confirm my findings?
Thank you,
Jonesy
--
Marvin L Jones | Marvin | W3DHJ.net | linux
38.238N 104.547W | @ jonz.net | Jonesy | FreeBSD
* Killfiling google & XXXXbanter.com: jonz.net/ng.htm
More information about the freebsd-questions
mailing list