From: Michael Jia Date: 2007-06-10T02:39:45+09:00 Subject: Re: Ruby wildcard command line argument auto expansion Thanks you all for the reply. I blog this thread in http://zhifengjia.spaces.live.com/blog/cns!5D88F9EA36578152!218.entry Hopefully, it will appear in search engine's list to save ppl time. Gregor Schmidt wrote: > Hallo Michael, > > it's not Ruby, that expands your argument, but the shell. And > therefore you got no other chance than escaping the argument there. > > This can be done using quotes or a backslash in front of each special > character >> ruby -e "puts ARGV" \*.txt > > Best, > > Gregor -- Posted via http://www.ruby-forum.com/.