Subject: Re: stat(1) and find(1)
To: None <david@l8s.co.uk>
From: None <cgd@broadcom.com>
List: tech-userlevel
Date: 07/22/2003 08:05:12
At Tue, 22 Jul 2003 14:07:38 +0000 (UTC), "David Laight" wrote:
> Doesn't look necessary to me.
> Just use xargs:
> 
> 	find . -type f | xargs stat "%m %N" | sort -n | tail -5
> 
> is probably about the same.
>
> It doesn't seem worth adding lots of other ways to do '-print' to
> find, that is what pipelines are for!

"What he said," but don't forget the -print0/-0, or -printx.  8-)a




cgd