Bug #2216
closedCommand line parameter's order should not be significant
Description
=begin
I would expect that following two examples will have the same result:
c:>r192vc-w32\bin\ruby.exe -I. -Cc:\temp -e 'p $:'
["c:/", "c:/r192vc-w32/lib/ruby/site_ruby/1.9.1", "c:/r192vc-w32/lib/ruby/site_ruby/1.9.1/i386-mswin32_90", "c:/r192vc-w32/lib/ruby/site_ruby", "c:/r192vc-w32/lib/ruby/vendor_ruby/1.9.1", "c:/r192vc-w32/lib/ruby/vendor_ruby/1.9.1/i386-mswin32_90",
"c:/r192vc-w32/lib/ruby/vendor_ruby", "c:/r192vc-w32/lib/ruby/1.9.1", "c:/r192vc-w32/lib/ruby/1.9.1/i386-mswin32_90"]
c:>r192vc-w32\bin\ruby.exe -Cc:\temp -I. -e 'p $:'
["c:/temp", "c:/r192vc-w32/lib/ruby/site_ruby/1.9.1", "c:/r192vc-w32/lib/ruby/site_ruby/1.9.1/i386-mswin32_90", "c:/r192vc-w32/lib/ruby/site_ruby", "c:/r192vc-w32/lib/ruby/vendor_ruby/1.9.1", "c:/r192vc-w32/lib/ruby/vendor_ruby/1.9.1/i386-mswin32_90", "c:/r192vc-w32/lib/ruby/vendor_ruby", "c:/r192vc-w32/lib/ruby/1.9.1", "c:/r192vc-w32/lib/ruby/1.9.1/i386-mswin32_90"]
However, as you can see from the first entry, the result is different. This is confusing behavior.
=end
Updated by nobu (Nobuyoshi Nakada) about 16 years ago
- Status changed from Open to Rejected
=begin
It's insignificant in some commands, and significant in some commands.
Ruby is one of the latter.
=end