Hey i have 1000 replicate files with a file name looks like below
a.out1
a.out2
a.out3
.....
a.out1000
each file contains 12 rows and 12 columns including the header.
a.out1 looks like this
n col1 col2 col3 col4 ...........col12
1 0.3 0.1 0.1 0.11............0.5
2 ....................................
3
4
5
6
7
8
9
10
11
12
now how can i get the average of the 100 files and print it in to one file called a.out
a.out.
thanks