From: Askar Ka Date: 2011-05-01T16:57:47+09:00 Subject: Re: merging 2 csv files and sorting merged file Here I post the answerI got from japanese mailing list, which worked for me out = File.open("file3.csv", "a+") File.open("file2.csv", "r") do |file| file.each_line do |line| out.puts line # 出力 end end OR File.open("file3.csv", "a+") do |out| out.print IO.read('file2.csv') end -- Posted via http://www.ruby-forum.com/.