Hi,

Am Montag, 08. Okt 2007, 20:35:04 +0900 schrieb gga:
> 
> > >
> > > >> the Ruby built-in Find module lacks a lot of features the
> > > >> GNU find tools has. I wrote a new one (~170 lines).
> > >
> > > >>   <http://www.bertram-scharpf.de/tmp/find.rb>
> > >
> > > >> Maybe somebody likes it.
> > >
> > > > I wrote file-find not long ago:
> > >
> > > >http://raa.ruby-lang.org/project/file-find/
> > >
> 
> Both seem complementary.  Bertram has sorting built-in and is not
> backwards compatible.
> 
> After a quick look, Bertram's code also has silly inefficient things
> like:
> dir = (Dir.open @fullpath do |d| d.entries end) - SPECIAL_DIRS
> which can just be:
> dir = Dir.entries(@fullpath) - SPECIAL_DIRS

Argh!

> and the Etc module may be checked several times depending on what you
> request.

I already corrected this yesterday and upload it now.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de