From owner-freebsd-current@FreeBSD.ORG Fri May 11 13:07:49 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3BFE106566C for ; Fri, 11 May 2012 13:07:49 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id 65CA18FC0C for ; Fri, 11 May 2012 13:07:49 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id 0E5E814E755B; Fri, 11 May 2012 15:07:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at server.mypc.hu Received: from server.mypc.hu ([127.0.0.1]) by server.mypc.hu (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id w5V0Xvnm0mMn; Fri, 11 May 2012 15:07:41 +0200 (CEST) Received: from [192.168.1.117] (catv-80-98-232-12.catv.broadband.hu [80.98.232.12]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id 6A58914E7546; Fri, 11 May 2012 15:07:41 +0200 (CEST) Message-ID: <4FAD0F19.7020704@FreeBSD.org> Date: Fri, 11 May 2012 15:07:37 +0200 From: Gabor Kovesdan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120328 Thunderbird/13.0a2 MIME-Version: 1.0 To: FreeBSD Current , Oleg Moskalenko References: <4FA940F3.6080907@FreeBSD.org> In-Reply-To: <4FA940F3.6080907@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: [HEADS-UP] BSD sort coming to -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2012 13:07:49 -0000 On 2012.05.08. 17:51, Gabor Kovesdan wrote: > Hi Folks, > > Oleg Moskalenko has been working very hard on BSD sort and by now we > think it is compatible with the base version (and has even more > features, the ideas mostly taken from the latest GNU sort) and it is > efficient. I just updated the textproc/bsdsort port to the latest > version so that people can test it and I plan to commit it to HEAD in > some days, for now installed as "bsdsort", leaving GNU sort the > default version. If someone has any objection, please raise it now. > Future plans are to switch the logic and make BSD sort default once it > has undergone enough testing and finally drop GNU sort permanently if > no problems appear. > > Note that the strcoll() and wcscoll() implementations of FreeBSD are > incomplete so neither GNU sort nor the new BSD sort work 100% > correctly with multi-byte locales but once the underlying functions > are implemented, BSD sort will just work fine. As I announced before, today finally I've committed BSD sort to -CURRENT. By default, it will be "bsdsort" and GNU sort will be installed as "sort", like before. If you can, please opt in for the default BSD sort by setting WITH_BSD_SORT, which will cause that BSD sort is installed as "sort" and GNU sort will be "gnusort". If no bugs appear and portmgr can run an exp-run for default BSD sort, I'll switch the logic to a default BSD sort. Gabor