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