[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Difference between dir/**/* and dir/*?

David Palm

9/2/2008 10:55:00 AM

On Sun, 31 Aug 2008 16:06:34 +0900, Ben Johnson wrote:
> I've noticed the following when specifying a wildcard array of files:
>
>
> dir/**/*

This does a deep fetch: all files in all subdirectories of "dir"

>
> dir/*

Only the files in "dir".

>
>
> What's the difference?
>
> Thanks for your help.