|There's more than one way to do things|
Re: Parsing multi-line record with varying databy hippo (Monsignor)
|on Aug 09, 2013 at 17:57 UTC||Need Help??|
Welcome to the monastery.
To be honest, there's a lot in that script preventing it even from compiling. It might be best if you could just write a new script which simply manages to open the file correctly, read each line and print each line. Once you have that, save it. Then as you modify it at each step to add extra processes, test it, and if it fails, keep refining your addition until it works.