From: Garance A Drosihn Date: 2002-03-14T03:30:06+09:00 Subject: Re: Some potential RCRs At 12:45 AM +0900 3/14/02, Tobias Reif wrote: >Booker C. Bense raged: > >>- - Not to me. A dir method that doesn't return "." and ".." >> would be EVIL. I want to know all the entries in the >> directory. -- not what some damn fool library author >> thinks I should be interested in. Down that path lies >> madness... I skipped over most of the early messages in this thread, but I agree with this. dir should return any filenames that the system routines will list. >>- - A much better solution would be added support for file >> "type" matching. I.e. give me all the "simple" files >> in this directory or give me all the symlinks, or all >> the subdirs... Something similar to the kind of knobs >> that unix find gives you. Well, there is the find method too. A month or two ago I made a vague proposal for improvements to that find which would make stuff like this a little easier to do. I haven't had time to get back to that proposal, though. disclaimer: I'm still pretty new to using ruby... -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu