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

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Tue, 17 Jun 2008 12:08:38 +0200
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
Received on Tue Jun 17 2008 - 08:08:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC