Hi Friends,
I have many files like below.
total,0.7%,0.0%,0.2%,0.0%,0.2%,0.7%,98.0%
total,1.9%,0.0%,0.4%,0.0%,0.0%,6.8%,90.6%
total,0.9%,0.0%,0.4%,0.0%,0.0%,0.0%,98.5%
total,1.4%,0.0%,0.7%,0.0%,0.2%,2.9%,94.5%
total,0.7%,0.0%,0.4%,0.0%,0.0%,0.9%,97.7%
total,0.9%,0.0%,0.4%,0.0%,0.0%,2.9%,95.5%
total,1.4%,0.0%,0.0%,0.0%,0.0%,0.0%,98.5%
total,1.2%,0.0%,0.4%,0.0%,0.0%,0.0%,98.2%
total,0.9%,0.0%,0.9%,0.0%,0.0%,1.2%,96.8%
total,2.7%,0.0%,0.4%,0.0%,0.0%,0.0%,96.7%
total,1.4%,0.0%,0.4%,0.0%,0.4%,0.7%,96.7%
There are 8 fields in above file separated by a comma. I want to find out max & average of 8th field.
Thanks,
Sunil