res-new.sh 690 Bytes
Newer Older
German Leon's avatar
German Leon committed
1
2
3
4
5
6
7
    cab="Experimento"
    for j in "fault_successful" "Model" "hang(%)" "crash(%)" "masked(%)" "sdc(%)" "Hang-restart-fi" "Registros"
          do
          cab=$(echo $cab";"$j)

          done
  echo $cab > $1/resumen_total.csv
German Leon's avatar
German Leon committed
8
9
10
11
12
13

for i in $(ls $1 | grep  -v -E resumen_* )
do
	echo "res-new-ind.sh" $1/$i  ">" $1"/resumen_"$i
	
	./res-new-ind.sh $1/$i  > $1/resumen_$i
German Leon's avatar
German Leon committed
14
15
16
17
18
19
20
21
22
        row=$(echo $i)
        for j in "fault_successful" "Model" "hang(%)" "crash(%)" "masked(%)" "sdc(%)" "Hang-restart-fi" "Registros"
          do
          campo=$(grep $j $1/resumen_$i|cut -d= -f2|head -1)
          row=$(echo $row";"$campo)
          done
     
       echo $row >> $1/resumen_total.csv  

German Leon's avatar
German Leon committed
23
done