[Bug 184733] bsdgrep(1) doesn't match a regular expression containing "|" against UTF-16 file [regression]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 21 04:00:23 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184733

--- Comment #2 from Kyle Evans <bsdports at kyle-evans.net> ---
(In reply to Kyle Evans from comment #1)

Also worth noting: this equivalent test on a relatively recent Debian machine:

> grep (GNU grep) 2.27

$ echo abc > testfile
$ iconv -f ASCII -t UTF-16LE testfile > utftestfile
$ egrep -c "a.b" /tmp/utftestfile
0
$ egrep -c "a.b|d" /tmp/utftestfile
0

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list