res-new-ind.sh 478 Bytes
Newer Older
German Leon's avatar
German Leon committed
1
#cut -d, -f 3,4,9,10,11,12,13,14,15  fi_lavaMD_single_bit_RF.csv 
2
3
4
./res-new-ind-simple.sh $1
reg=2
for i in $(seq 0 1 255)
German Leon's avatar
German Leon committed
5
do
6
7
8
9
ib=$(echo "R"$i)
n=$(cut -f $reg -d, $1|grep $ib|wc -l)
if [ "$n" -gt 0 ];
then
German Leon's avatar
German Leon committed
10

11
12
13
14
echo $ib"="$n
fi
done
for i in $(seq 0 1 255)
German Leon's avatar
German Leon committed
15
do
16
17
18
19
20
21
22
23
24
ib=$(echo "R"$i)
n=$(cut -f $reg -d, $1|grep $ib|wc -l)
if [ "$n" -gt 0 ];
then
echo "============"$ib"========="
head -1 $1 >filetempreg.csv
grep $ib  $1 >> filetempreg.csv
./res-new-ind-simple.sh filetempreg.csv
fi
German Leon's avatar
German Leon committed
25
done