From owner-freebsd-current Sun Nov 15 19:01:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA06272 for freebsd-current-outgoing; Sun, 15 Nov 1998 19:01:26 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA06266 for ; Sun, 15 Nov 1998 19:01:24 -0800 (PST) (envelope-from asami@sunrise.cs.berkeley.edu) Received: from bubble.didi.com (sji-ca36-231.ix.netcom.com [207.92.172.231]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id TAA06194; Sun, 15 Nov 1998 19:00:53 -0800 (PST) Received: (from asami@localhost) by bubble.didi.com (8.8.8/8.8.8) id TAA05380; Sun, 15 Nov 1998 19:00:46 -0800 (PST) (envelope-from asami) Date: Sun, 15 Nov 1998 19:00:46 -0800 (PST) Message-Id: <199811160300.TAA05380@bubble.didi.com> To: dima@tejblum.dnttm.rssi.ru CC: wosch@panke.de.freebsd.org, current@FreeBSD.ORG In-reply-to: <199811151626.TAA04794@tejblum.dnttm.rssi.ru> (message from Dmitrij Tejblum on Sun, 15 Nov 1998 19:26:16 +0300) Subject: Re: sort option for find From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Sure, but did you noticed that strcmp("foo-1.2.3/Makefile", * "foo/Makefile") < 0? That is, 'find -s' and 'find | sort' give * different results? Is it ok? I think it's ok, most of the time the purpose of sorting is just to have one consistent ordering. A warning in the manpage that it may not agree with sort(1) should be enough. Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message