xref: /freebsd/contrib/one-true-awk/testdir/t.getline1 (revision a90b9d0159070121c221b966469c3e36d912bf82)
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