Parsing and ovewriting a comma delimated file

This looks like a strictly Ruby question. I think you'll get more response at comp.lang.ruby, http://groups.google.com/group/comp.lang.ruby

hth, Bill