From: "Steve [RubyTalk]" Date: 2005-12-02T03:55:40+09:00 Subject: Re: What is the best way to edit a file to eliminate a line zdennis wrote: > Hope this works better... It will still permanently and irrecoverably loose data if the process terminates (e.g. a process hard-limit is exceeded, an administrator kills the process explicitly; or an old-fashioned power-cut etc.) just after starting to write the updated file... so I wouldn't consider it sufficiently robust for my purposes.