Without having seen it the input, the code that fits the problem description is:
perl -F'\t' -lanE'$sum += $F[3]; END { say $sum/$. }'
In reply to Re: average of column
by daxim
in thread average of column
by linseyr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |