shithub: trueawk

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