summaryrefslogtreecommitdiff
path: root/doc/removeproofs
blob: 82809ba685a6411ce199cd54c8cb8cd06d354495 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

for i in $*; do
  mv $i $i.bak
  sed -e '/<code class="keyword">Proof<\/code> *\./,/<code class="keyword">\(Qed\|Defined\)<\/code> *\./d' $i.bak > $i
  rm $i.bak
done