ref: a288969bf6c2d73cb8e77ece798a6009ffb57d99 dir: /test/t.getline1/
{ x = $1 for (i = 1; i <= 3; i++) if (getline) x = x " " $1 print x x = "" } END { if (x != "") print x }