From: "john_firebaugh (John Firebaugh)" Date: 2012-07-02T11:19:19+09:00 Subject: [ruby-core:46096] [ruby-trunk - Bug #6685] duplicate results in Dir[] Issue #6685 has been updated by john_firebaugh (John Firebaugh). Hmm, according to http://www.ruby-forum.com/topic/153846 this is intended behavior. ---------------------------------------- Bug #6685: duplicate results in Dir[] https://bugs.ruby-lang.org/issues/6685#change-27701 Author: john_firebaugh (John Firebaugh) Status: Open 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/