[Bug 218858] bsdgrep: search for as a word (-w) option is broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 24 20:50:31 UTC 2017


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

            Bug ID: 218858
           Summary: bsdgrep: search for as a word (-w) option is broken
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: alex.deiter at gmail.com

Hello,

bsdgrep search for as a word (-w) option is broken:

$ echo AUTHN_SOCACHE CACHE | /usr/local/bin/pcregrep -qw CACHE ; echo $?
0

$ echo AUTHN_SOCACHE CACHE | /usr/bin/grep -qw CACHE ; echo $?
1

$ grep --version
grep (BSD grep) 2.5.1-FreeBSD

Was found by www/apache24 port :-)

Thank you!

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


More information about the freebsd-bugs mailing list