From owner-freebsd-current Sun Apr 7 3:55:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 98BBA37B417 for ; Sun, 7 Apr 2002 03:55:41 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.2/8.12.2) with ESMTP id g37Atcx7065228; Sun, 7 Apr 2002 14:55:40 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.2/8.12.2/Submit) id g37AtcGX065227; Sun, 7 Apr 2002 14:55:38 +0400 (MSD) Date: Sun, 7 Apr 2002 14:55:37 +0400 From: "Andrey A. Chernov" To: "Tim J. Robbins" Cc: freebsd-current@FreeBSD.ORG Subject: Re: NetBSD sort l10n: I give up! Message-ID: <20020407105537.GA65170@nagual.pp.ru> References: <20020407204013.A20639@treetop.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020407204013.A20639@treetop.robbins.dropbear.id.au> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 20:40:13 +1000, Tim J. Robbins wrote: > > It works. It assumes the string strxfrm() outputs is the same length as > its input, which is always possible, and true on FreeBSD. It seems you try follow the same path as me :-) No, it not works since breaks so many other places. Please run some tests before posting the first idea comes into mind. I suggest following test first: none,-r,-f,-n combination for all FreeBSD locales compared to GNU sort. The next test is -R option in 0.255 range for all locales. Before you end up building correct tables for ascii,Rascii,Ftable,RFtable, I can inform you that correct tables for them breaks -n badly. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message