From: Enrico Tassi Date: Tue, 30 May 2006 09:26:15 +0000 (+0000) Subject: ... X-Git-Tag: 0.4.95@7852~1384 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=161370fe79c115665e53fbbcd677715fb5a62997;p=helm.git ... --- diff --git a/matita/tests/TPTP/classify.sh b/matita/tests/TPTP/classify.sh index 2fc71e093..54634e741 100755 --- a/matita/tests/TPTP/classify.sh +++ b/matita/tests/TPTP/classify.sh @@ -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