From: Pit Capitain Date: 2006-09-16T00:59:54+09:00 Subject: Re: File Merge help request from Newbie Snoopy Dog schrieb: > (... merging data of two files ...) Snoopy, if your data is as well structured as you've shown (minus a few typos), merging the data of two files should simply be: data = File.readlines(path) additional_data = File.readlines(second) data.concat(additional_data) data.uniq! data.sort! # write data to destination file Regards, Pit