From: Martin Krischik Date: 2007-05-08T15:20:12+09:00 Subject: Re: command interpretation Brian Candler schrieb: > On Mon, May 07, 2007 at 07:45:05PM +0900, Martin Krischik wrote: >> Background: I use ruby on the vms operating system and I want to run the >> following test command: >> >> x = �WRITE SYS$OUTPUT F$TRNLNM("SOURCE")� >> >> But all I get is: >> >> test.ruby:8: warning: parenthesize argument(s) for future version >> test.ruby:8: parse error >> x = �WRITE SYS$OUTPUT F$TRNLNM("SOURCE")� >> ^ >> From which I deduct that some "magic" is done with the $ character >> which I don't want. > > In the mail you sent, I saw character \264 (octal) where there should be a > backtick. A backtick is \140 (octal), \x60 (hex), 96 (decimal) Another good reason to retire back ticks. > Have you tried using %x(...) instead? Indeed that works - thanks! Martin -- Martin Krischik