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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"