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

From: Andrey Chernov <ache_at_nagual.pp.ru>
Date: Tue, 17 Jun 2008 04:22:25 +0400
On Mon, Jun 16, 2008 at 02:36:23PM +0200, Dag-Erling Sm??rgrav wrote:
> > > Please note that BSD grep is not localized (and can't be per design)
> > > and works only with standard C locale. It may not affect ports
> > > system processing but shurely affects real texts handling.
> > That is very troubling. In this day and age localization is a
> > requirement. I cannot imagine being supportive of adding something to
> > the base that does not have this capability.
> 
> 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).
BSD grep problem is different one, they use upper half of 256 char table 
on their own.

-- 
http://ache.pp.ru/
Received on Mon Jun 16 2008 - 22:22:47 UTC

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