Hi,

In message "Re: [ruby-core:22070] Re: Dir.glob and duplicates?"
    on Sat, 14 Feb 2009 17:45:26 +0900, Tanaka Akira <akr / fsij.org> writes:

|However this doesn't explain why Dir.glob("{foo,bar}")
|returns [] when echo {foo,bar} prints "foo bar".

Because glob returns existing file names only unlike shells.

							matz.