R
Richard Lionheart
Hi,
I ran the following on a WinXP/SP2 machine:
F:\>ruby --version
ruby 1.8.2 (2004-12-25) [i386-mswin32]
F:\>ruby -e "puts %q[\a\b\c]"
\a\b\c
F:\>ruby -e "puts %q[\a\b\c\]"
-e:1: unterminated string meets end of file
F:\>
It seems to me the last \ shouldn't need to be escaped as \\, though that
does work. What's up?
I ran the following on a WinXP/SP2 machine:
F:\>ruby --version
ruby 1.8.2 (2004-12-25) [i386-mswin32]
F:\>ruby -e "puts %q[\a\b\c]"
\a\b\c
F:\>ruby -e "puts %q[\a\b\c\]"
-e:1: unterminated string meets end of file
F:\>
It seems to me the last \ shouldn't need to be escaped as \\, though that
does work. What's up?