Project

General

Profile

Bug #14652

ruby -e "p ARGV" **/* is reasonably but slow

Added by sanae (Sanae Artoria) 4 months ago. Updated 4 months ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.1p111 (2017-03-22 revision 58053) [i386-mingw32]
[ruby-core:86395]

Description

C:\Users\Administrator>ruby -e "p ARGV" **/*

Runs slow because it globs all things in it as well known.
But can I disable this feature only to get the pattern "*/"?

History

#1 Updated by sanae (Sanae Artoria) 4 months ago

  • Subject changed from ruby -e "p ARGV" **/* is reasonabe but slow to ruby -e "p ARGV" **/* is reasonably but slow

#2 [ruby-core:86397] Updated by sanae (Sanae Artoria) 4 months ago

double quoted string "/*" is the same
but solved by single quoted string argument '
/*'

Also available in: Atom PDF