]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/EXPORT/exportprove/exporttheories.sh
Many files added. Symbolic links missing. examples and contrib missing due
[helm.git] / helm / EXPORT / exportprove / exporttheories.sh
diff --git a/helm/EXPORT/exportprove/exporttheories.sh b/helm/EXPORT/exportprove/exporttheories.sh
new file mode 100755 (executable)
index 0000000..f7993fe
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+echo "Exporting theory $1";
+
+for i in prove/*.v
+ do
+  basename=$(basename $i | sed s/\\.v//)
+  cat $i | ../mktheory.pl "prove/$basename" > \
+   examples/prove/$1/$basename.theory.xml
+ done