xref: /aosp_15_r20/external/one-true-awk/testdir/t.break1 (revision 9a7741de182b2776d7b30d6355f2585c0780a51b)
1*9a7741deSElliott Hughes	{ x[NR] = $0 }
2*9a7741deSElliott HughesEND {
3*9a7741deSElliott Hughes	for (i = 1; i <= NR; i++) {
4*9a7741deSElliott Hughes		print i, x[i]
5*9a7741deSElliott Hughes		if (x[i] ~ /shen/)
6*9a7741deSElliott Hughes			break
7*9a7741deSElliott Hughes	}
8*9a7741deSElliott Hughes	print "got here"
9*9a7741deSElliott Hughes	print i, x[i]
10*9a7741deSElliott Hughes}
11