in reply to Require script to parse text file

I need a pony.

(This is not somewhere to post your demands and expect code implementing it to magically show up. Exert some effort, show what you've tried to come up with, and people will be more than happy (some more grudgingly so than others) to point out where you've bolluxed things up. See also How (Not) To Ask A Question.)