Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2017 16:53:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 218467] bug in grep -v -w
Message-ID:  <bug-218467-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 218467
           Summary: bug in grep -v -w
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: wes@lexonics.com

Not sure this bug characterization is correct, but this is how it appeared =
to
me.

Also, not sure if CURRENT is correct choice for "Version"; this is on MacOS
Sierra 10.12.4:

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

I apologize if either assumption is incorrect.

Some examples:

$ echo x xx | grep -w x
x xx
$ #CORRECT

$ echo xx x | grep -w x
xx x
$ #CORRECT

$ echo x xx | grep -v -w x
$ #CORRECT

$ echo xx x | grep -v -w x
xx x
$ #INCORRECT

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