shell awk代码

awk '
NF < 0
{ 
   if (NR > 1)
    s += $1 
}
END {printf "%.3f\n", s / (NR - 1)}
'