shithub: trueawk

ref: 0eeec2359f4cce389ae4e6163959c1fda3dcb9ad
dir: /testdir/t.getline1/

View raw version
{ x = $1
  for (i = 1; i <= 3; i++)
	if (getline)
		x = x " " $1
  print x
  x = ""
}
END {
  if (x != "") print x
}