From: "nobu (Nobuyoshi Nakada)" Date: 2012-07-02T14:28:32+09:00 Subject: [ruby-core:46099] [ruby-trunk - Bug #6685][Rejected] duplicate results in Dir[] Issue #6685 has been updated by nobu (Nobuyoshi Nakada). Status changed from Open to Rejected Yes, it's expected. ---------------------------------------- Bug #6685: duplicate results in Dir[] https://bugs.ruby-lang.org/issues/6685#change-27704 Author: john_firebaugh (John Firebaugh) Status: Rejected Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0] $ mkdir a $ touch a/b.rb $ irb >> Dir['a{,/**}/*.rb'] => ["a/b.rb", "a/b.rb"] I expected ["a/b.rb"]. -- http://bugs.ruby-lang.org/