xref: /freebsd/contrib/one-true-awk/testdir/t.getline1 (revision 62ff619dcc3540659a319be71c9a489f1659e14a)
1{ x = $1
2  for (i = 1; i <= 3; i++)
3	if (getline)
4		x = x " " $1
5  print x
6  x = ""
7}
8END {
9  if (x != "") print x
10}
11