]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bsdgrep: annihilate our in-tree TRE, previously disabled by default
authorkevans <kevans@FreeBSD.org>
Fri, 4 May 2018 03:13:25 +0000 (03:13 +0000)
committerkevans <kevans@FreeBSD.org>
Fri, 4 May 2018 03:13:25 +0000 (03:13 +0000)
commitda653eef524903fa86546cef35f1fcec3cca6bf9
tree3bee28befdffadd2a48ebf6042fd311d8bf142e2
parent0fac2150fc0f1befa5803ca010ed63a6335847ad
bsdgrep: annihilate our in-tree TRE, previously disabled by default

It was an old TRE that had plenty of bugs and no performance gain over
regex(3). I disabled it by default in r323615, and there was some confusion
about what the knob does- likely due to poor naming on my part- to the tune
of "well, it sounds like it should speed things up" (mentioned by multiple
people).

To compound this, I have no intention of maintaining a second regex
implementation. If someone would like to step up and volunteer to maintain a
lean-and-mean implementation for grep, this is OK, but we have very few
volunteers to maintain even our primary regex implementation.
16 files changed:
share/mk/bsd.prog.mk
share/mk/src.opts.mk
tools/build/options/WITHOUT_BSD_GREP_FASTMATCH [deleted file]
tools/build/options/WITH_BSD_GREP_FASTMATCH [deleted file]
usr.bin/grep/Makefile
usr.bin/grep/grep.c
usr.bin/grep/grep.h
usr.bin/grep/regex/fastmatch.c [deleted file]
usr.bin/grep/regex/fastmatch.h [deleted file]
usr.bin/grep/regex/glue.h [deleted file]
usr.bin/grep/regex/hashtable.c [deleted file]
usr.bin/grep/regex/hashtable.h [deleted file]
usr.bin/grep/regex/tre-compile.c [deleted file]
usr.bin/grep/regex/tre-fastmatch.c [deleted file]
usr.bin/grep/regex/tre-fastmatch.h [deleted file]
usr.bin/grep/util.c