1*9a7741deSElliott Hughes { x[NR] = $0 } 2*9a7741deSElliott HughesEND { 3*9a7741deSElliott Hughes for (i in x) 4*9a7741deSElliott Hughes if (x[i] ~ /shen/) 5*9a7741deSElliott Hughes break 6*9a7741deSElliott Hughes print i, x[i] 7*9a7741deSElliott Hughes} 8