From owner-freebsd-ports@FreeBSD.ORG Thu Mar 15 13:26:30 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9769C106566B; Thu, 15 Mar 2012 13:26:30 +0000 (UTC) (envelope-from kazuaki@aliceblue.jp) Received: from p024afb.tokyff01.ap.so-net.ne.jp (p024afb.tokyff01.ap.so-net.ne.jp [121.2.74.251]) by mx1.freebsd.org (Postfix) with ESMTP id 553648FC0C; Thu, 15 Mar 2012 13:26:29 +0000 (UTC) Received: from undine.local (unknown [192.168.11.46]) by p024afb.tokyff01.ap.so-net.ne.jp (Postfix) with ESMTP id 43580193DC7; Thu, 15 Mar 2012 22:18:07 +0900 (JST) Message-ID: <4F61EC0E.8060809@aliceblue.jp> Date: Thu, 15 Mar 2012 22:18:06 +0900 From: Kazuaki ODA User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Gabor Kovesdan References: <4F60C059.7060904@FreeBSD.org> In-Reply-To: <4F60C059.7060904@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org, Oleg Moskalenko , freebsd-ports@FreeBSD.org Subject: Re: CFT: new BSD-licensed sort available X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2012 13:26:30 -0000 (12/03/15 0:59), Gabor Kovesdan wrote: > Hi Folks, > > some time ago I started writing a BSDL sort variant from scratch since > the OpenBSD version did not support multibyte locales and was hard to > modify. The development was a bit stalled but recently, Oleg Moskalenko > showed interest in continuing this version > and he has made a very good job on this BSD sort variant. Now it is > compatible with the base version of GNU sort but the performance in most > cases (string sort and -n) is quite behind GNU sort (although with -g it > is about *4 times* faster). Oleg is still working on optimizing the code > and the long-term plan is to drop GNU sort once this variant is good > enough to replace it. For now, it is only available in Ports Collection > as textproc/bsdsort but if there is no objection or any serious bug > report I plan to add it to base installed as bsdsort, being GNU sort > still the default sort until it proves that we can safely drop GNU sort. > If you are interested in this sort utility, could you please try the > port and report us any issue that you experience? > > Thanks in advance, > Gabor > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" bsdsort is one of my long awaiting ports. Because GNU sort has a numeric sort bug in some multi-byte locales. For example, ls -l /usr/bin | env LANG=en_US.UTF-8 sort -n -k 5 (we expect the result is sorted by file size.) shows invalid result. bsdsort does not has such a bug, so I hope our base system will include bsdsort in the near future. Thanks.