Many thanks all of you! What an incredibly active community ruby has, I'm impressed. And the tell and seek methods are exactly what I was looking for (even if I agree the read, manipulate, write is much easier to write and can address most problems). Thanks again, and I feel like I'll soon become a ruby afficionado :-) -- Posted via http://www.ruby-forum.com/.