awk '{s+=$1;i+=1;} END {print s/i}' wer_lines.txt > wer.txt