Issue
Looking to replace duplicate instances over two lines such as:
<\section>
<\section>
with a single </section>
entry.
Amount of white space in input file may vary.
If this can be done with sed, all the better. But maybe I need to use awk.
Solution
Something like this might work (GNU sed):
sed -Ez 's:(<\\section>)[[:space:]]+\1:</section>:'
Answered By - Thor Answer Checked By - Robin (WPSolving Admin)