in reply to Hi all, need abit of help!

but i have no idea where to start

Start at the beginning. And start simple.

Your spec calls for reading one file and writing to another. So write a script that reads lines from one file and writes them to new file, without changing anything for now.

When you've got that working, come back and post your code and we can guide you onto the next step.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.