Subject: stat(1) and find(1)
To: None <tech-userlevel@NetBSD.org>
From: Andrew Brown <firstname.lastname@example.org>
Date: 07/22/2003 01:20:22
i was thinking of of rearranging stat(1)'s source code a little so
that other programs could include the formatting code with very little
one such candidate would be find(1), so that you could do things like:
find . -type f -stat "%m %N" | sort -n | tail -5
for example, and find the five newest files under a given directory.
there would, of course, be a -stat0 operator, and these would satisfy
the "print something by default" requirement that find asserts.
it's terribly non-standard, of course, but it might also terribly
comments? opinions? criticisms? flames?
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."