On 12/13/06, Robert Klemme <shortcutter / googlemail.com> wrote:
> $ ruby -e 'print "foo\r\n", "bar"' | od -c
> 0000000   f   o   o  \r  \n   b   a   r
> 0000010
>
> $ ruby -v
> ruby 1.8.5 (2006-08-25) [i386-cygwin]
>
> Hm...  Is this a bug in Ruby 1.8.5 or am I missing something?

Yeah. You're using the disaster known as cygwin.

-austin
-- 
Austin Ziegler * halostatue / gmail.com * http://www.halostatue.ca/
               * austin / halostatue.ca * http://www.halostatue.ca/feed/
               * austin / zieglers.ca