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