[Bug 223532] egrep -i is terrible slow if utf-8 locale is enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 9 09:02:05 UTC 2017


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

--- Comment #2 from Wolfram Schneider <wosch at FreeBSD.org> ---
I'm using the standard egrep from the base system

$ /usr/bin/egrep -V
egrep (GNU grep) 2.5.1-FreeBSD

for bsdgrep I get:
$ /usr/bin/bsdgrep -V
bsdgrep (BSD grep, GNU compatible) 2.6.0-FreeBSD

LANG=en_CA.UTF-8 time bsdgrep  -c foobar /tmp/tcsh400
0
        0.50 real         0.47 user         0.02 sys
LANG=en_CA.UTF-8 time bsdgrep  -ci foobar /tmp/tcsh400
0
        2.09 real         2.04 user         0.04 sys

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


More information about the freebsd-bugs mailing list