sed - Want to convert all <tt> tags to <code> in a large hierarchy of HTML files -


I have about 100 HTML files which Tags use markup inline code I have more meaningful & lt; Code & gt; I want to convert to tags in large scale sed -i '/ & lt; Tt & gt; / & Lt; Code & gt; / G ' was thinking of doing something on order, but I'm curious if any more suitable industrial system to change the tag types on the large HTML tree.

The best part is that you can use
xmlstartlet:
xml ed -r // b -v code

See it's strange,


Comments