From: shyouhei@... Date: 2016-07-29T00:08:40+00:00 Subject: [ruby-core:76605] [Ruby trunk Bug#12634] Ruby converts '*' on command line to a file name Issue #12634 has been updated by Shyouhei Urabe. Andrew, I guess this is the key part: > OS: Windows 10 So yes, ruby handles glob in pace of Unix shells on this platform. As far as I remember this is by design. ---------------------------------------- Bug #12634: Ruby converts '*' on command line to a file name https://bugs.ruby-lang.org/issues/12634#change-59827 * Author: Krzysztof Wicher * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- Repro: - ruby script.rb * - script.rb: puts ARGV[0] output: expected output: * OS: Windows 10 This is annoying when passing glob as an arg. Also happens when passing anything starting with `*` -- https://bugs.ruby-lang.org/ Unsubscribe: