shithub: trueawk

ref: 829f5258e66609a91efebe72e18d7cd5e80987f9
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
}