i am a noob to linux and need some help.
I am having a file called 2009.txt and the part of the content is -
About 100 climate protesters detained for Copenhagen march
Copenhagen, Dec 13 Danish police
I basically want to copy and paste the word "DPA" which is within <author>DPA</author> to the the <content> line.
The Author could be anything and not necessarily DPA so is there a way to do it in Linux?