From: Paul Pladijs Date: 2008-03-03T22:39:56+09:00 Subject: Strange behaviour in IRB using # sign Hi all, I'm using IRB in a DOS box on Windows XP. I'm experiencing problems with the '#' sign. When typing the '#' sign, IRB puts the sign in front of the line, so the whole line changes into a comment. Afterwards it shows a new prompt. Here is an example: I want to type this: a = 1 b = " #{a}" When typing this in IRB I get: irb(main):001:0> a = 1 => 1 irb(main):002:0> #b = " irb(main):003:0* {a}" irb(main):004:0" From the moment I type the '#' sign, this sign gets placed before the b variable. This makes IRB almost unusable for me :-( If I use eval.rb it works fine: ruby> a = 1 1 ruby> b = " #{a}" " 1" ruby> Is this bug in IRB or Windows? What can I do about it? Many thanks in advance, Paul.