From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 17 10:58:16 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 B09EF106567D; Tue, 17 Jun 2008 10:58:16 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from viefep31-int.chello.at (viefep31-int.chello.at [62.179.121.49]) by mx1.freebsd.org (Postfix) with ESMTP id 7B3038FC22; Tue, 17 Jun 2008 10:58:15 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from [89.134.207.231] by viefep31-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20080617105813.BXMU25153.viefep31-int.chello.at@[89.134.207.231]>; Tue, 17 Jun 2008 12:58:13 +0200 Message-ID: <485798C4.2050605@FreeBSD.org> Date: Tue, 17 Jun 2008 12:58:12 +0200 From: Gabor Kovesdan User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Andrey Chernov , Konrad Jankowski , Diomidis Spinellis , Gabor Kovesdan , Dag-Erling Sm??rgrav , Doug Barton , K?vesd?n G?bor , hackers@FreeBSD.ORG, current@FreeBSD.ORG, "Sean C. Farley" , Max Khon References: <48556AAD.9010602@t-hosting.hu> <20080615212613.GA97326@nagual.pp.ru> <4855EDFE.3010708@FreeBSD.org> <86bq211rqw.fsf@ds4.des.no> <20080617002224.GA16122@nagual.pp.ru> <20080617002808.GB16122@nagual.pp.ru> <20080617004647.GA16546@nagual.pp.ru> <48576610.9080808@FreeBSD.org> <48577510.4020007@aueb.gr> <48577BD2.4070205@bluemedia.pl> <20080617102900.GA46479@nagual.pp.ru> In-Reply-To: <20080617102900.GA46479@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 17 Jun 2008 11:24:06 +0000 Cc: 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: Tue, 17 Jun 2008 10:58:16 -0000 Andrey Chernov escribió: > On Tue, Jun 17, 2008 at 10:54:42AM +0200, Konrad Jankowski wrote: > >> Diomidis Spinellis wrote: >> >>> Gabor Kovesdan wrote: >>> >>>> In case of sort, I understarnd that it should explicitly handle wide >>>> characters due to the different alphabet of the different languages >>>> and yes, that seems to be a difficult task... >>>> >>> Note that Konrad Jankowski in another SoC project is adding to our C >>> library support for the Unicode collation algorithm, and importing the >>> corresponding language-specific collation tables. >>> >>> >>> >> Yes, and once this is done, sort will work out of he box, if it uses >> strcoll. Already tried on a prototype. >> > > Only GNU sort for multibyte chars. BSD sort is programmed too badly and > can't be fixed even for single byte sorting. > BSD sort was going to be the next item of my SoC project. As it is so badly constructed would it be reasonable to give more priority to BSD diff and continue with that one? Gábor