zad3 test 31

This commit is contained in:
massta 2020-04-03 17:42:11 +02:00
parent 848705b4f0
commit 7c0c6f6d3b

View File

@ -1,6 +1,8 @@
#!/bin/bash
cat output.txt | awk '{print (($7 + $8 + $9)/($7 + $8 + $6))*100;}' > clear.txt
paste -d ' ' wikiniews_results.tsv clear.txt > wikiniews_results.tsv
paste -d ' ' wikiniews_results.tsv clear.txt > support.tsv
cat support.tsv > wikiniews_results.tsv
avg=$(numaverage clear.txt)