From: mwilliams@... (Mike Williams) Date: 2002-09-16T09:28:01+09:00 Subject: Windows port; can I disable auto "\n" -> "\r\n" conversion? I'm using with the Pragmatic port of ruby (1.7.2), which appears to be automatically converting my line-endings to CRLF. For example: $ ruby -e 'print "abc\n"' | od -c 0000000 a b c \r \n 0000005 This is playing havoc with my source-code; running something like $ ruby -i~ -ple 'gsub(/XXXX/, "XXXX")' *.java results in all my files being converted from Unix-text to Windoze-text format!! Is there some way I can disable the magic conversion of CR to CRLF? cheers, Mike