ref: 5086f3453d6716d6dcd782a45831c1ebb0f2b115 dir: /test/t.in3/
{ x[NR] = $0 } END { for (i in x) if (x[i] ~ /shen/) break print i, x[i] }