1135446Strhodes/^ *[0-9]/	{
2170222Sdougb	# print out the average time to each hop along a route.
3135446Strhodes	tottime = 0; n = 0;
4135446Strhodes	for (f = 5; f <= NF; ++f) {
5135446Strhodes		if ($f == "ms") {
6135446Strhodes			tottime += $(f - 1)
7135446Strhodes			++n
8135446Strhodes		}
9135446Strhodes	}
10135446Strhodes	if (n > 0)
11135446Strhodes		print $1, tottime/n, median
12135446Strhodes}
13135446Strhodes