Rick Moen <rick at linuxmafia.com> writes:
> On a different mailing list, when I posted my original Perl-based
> "largest20" script, someone was bitching endlessly that exactly the same
> thing could be done by his find / du / whatever concoction. Rather
> than argue with the guy, I just added that other guy's contrivance as a
> comment line, but had never looked closely at it before.
>> --
> Irish Linux Users' Group
>http://www.linux.ie/mailman/listinfo/ilug/
Here's a version that does use find and appears to work:
find . -xdev -type f -exec ls -l {} \; | sort -rn +4 | head -20
--
Tiarnán
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!