From: ts Date: 2003-11-16T20:16:49+09:00 Subject: Re: updating a File >>>>> "A" == Afan Shah writes: A> Could anyone please tell me how can I write to a file which already A> contains some data without erasing any previous data? open it with "a", for example svg% cat aa a svg% svg% ruby -e 'File.open("aa", "a") {|f| f.puts "b"}' svg% svg% cat aa a b svg% Guy Decoux