[ Thanks to Mike
Golvach for this link. ]
“The example we’ll work with is from part one of
problem 2, where we looked to add the even columns and, separately,
the odd columns and then print those totals at the end of each
line. The original awk statement and resultant solution follow
(check yesterday’s awk post for the original dataset. It doesn’t
really make a difference insofar as this explanation will be
concerned):”