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@FreeBSD.org
          Reporter: alex.dei...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to