Changes
no edit summary
=Running=
<pre>
sed -rn -e '/<!-- start content -->/,/<!--/p' input.html | sed -r -f script > out.wikitext</pre> ==Batch==The following command will create .wikitext files of all the HTML files in the current directory for your cut and paste convenience.<pre>for f in *.html ; do $( sed -rn -e '/<!-- start content -->/,/<!--/p' "$f " | sed -r -f script > "$f.wikitext " ) ; done
</pre>