I have a XML file in following format:
<Country name=England>
<City name_city=London>
some thing here
</City>
<City name_city=Manchester>
some thing here
</City>
<City name_city=Liverpool>
some thing here
</City>
Many other elements like these ones.
</Country>
And another file like this:
<City name_city=Hull>
some thing here
</City>
Using bash script, how can I insert content of the later file in to the first one at after the element
<City name_city=Manchester>
some thing here
</City>
I'm looking forward to using SED or AWK to solve the issue.
Thanks for your help.