From: Robert Klemme Date: 2008-09-01T17:42:11+09:00 Subject: Re: Difference between dir/**/* and dir/*? 2008/8/31 Ben Johnson : > Sebastian Hungerecker wrote: >> Ben Johnson wrote: >>> dir/**/* >>> >>> dir/* >>> >>> What's the difference? >> >> dir/* gives you all (non-hidden) files in the directory dir. >> dir/**/* gives you all (non-hidden) files in the director dir and its >> subdirectories. >> >> HTH, >> Sebastian > > Thanks for your help, what about its sub-sub directories? Is dir/**/* > recursive? Ruby documentation is often said to be bad - but not *that* bad that you would not find these things explained. http://www.ruby-doc.org/core-1.8.7/classes/Dir.html#M000077 robert -- use.inject do |as, often| as.you_can - without end