Linux Today: Linux News On Internet Time.

Plain English Explanation Of An Awk Statement For Linux Or Unix

Nov 22, 2008, 01:33 (0 Talkback[s])
(Other stories by Mike Tremell)

[ 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):"

Complete Story

Related Stories: