Hi, if in between strings "<section" and "</section>" across multiple lines there occurs the string "ole-present", delete all line breaks and replace any tabs or multiple spaces with a single space. Looking for an AWK or SED solution. Thank you.
<section ...
status = "ole-present"
...
... ... ...
...</section>
<section ...
status = "ole-absent"
... ...
...
... ...
...</section>
<section ... status = "ole-present"
...
... ...
...</section>
<section
...
status = "ole-present"
...
... ...
...
...</section>
should change to:
<section ... status = "ole-present" ... ... ... ... ...</section>
<section ...
status = "ole-absent"
... ...
...
... ...
... ... ...
...</section>
<section ... status = "ole-present" ... ... ... ...</section>
<section ... status = "ole-present" ... ... ... ... ...</section>