From: eggie5 Date: 2007-09-26T12:00:12+09:00 Subject: Re: concatenate a set of files On Sep 25, 7:49 pm, William James wrote: > On Sep 25, 9:07 pm, eggie5 wrote: > > > Given a set of files: > > > 01_file > > 02_file > > 03_file > > ... > > > What's the best way to concatenate their respective text into one file > > 'file_set'. The must be loaded in alphabetical order as they are > > listed above. > > > Any ideas? > > ruby -e "ARGV.sort!;puts ARGF.read" ??_file >file_set that's the craziest thing I've seen in my life! I'll give it a go though, thanks.