EMBED THIS RECORDING:
<div><script id="playterm-MjAxMi0wMi9wYXRjaGh0bWx0dHlyZWMtMTMyOTg1NjAwOHw4MHgyNA==" type="text/javascript" src="http://playterm.org/js/?hash=MjAxMi0wMi9wYXRjaGh0bWx0dHlyZWMtMTMyOTg1NjAwOHw4MHgyNA==" class="size:80x24"></script></div>
I recorded this `poor man's text patcher` shellsession because I was trying to find a way easily
edit/read patchfiles for generated html.
This is a simplified example of the patchsystem I wrote. Commands used:
sed -i "s/searchterm/replacement/g" somefile.html
m4 patch.m4
varname=$(cat foo.html)
ps. don't forget to use ` and ' for m4 strings (not '' or "")