From: matz@... (Yukihiro Matsumoto) Date: 2003-12-18T04:19:22+09:00 Subject: Re: Very odd IO problem Hi, In message "Re: Very odd IO problem" on 03/12/18, Brad writes: |I tried the above example, but it has a syntax error, 3 ". |So, I tried adding a fourth " to balance out the quoting, |ruby didn't complain, but nothing was displayed either. Oops, sorry. |I also tried a variation on this: | |ruby -e 'puts `ruby -e "puts(4)"`' | |I think it failed because of the way command line arguments |are parsed. Interesting fact: command line parsing must be |be written by the programmer on VMS. i.e. expanding wild cards |is not automatically handled by the command line interpreter. |The quotes must not have been handled properly; I'll have to |look into this. How about replacing Dir.getcwd in the first example with print "hello" i.e. File: [bh.scripts]cwd.rb print "hello" A:BH> ruby p `ruby [bh.scripts]cwd.rb`.dump puts `ruby [bh.scripts]cwd.rb` can you try? matz.