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