Hi I am trying to write a script to parse some html files to make a job a bit easier, but I’m having no luck, I’ve tried reading other threads and manuals to no avail. I seem to get stuck with circular brackets.
I want to replace all appearances of:
$FORMTOP("2")$ with $FORMTOP("3")$
$WHITE*("5")$ with $WHITE*("10")$
</b> with </strong>
<tr><td with <tr> newline, tab <td
delete occurrences of <td></td>
In sed you will have to put a new line (put a “\” and hit enter) and tab spaces (press spacebar 8 times) manually in the replacement section.