From: Cong Chan Date: 2007-11-06T09:42:22+09:00 Subject: Line ending problem. Hi I am writing a ruby script to insert some content into the beginning of some files. The files would be used in Windows or Mac, when I use File.puts method to write the file, it changes the line ending of the file. Any way to let ruby keep the previous line-ending of the file? Thanks -- Posted via http://www.ruby-forum.com/.