Date: 06 Jun 2002 14:05:39 +0200 From: Dag-Erling Smorgrav <des@ofug.org> To: "Tim J. Robbins" <tjr@FreeBSD.org> Cc: "Andrey A. Chernov" <ache@nagual.pp.ru>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/uniq uniq.c Message-ID: <xzpg000k3xo.fsf@flood.ping.uio.no> In-Reply-To: <20020606192402.A45186@treetop.robbins.dropbear.id.au> References: <200206060313.g563DAi26751@freefall.freebsd.org> <20020606031545.GA83612@nagual.pp.ru> <20020606161843.A44561@treetop.robbins.dropbear.id.au> <20020606083246.GA85860@nagual.pp.ru> <20020606192402.A45186@treetop.robbins.dropbear.id.au>
next in thread | previous in thread | raw e-mail | index | archive | help
"Tim J. Robbins" <tjr@FreeBSD.org> writes: > uniq is defined in terms of string equality, not string collatng order. > It doesn't matter how the input is split into collating elements or their > weights, what matters is that the lines have the same bit patterns. The GNU > implementation uses memcmp() to compare lines. Solaris appears to use > strcmp() (objdump -T on /bin/uniq shows no reference to strcoll or strxfrm). Solaris uses a wrapper around strcmp(). DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpg000k3xo.fsf>