# /* vim: set filetype=sh : */ -*- sh -*- # config Datum=/var/tmp/discrete/c2d/diabetes.arff # write your final report to some safe place Safe=$HOME/var # end config- should not need to change the stuff that is below mkdir -p $Safe # ensure safe place exists Tmp=`mktemp -d` # make a sandbox where only you will play trap "rm -rf $Tmp" 0 1 2 3 15 # leave nothing behind when you quit cd $Tmp # go to the sandbox # start work and save output to safe place wttp $Datum $Datum $wJ48 | gotwant > out.csv ( abcd True=pos False=neg WantAll=1 Prefix=pos out.csv abcd True=neg False=pos WantAll=1 Prefix=neg out.csv ) | tee $Safe/weka8.out