xref: /illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/t.break2 (revision 8d55b80625b903a8ec6c560f6a38b5c16d1f5cfc)
1	{ x[NR] = $0 }
2END {
3	for (i=1; i <= NR; i++) {
4		print i, x[i]
5		if (x[i] ~ /shen/)
6			break
7	}
8	print "got here"
9	print i, x[i]
10}
11