]> matita.cs.unibo.it Git - helm.git/commitdiff
...
authorEnrico Tassi <enrico.tassi@inria.fr>
Tue, 30 May 2006 09:26:15 +0000 (09:26 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Tue, 30 May 2006 09:26:15 +0000 (09:26 +0000)
matita/tests/TPTP/classify.sh

index 2fc71e093ddc3c1253d6e989837a660ea93b49d4..54634e741a5a90ed18b1723912fe8dc07d1ad54c 100755 (executable)
@@ -1,23 +1,27 @@
 #!/bin/bash
 
-mkdir Open
-mkdir Unknown
-mkdir Satisfiable
-mkdir Unsatisfiable
+mkdir -p Open
+mkdir -p Unknown
+mkdir -p Satisfiable
+mkdir -p Unsatisfiable
 
 for X in [A-Z]*.ma; do
-  echo $X
+  echo -n classifying $X ...
   STATUS=`grep "^(\* *Status *:" $X`
   if [ `echo $STATUS | grep Open | wc -l` -eq 1 ]; then
     mv $X Open/
+    echo Open
   fi
   if [ `echo $STATUS | grep Unknown | wc -l` -eq 1 ]; then
     mv $X Unknown/
+    echo Unknown
   fi
   if [ `echo $STATUS | grep Satisfiable | wc -l` -eq 1 ]; then
     mv $X Satisfiable/
+    echo Satisfiable
   fi
   if [ `echo $STATUS | grep Unsatisfiable | wc -l` -eq 1 ]; then
     mv $X Unsatisfiable/
+    echo Unsatisfiable
   fi
 done