From d705186a007793101ae23a53fe273e19525e6dc4 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Tue, 30 May 2006 09:26:15 +0000 Subject: [PATCH] ... --- helm/software/matita/tests/TPTP/classify.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/helm/software/matita/tests/TPTP/classify.sh b/helm/software/matita/tests/TPTP/classify.sh index 2fc71e093..54634e741 100755 --- a/helm/software/matita/tests/TPTP/classify.sh +++ b/helm/software/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