From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 4 15:04:43 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 1A26816A46C for ; Mon, 4 Feb 2008 15:04:43 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id CAA2E13C4E3 for ; Mon, 4 Feb 2008 15:04:42 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 871E72082; Mon, 4 Feb 2008 16:04:35 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 75E682049; Mon, 4 Feb 2008 16:04:35 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 5C2108449D; Mon, 4 Feb 2008 16:04:35 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Ed Schouten References: <8663x6mc2o.fsf@ds4.des.no> <20080203131322.GK1179@hoeg.nl> <20080203151550.GA67020@owl.midgard.homeip.net> <86prvekqs2.fsf@ds4.des.no> <86lk62kqeh.fsf@ds4.des.no> <20080204145534.GA40490@VARK.MIT.EDU> Date: Mon, 04 Feb 2008 16:04:35 +0100 In-Reply-To: <20080204145534.GA40490@VARK.MIT.EDU> (David Schultz's message of "Mon\, 4 Feb 2008 09\:55\:34 -0500") Message-ID: <86myqgepa4.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: hackers@FreeBSD.ORG Subject: Re: sort(1) memory usage 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: Mon, 04 Feb 2008 15:04:43 -0000 David Schultz writes: > We had been using a BSD-licensed sort(1), but ache@ changed it back to > GNU sort several years ago. Anyone know why? If I had to guess I'd say > i18n [...] That is my recollection as well. We would do well to take a look at the code (and CVS logs) from NetBSD; they may have solved the i18n issues by now. There may also be a few missing features: someone mentioned -g, which is apparently similar to yet somehow different from -n, in weird and wonderful ways which the authors did not bother documenting. Last I checked, it also (rather surprisingly) lacked -u (unique), which is required by POSIX. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no