diff --git a/shell_script.sh b/shell_script.sh index f757883..1244639 100644 --- a/shell_script.sh +++ b/shell_script.sh @@ -14,5 +14,5 @@ awk 'BEGIN{OFS="\t"}{print $6, $7, $8, $9}' < scores | awk '{ print ($2 + $3 + $ awk 'BEGIN{FS=OFS="\t"}{ bad = bad + $1; all++ }END{ print bad/all }' < wer.tsv >> wer.txt awk 'BEGIN{FS=OFS="\t"}{ if ( $1 == 0 ) good++; all++ }END{ print good/all }' < wer.tsv >> srr.txt -tail -n 500 wer.txt -tail -n 500 srr.txt +cat wer.txt | tail -n 500 > wer.txt +cat srr.txt | tail -n 500 > srr.txt