[courtesy cc of this posting sent to cited author via email]

In article <AObz6.141966$W05.27618399 / news1.rdc1.mi.home.com>,
John Kaurin <jkaurin / home.com> 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!