Quote Originally Posted by mizzle View Post
The script I wrote above worked for me. I created a test file formatted how you provided the info in the original post (minus comments). You might be able to do with with awk, though that's going to be too much effort for me at the moment, as I'm not a scripting expert .
Naah, I'm no scripting guru either but the comments are vital, that much I know.