From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 17 10:29:29 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 AC544106567D; Tue, 17 Jun 2008 10:29:29 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id E73058FC13; Tue, 17 Jun 2008 10:29:28 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.2/8.14.2) with ESMTP id m5HAT1sT046597; Tue, 17 Jun 2008 14:29:01 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1213698541; bh=yYDa1GSu7tO2lZ67fnH4O8zn8mqsSLhObtc7Jd+ PEd4=; l=812; h=Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=n99TnG9DP882w7Q5c26ooX4d+ H01c2E4M9tD53jXFBLAMTyySX9B3PtWYAmGnjgYxcBSJRpVTlvLqLmuUSKS5wpG1S7V OGbBc6L3kSvF1z/I9L00po+WNk776S/wSJ5yHnNvYeqVdXVKjyb0Fg7C7f/bjye2iXU CwMBOzx7PzmA= Received: (from ache@localhost) by nagual.pp.ru (8.14.2/8.14.2/Submit) id m5HAT1nB046595; Tue, 17 Jun 2008 14:29:01 +0400 (MSD) (envelope-from ache) Date: Tue, 17 Jun 2008 14:29:00 +0400 From: Andrey Chernov To: Konrad Jankowski Message-ID: <20080617102900.GA46479@nagual.pp.ru> Mail-Followup-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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48577BD2.4070205@bluemedia.pl> User-Agent: Mutt/1.5.18 (2008-05-17) X-Mailman-Approved-At: Tue, 17 Jun 2008 11:23:47 +0000 Cc: Doug Barton , current@FreeBSD.ORG, Diomidis Spinellis , hackers@FreeBSD.ORG, Gabor Kovesdan , Dag-Erling Sm??rgrav , Max Khon , "Sean C. Farley" , K?vesd?n G?bor 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:29:29 -0000 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. -- http://ache.pp.ru/