blob: 49717ea094a037e321b5998f0655799850ad6e1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/awk -E
{ split($0, _columns, "\t")
for(i in _columns){
columns[i] += _columns[i]
}
}
END {
output=columns[0]
for(i in columns){
output = output "\t" columns[i]
}
print output
}
|