annotate MHMC/htmlToXML.sh @ 583:bf1c57331bc4

one typo, ready for S&A
author Henry S Thompson <ht@inf.ed.ac.uk>
date Tue, 19 Nov 2024 11:56:18 +0000
parents 58090a2a81a1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
540
58090a2a81a1 circulated to MEK for comment
Henry Thompson <ht@markup.co.uk>
parents: 538
diff changeset
1 #!/usr/bin/bash -vx
538
b9c60ab31f0f portable now?
Henry Thompson <ht@markup.co.uk>
parents: 537
diff changeset
2 HOME="$(cygpath -w $HOME)"
537
77dd70413ed8 for minutes/notes production from pandoc output
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
3 { echo '<html xmlns="http://www.w3.org/1999/xhtml"><body>'
77dd70413ed8 for minutes/notes production from pandoc output
Henry S. Thompson <ht@inf.ed.ac.uk>
parents:
diff changeset
4 cat "$1".html ; echo '</body></html>'
538
b9c60ab31f0f portable now?
Henry Thompson <ht@markup.co.uk>
parents: 537
diff changeset
5 } | saxon97 - "$HOME"\\lib\\xml\\htmlToXML.xsl > "${1-2}".xml