1 2 3 4 5 6 7 8
#!/bin/sh set -ex for i in $(find . -name *.html) do t=$(mktemp) htmlq --remove-nodes .katex-html < $i > $t mv $t $i done