From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 16 15:29:06 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E0BA1065675 for ; Mon, 16 Jun 2008 15:29:06 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id D0C4E8FC24 for ; Mon, 16 Jun 2008 15:29:05 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 26363 invoked by uid 399); 16 Jun 2008 15:29:05 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 16 Jun 2008 15:29:05 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <485686BE.6070800@FreeBSD.org> Date: Mon, 16 Jun 2008 08:29:02 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.14 (X11/20080606) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <485453F2.60507@FreeBSD.org> <4854BC29.3060507@FreeBSD.org> <4854C96A.1080603@aueb.gr> <48556AAD.9010602@t-hosting.hu> <20080615212613.GA97326@nagual.pp.ru> <4855EDFE.3010708@FreeBSD.org> <86bq211rqw.fsf@ds4.des.no> In-Reply-To: <86bq211rqw.fsf@ds4.des.no> X-Enigmail-Version: 0.95.6 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: current@freebsd.org, Andrey Chernov , Diomidis Spinellis , hackers@freebsd.org, K?vesd?n G?bor , "Sean C. Farley" , Max Khon Subject: Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2008 15:29:06 -0000 Dag-Erling Smørgrav wrote: > Doug Barton writes: >> Andrey Chernov writes: >>> 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. Ok, that's a slightly different situation, thanks for clarifying that. Sounds like that would be a good project for GSOC next year. :) Meanwhile, for those who didn't notice last night (*cough*) I added the WITHOUT_GNU_GREP knob for src.conf to make it easier for folks to test this in HEAD. hth, Doug -- This .signature sanitized for your protection