ref: ba4a1c07f1bc7622f8a3dcd4f2d383f4ec70fc1c 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 }