BSD 4_4 development
[unix-history] / usr / src / old / awk / test / t.getline
CommitLineData
aba0ee18
C
1{ x = $1
2 for (i = 1; i <= 3; i++)
3 if (getline)
4 x = x " " $1
5 print x
6 x = ""
7}
8END {
9 if (x != "") print x
10}