From: Austin Ziegler Date: 2006-12-14T07:14:31+09:00 Subject: Re: How to always write Windows style newlines to a file? On 12/13/06, Robert Klemme 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