Ronald Fischer wrote:
> irb 0.9.5 for Windows:
>
> irb(main):016:0> puts '\c'
> irb(main):017:0'
>
> i.e. irb expects a continuation line. Guess this is a bug?
>
> Ronald Fischer
What about
puts "\\c"
This works, but that's not the point. The fact is that
puts '\c' works inside a Ruby program, but does not work
within irb.
Does anyone know whether this this a known limiation of irb, or a bug?
Ronald
···
--
Ronald Fischer <ronald.fischer@venyon.com>
Phone: +49-89-452133-162
>This works, but that's not the point. The fact is that
>puts '\c' works inside a Ruby program, but does not work
>within irb.
>
>Does anyone know whether this this a known limiation of irb, or a
>bug?
This is a bug of irb. I fix this bug in ruby-trunk(Ruby-1.9).
Thank you! I had overlooked your reply and have in the meantime
already opened a bug report on the Ruby bug tracker (id 12868)
Ronald
···
--
Ronald Fischer <ronald.fischer@venyon.com>
Phone: +49-89-452133-162