From: Yukihiro Matsumoto Date: 2009-02-14T23:30:18+09:00 Subject: [ruby-core:22083] Re: Dir.glob and duplicates? Hi, In message "Re: [ruby-core:22070] Re: Dir.glob and duplicates?" on Sat, 14 Feb 2009 17:45:26 +0900, Tanaka Akira 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.