From 161370fe79c115665e53fbbcd677715fb5a62997 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Tue, 30 May 2006 09:26:15 +0000 Subject: [PATCH] ... --- matita/tests/TPTP/classify.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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 -- 2.39.2