shithub: trueawk

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