Project

General

Profile

Actions

Bug #12634

closed

Ruby converts '*' on command line to a file name

Added by krwq (Krzysztof Wicher) over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32]
[ruby-core:76601]

Description

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 *

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0