shithub: trueawk

ref: 2a3ee1c2e3e1ea6477ca8715bf1531dbf34367a1
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
}