From f66c085c58cb6a1a1f9856b08733aaf53a31fbc0 Mon Sep 17 00:00:00 2001 From: massta Date: Fri, 3 Apr 2020 17:04:30 +0200 Subject: [PATCH] zad3 test20 --- count2.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/count2.sh b/count2.sh index 258600c..86dabf4 100755 --- a/count2.sh +++ b/count2.sh @@ -2,8 +2,8 @@ cat output.txt | awk '{print (($7 + $8 + $9)/($7 + $8 + $6))*100;}' > clear.txt avg=$(numaverage clear.txt) -srr_matching=$(grep -x "0" results.txt | wc -l) -all=$(cat results.txt | wc -l) +srr_matching=$(grep -x "0" clear.txt | wc -l) +all=$(cat clear.txt | wc -l) echo "$srr_matching" echo "$all"