From: Paul Lutus Date: 2006-09-08T04:05:15+09:00 Subject: Re: word substitution in file Paul Lutus wrote: > File.open(dest) { |f| f.write(result) } if data != result s/File.open(dest)/File.open(dest,"w")/ Also "not tested!". That may seem obvious at this point. -- Paul Lutus http://www.arachnoid.com