An awk script to calculate the averages and stdevs for each column