From: Ollivier Robert Date: 2001-04-06T18:40:04+09:00 Subject: [ruby-talk:13529] Re: ARGV [courtesy cc of this posting sent to cited author via email] In article , John Kaurin wrote: > ruby Test.rb -> [] > ruby Test.rb *.py -> ["*.py"] > ruby Test.rb *.rb -> ["Test.rb", "a.rb", "b.rb", "c.rb"] > > The first two cases I expected, but for the third > I expected ["*.rb"] rather than the expanded > wildcard output. This is correct because globbing is done by the shell not by Ruby. The reason you get *.py on the second case is because you don't have any .py file so globbing is not done. -- Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- roberto@eurocontrol.fr Usenet Canal Historique FreeBSD: The Power to Serve!