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