awk/testdir/t.in3

8 lines
83 B
Plaintext
Raw Normal View History

2019-06-23 05:13:57 -04:00
{ x[NR] = $0 }
END {
for (i in x)
if (x[i] ~ /shen/)
break
print i, x[i]
}