Rob, the result is:

C:\working>ruby -e "puts ARGV.join(' - ')"  *.txt
config.txt - tips.txt

C:\working>ruby -e "puts ARGV.join(' - ')" "*.txt"
config.txt - tips.txt

Thanks
Michael


Rob Biedenharn wrote:
> In that case, you should run these two commands:
> 
> c:\working> ruby -e "puts ARGV.join(' - ')"  *.txt
> 
> c:\working> ruby -e "puts ARGV.join(' - ')" "*.txt"
> 
> and they should produce the same output
> (i.e., "config.txt - tips.txt" or "tips.txt - config.txt")
> if the work is being done by the interpreter.
> 
> If one of them produces simply "*.txt" (probably the second), then
> something different is going on.
> 
> -Rob


-- 
Posted via http://www.ruby-forum.com/.