From: Joel Pearson Date: 2013-04-30T06:35:38+09:00 Subject: Re: writing lines to a file Or you could do the whole operation with a single read, string processing, and a single write. -- Posted via http://www.ruby-forum.com/.