zad3 test20

This commit is contained in:
massta 2020-04-03 17:04:30 +02:00
parent 56622352cd
commit f66c085c58

View File

@ -2,8 +2,8 @@
cat output.txt | awk '{print (($7 + $8 + $9)/($7 + $8 + $6))*100;}' > clear.txt cat output.txt | awk '{print (($7 + $8 + $9)/($7 + $8 + $6))*100;}' > clear.txt
avg=$(numaverage clear.txt) avg=$(numaverage clear.txt)
srr_matching=$(grep -x "0" results.txt | wc -l) srr_matching=$(grep -x "0" clear.txt | wc -l)
all=$(cat results.txt | wc -l) all=$(cat clear.txt | wc -l)
echo "$srr_matching" echo "$srr_matching"
echo "$all" echo "$all"