From: daz Date: 2009-02-15T19:51:25+09:00 Subject: [ruby-core:22144] Re: Dir.glob and duplicates? Charles Oliver Nutter wrote: > daz wrote: >> In Ruby, we should show them the correct way to prevent false >> "duplicates". > > I guess my question stands...if I fixed JRuby to never return > duplicates, would that be considered breaking specification? > > - Charlie > > Sadly, from what I've read, I think you would be breaking specified MRI behaviour by suppressing duplicates in JRuby. You've probably seen these posts -- Johan Holmberg describes shell behaviour: http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-core/16853?16636-17113+split-mode-vertical Vladimir Sizikov reports the same Perl behaviour (in the same thread): http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-core/16865?16636-17113+split-mode-vertical I'm just some random dude that thinks we're stuck with it. ;) daz