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