Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 1998 19:00:46 -0800 (PST)
From:      asami@FreeBSD.ORG (Satoshi Asami)
To:        dima@tejblum.dnttm.rssi.ru
Cc:        wosch@panke.de.freebsd.org, current@FreeBSD.ORG
Subject:   Re: sort option for find
Message-ID:  <199811160300.TAA05380@bubble.didi.com>
In-Reply-To: <199811151626.TAA04794@tejblum.dnttm.rssi.ru> (message from Dmitrij Tejblum on Sun, 15 Nov 1998 19:26:16 %2B0300)

next in thread | previous in thread | raw e-mail | index | archive | help
 * 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811160300.TAA05380>