diff --git a/script.sh b/script.sh index c73a609..cf92ebb 100644 --- a/script.sh +++ b/script.sh @@ -17,5 +17,6 @@ calc(){ awk "BEGIN { print "$*" }"; } all_lines=$( wc -l < werAll.txt ) lines_with_0=$( grep -c '^0$' werAll.txt ) calc $lines_with_0/$all_lines >> srr.txt + tail -n50 wer.txt | sponge wer.txt tail -n50 srr.txt | sponge srr.txt \ No newline at end of file