github.com/benhoyt/goawk@v1.8.1/testdata/t.in3 (about) 1 { x[NR] = $0 } 2 END { 3 for (i in x) 4 if (x[i] ~ /shen/) 5 break 6 print i, x[i] 7 }