CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo]

Dag-Erling Smørgrav des at des.no
Tue Jun 17 10:08:41 UTC 2008


Andrey Chernov <ache at nagual.pp.ru> writes:
> "Dag-Erling Smørgrav" <des at des.no> writes:
> > We don't have a locale-aware regex implementation.  Henry Spencer
> > wrote one for Tcl 8, and it seems to be under an MIT-equivalent
> > license, but I'm not sure how hard it would be to extirpate.  It
> > might be easier to lift it from PostgreSQL, which also uses it.
> No, we have it already for many years (libc/regexec).

I hadn't noticed...  ISTR it was an issue back when jphoward wrote his
BSD-licensed grep.

However, it's not the same engine - it's Spencer's old engine with
multibyte support added.  IIRC, it performs very poorly compared to the
GNU regexp engine; it would be interesting to see how well the Tcl
engine performs in comparison.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list