ref: 52a6023c85229ee680e0cb53df168cac214a915e 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 }