Shell Cal   
folder=./
total_test=0
total_pass=0

for f in `find $folder -type f -name "hhb.txt"`
do

    cat $f

    case_test=`sed -n '2p' $f | awk -F ':' '{print $2}' | bc`
    case_pass=`sed -n '3p' $f | awk -F ':' '{print $2}' | bc`
    case_pass_rate_per_sampling=`awk 'BEGIN{printf "%.2f%\n", ('$case_pass'/'$case_test') *100}'`

    let total_test=total_test+case_test
    let total_pass=total_pass+case_pass
    
    echo "${case_pass_rate_per_sampling}"

done

echo $total_test
echo $total_pass
awk 'BEGIN{printf "%.2f%\n", ('$total_pass'/'$total_test') *100}'