Hi Mohan,

"News Groups" <ram_naga / yahoo.com> wrote in message
>     The problem is with SciTE editor.  I tried the same program on the
> command line and it is working fine.

You can change the settings of SciTE so that this works like expected.
See:

http://www.rubygarden.org/ruby?SciTEAndStdinStdout


> Warm Regards,
> Mohan


HTH,
-- shanko