ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:46095] [ruby-trunk - Bug #6685][Open] duplicate results in Dir[]
@ 2012-07-02  2:08 john_firebaugh (John Firebaugh)
  2012-07-02  2:19 ` [ruby-core:46096] [ruby-trunk - Bug #6685] " john_firebaugh (John Firebaugh)
  2012-07-02  5:28 ` [ruby-core:46099] [ruby-trunk - Bug #6685][Rejected] " nobu (Nobuyoshi Nakada)
  0 siblings, 2 replies; 3+ messages in thread
From: john_firebaugh (John Firebaugh) @ 2012-07-02  2:08 UTC (permalink / raw
  To: ruby-core


Issue #6685 has been reported by john_firebaugh (John Firebaugh).

----------------------------------------
Bug #6685: duplicate results in Dir[]
https://bugs.ruby-lang.org/issues/6685

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:46096] [ruby-trunk - Bug #6685] duplicate results in Dir[]
  2012-07-02  2:08 [ruby-core:46095] [ruby-trunk - Bug #6685][Open] duplicate results in Dir[] john_firebaugh (John Firebaugh)
@ 2012-07-02  2:19 ` john_firebaugh (John Firebaugh)
  2012-07-02  5:28 ` [ruby-core:46099] [ruby-trunk - Bug #6685][Rejected] " nobu (Nobuyoshi Nakada)
  1 sibling, 0 replies; 3+ messages in thread
From: john_firebaugh (John Firebaugh) @ 2012-07-02  2:19 UTC (permalink / raw
  To: ruby-core


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:46099] [ruby-trunk - Bug #6685][Rejected] duplicate results in Dir[]
  2012-07-02  2:08 [ruby-core:46095] [ruby-trunk - Bug #6685][Open] duplicate results in Dir[] john_firebaugh (John Firebaugh)
  2012-07-02  2:19 ` [ruby-core:46096] [ruby-trunk - Bug #6685] " john_firebaugh (John Firebaugh)
@ 2012-07-02  5:28 ` nobu (Nobuyoshi Nakada)
  1 sibling, 0 replies; 3+ messages in thread
From: nobu (Nobuyoshi Nakada) @ 2012-07-02  5:28 UTC (permalink / raw
  To: ruby-core


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-02  5:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-02  2:08 [ruby-core:46095] [ruby-trunk - Bug #6685][Open] duplicate results in Dir[] john_firebaugh (John Firebaugh)
2012-07-02  2:19 ` [ruby-core:46096] [ruby-trunk - Bug #6685] " john_firebaugh (John Firebaugh)
2012-07-02  5:28 ` [ruby-core:46099] [ruby-trunk - Bug #6685][Rejected] " nobu (Nobuyoshi Nakada)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).