We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e6ee78 commit f1a4f2fCopy full SHA for f1a4f2f
run-test.bash
@@ -33,10 +33,13 @@ failed=`cat $out | grep "|FAIL" | wc -l`
33
total=`cat $out | wc -l`
34
35
echo "Parsed:"
36
-echo $parsed "("$((parsed*100/total))"%) - ("$((parsed_unambig*100/parsed))"% unambiguous)"
+parsed_pc=`echo "scale=2;${parsed}*100/${total}" | bc -l`
37
+unambig_pc=`echo "scale=2;${parsed_unambig}*100/${parsed}" | bc -l`
38
+echo "${parsed} (${parsed_pc}%) - (${unambig_pc}% unambiguous)"
39
40
echo "NOT parsed:"
-echo $failed "("$((failed*100/total))"%)"
41
+failed_pc=`echo "scale=2;${failed}*100/${total}" | bc -l`
42
+echo "${failed} (${failed_pc}%)"
43
44
echo "Creating ${out_fail}"
45
cat $out | grep "|FAIL" | sed "s/^.*|FAIL //" | sort | uniq -c | sort -nr > ${out_fail}
0 commit comments