I have these lines in multiple files:
and I want to replace them with (new date and version):
How can do this on multiple files using sed or awk? (I'm on Mac OS)
edit 1: lines
<update> and <version> are not one after another and I want to replace every occurrence of them.
edit 2: date varies but the string
<update>doesn't get changed, so I can't use find "2013-02-10" and replace with "new date"