Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2017 20:50:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 218858] bsdgrep: search for as a word (-w) option is broken
Message-ID:  <bug-218858-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218858

            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.deiter@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!

--=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-218858-8>