From: peteV Date: 2013-04-30T08:37:17+09:00 Subject: Re: writing lines to a file This is a multi-part message in MIME format. --------------070004040902070001080206 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 04/29/2013 07:34 PM, tamouse mailing lists wrote: > > > On Apr 29, 2013 4:37 PM, "Joel Pearson" > wrote: > > > > Or you could do the whole operation with a single read, string > > processing, and a single write > > This can be a problem if the source file is large, but certainly, yes. > the source file is 17000 + lines :) --------------070004040902070001080206 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
On 04/29/2013 07:34 PM, tamouse mailing lists wrote:


On Apr 29, 2013 4:37 PM, "Joel Pearson" <lists@ruby-forum.com> wrote:
>
> Or you could do the whole operation with a single read, string
> processing, and a single write

This can be a problem if the source file is large, but certainly, yes.

the source file is 17000 + lines :)
--------------070004040902070001080206--