xref: /aosp_15_r20/external/one-true-awk/testdir/t.beginnext (revision 9a7741de182b2776d7b30d6355f2585c0780a51b)
1*9a7741deSElliott HughesBEGIN {
2*9a7741deSElliott Hughes	while (getline && n++ < 10)
3*9a7741deSElliott Hughes		print
4*9a7741deSElliott Hughes	print "tenth"
5*9a7741deSElliott Hughes}
6*9a7741deSElliott Hughes{ print }
7