sed syntax to remove xml
- by mjb
I'm trying to sanitize this output from it's metadata to plug this output into GreekTools, but I am getting stuck on sed.
curl --silent www.brainyquote.com | egrep '(span class="body")|(span class="bodybold")' | sed -n '6p; 7p; ' | sed 's/\<*\>//g'
[ex]
<span class="body">Literature is news that stays news.</span><br>
<span class="bodybold">Ezra Pound</span>
Could someone help me along on this track?