From owner-cvs-all Thu Jun 6 17:24:48 2002 Delivered-To: cvs-all@freebsd.org Received: from treetop.robbins.dropbear.id.au (193.a.005.mel.iprimus.net.au [210.50.40.193]) by hub.freebsd.org (Postfix) with ESMTP id C5D6D37B408; Thu, 6 Jun 2002 17:24:36 -0700 (PDT) Received: from treetop.robbins.dropbear.id.au (localhost [127.0.0.1]) by treetop.robbins.dropbear.id.au (8.12.2/8.12.2) with ESMTP id g570FsBF059450; Fri, 7 Jun 2002 10:15:54 +1000 (EST) (envelope-from tim@treetop.robbins.dropbear.id.au) Received: (from tim@localhost) by treetop.robbins.dropbear.id.au (8.12.2/8.12.2/Submit) id g570FrcY059449; Fri, 7 Jun 2002 10:15:53 +1000 (EST) Date: Fri, 7 Jun 2002 10:15:52 +1000 From: "Tim J. Robbins" To: "Andrey A. Chernov" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/uniq uniq.c Message-ID: <20020607101552.A46543@treetop.robbins.dropbear.id.au> References: <200206061344.g56DiEX47747@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200206061344.g56DiEX47747@freefall.freebsd.org>; from ache@FreeBSD.org on Thu, Jun 06, 2002 at 06:44:14AM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 06, 2002 at 06:44:14AM -0700, Andrey A. Chernov wrote: > ache 2002/06/06 06:44:14 PDT > > Modified files: > usr.bin/uniq uniq.c > Log: > Back out rev 1.19 because Please make the behaviour of "sort -u" consistent with "sort | uniq", then, if both are to use LC_COLLATE. The sort utility from (at least) textutils 2.0.21 uses strcoll() == 0 as a check for uniqueness (as Solaris does in its sort utility) and has workarounds to handle embedded NUL bytes etc. I am not sure if any earlier versions of textutils handled locale collation order (the code looks to be <5 months old). It's on alpha.gnu.org. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message