[Rails] Re: Re: interactive web app

Ben Bleything
Wed, 05 Jul 2006 14:55:17 -0000

On Wed, Jul 05, 2006, User wrote:
> nvm, you have to flush the output in the binary you are running for you
> to access it.  however, I noticed that redirecting output interpreted \n
> as a newline instead of just directing \n as a string to the text file.
> How do I prevent that?

Fairly universally, printing \n is a newline.  Perhaps you should be
printing \\n instead, if you don''t want newlines.

Ben