From: Stephen Smith <4fires@...> Date: 2007-03-30T12:37:39+09:00 Subject: text processing ------=_Part_74877_5481480.1175225856339 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all, So I have about a half million records in a non-standard, non-delimited format. The fields are fixed widths, each record is separated by a new line. I need to get this data into csv format so I can import it into a mysql database for analysis. I figure a script is the best way, but I'm stumped since the fields aren't delimited. Any tips, suggestions, pointers or a script that does something similar would be GREATLY appreciated. I am very new to Ruby, but I am impressed so far. And I know there's a way to do this, I just don't know how it's done. Best, Steve (ruby noob) ------=_Part_74877_5481480.1175225856339--