#!/bin/bash Local=${Local="/srv/bronze/dj/wisp/var/dj/rbst/10xresult7"} Datums=${Datums="a2b/audiology a2b/auto-mpg a2b/breast-cancer a2b/breast-cancer-wisconsin c2d/credit-a c2d/diabetes e2i/ecoli e2i/flag e2i/hayes-roth e2i/heart-c e2i/heart-h e2i/hepatitis e2i/imports-85 e2i/iris j2p/kr-vs-kp j2p/letter j2p/mushroom q2s/segment q2s/splice q2s/soybean t2z/vowel t2z/wine t2z/wdbc t2z/waveform-5000"} #Log=${Log=28054} for datum in $Datums do #echo $datum file=${datum##*/} #echo $file command="grep \"$datum\" myres1wnpf.csv > ${file}data.csv" #countcommand="grep -c \"$datum\" myresults.28054.csv.withextras " echo $command #echo `$command` #$command done;