shithub: trueawk

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