xref: /freebsd/contrib/one-true-awk/testdir/t.break2 (revision a4e5e0106ac7145f56eb39a691e302cabb4635be)
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