[#3006] mismatched quotation — "stevan apter" <apter@...>

ruby documentation uses a punctuation convention i've never seen

13 messages 2000/05/27

[ruby-talk:02824] Re: A question on Dir["**"]

From: matz@... (Yukihiro Matsumoto)
Date: 2000-05-16 05:04:02 UTC
List: ruby-talk #2824
Hi,

Could you forward this message to the newsgroup please?
I'm still working on group creation.  sigh.

In message "[ruby-talk:02822] A question on Dir["**"]"
    on 00/05/15, Dave Thomas <Dave@thomases.com> writes:

|What should Dir["**"] return. On 1.5.4, it seems to list just files in 
|the current directory. However, under zsh, it also includes all files
|in subdirectories. With Ruby, you have to use Dir["**/*"] to achieve
|this.

Under zsh 3.1.6-dev-21 on my machine, "echo **" shows the list of
files in the current directory only, just like ruby 1.5.4.

							matz.

In This Thread