shithub: trueawk

ref: a3b68e649d2da36d19d78106134d1114f06b56e1
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
}