awk/testdir/t.exit1
Arnold D. Robbins d6c466c367 Extract testdir.
2019-06-23 03:13:57 -06:00

16 lines
271 B
Plaintext

BEGIN {
print "this is before calling myabort"
myabort(1)
print "this is after calling myabort"
}
function myabort(n) {
print "in myabort - before exit", n
exit 2
print "in myabort - after exit"
}
END {
print "into END"
myabort(2)
print "should not see this"
}