]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/EXPORT/export_Paris_ZF/exporttheories.sh
Initial
[helm.git] / helm / EXPORT / export_Paris_ZF / exporttheories.sh
diff --git a/helm/EXPORT/export_Paris_ZF/exporttheories.sh b/helm/EXPORT/export_Paris_ZF/exporttheories.sh
new file mode 100755 (executable)
index 0000000..3a0db3d
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+echo "Exporting theory $1";
+
+for i in ZF/src/*.v
+ do
+  basename=$(basename $i | sed s/\\.v//)
+  cat $i | ../mktheory.pl "Paris/ZF/$basename" > \
+   examples/Paris/ZF/$basename.theory.xml
+ done