[Bug 218467] bug in grep -v -w
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Apr 7 16:53:04 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218467
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 at FreeBSD.org
Reporter: wes at 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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list