awk/testdir/t.break2

11 lines
133 B
Plaintext
Raw Normal View History

2019-06-23 05:13:57 -04:00
{ x[NR] = $0 }
END {
for (i=1; i <= NR; i++) {
print i, x[i]
if (x[i] ~ /shen/)
break
}
print "got here"
print i, x[i]
}