From owner-freebsd-current@FreeBSD.ORG Wed Mar 14 21:10:36 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 292C71065672; Wed, 14 Mar 2012 21:10:36 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id E7E8C8FC08; Wed, 14 Mar 2012 21:10:35 +0000 (UTC) Received: by dadp14 with SMTP id p14so9465534dad.18 for ; Wed, 14 Mar 2012 14:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=o3Y8+MC31csSA+oMO7b05wAYLCXppW4K9nv39yUBysE=; b=p6iSX3uSgIeFPf3kVpBCg+iTcLMi3Dp3qGZ4x7TGhFRyqsRiv5aRjRXDw722HrPC4o Rv4jOV3gpee+aTAPCL8uiDRS2OPEhVOLq82tPGwcMCvnYrhr2ag1pSEMNp6Ti+JmwGYG JVAxeF2yQgT7Sm/neJr6DOaxx8sp2NrRgpugI2daUG8Bde5CsHB6216FTKmvU51+KXO+ aHJ3cKCXPzE599JBL+y8wb7oMYKnTydKCmtO8i0ni6jpvKiyXcmcDH/NX3l1HghAH6xY RVK3uIjC/7CPnhp2Ot6Zu9KgrnBe5kODMlDEsiZHphsMNDGs9KuTxZ1wQ/ziC+KKsh9h 4ylQ== MIME-Version: 1.0 Received: by 10.68.136.231 with SMTP id qd7mr4894083pbb.28.1331759435684; Wed, 14 Mar 2012 14:10:35 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.143.33.5 with HTTP; Wed, 14 Mar 2012 14:10:35 -0700 (PDT) In-Reply-To: <4F60C059.7060904@FreeBSD.org> References: <4F60C059.7060904@FreeBSD.org> Date: Wed, 14 Mar 2012 14:10:35 -0700 X-Google-Sender-Auth: 9-OwfOCDaJE-cHRB1yPWhY7VhOE Message-ID: From: Adrian Chadd To: Gabor Kovesdan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, Oleg Moskalenko , freebsd-ports@freebsd.org Subject: Re: CFT: new BSD-licensed sort available 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: Wed, 14 Mar 2012 21:10:36 -0000 On 14 March 2012 08:59, Gabor Kovesdan wrote: > 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? Hi, This makes me think of the whole debian-y way of replacing the mailer programs using some magic alias program. So you could intall gnusort, bsdsort, and then some config file would determine which was used. 'sort' would then be a symlink to said magic program, that'd look at its argv[0], look at the contents of that file, and exec() the right one. Would that be helpful herE? Adrian