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