summaryrefslogtreecommitdiff
path: root/usr/src/test/util-tests/tests/awk/gnu/exitval2.awk
blob: ed05e76b67934a65de5096a4f2516f83aa3ee9c6 (plain)
1
2
3
BEGIN { print "foo" | "read x ; echo $x ; exit 12" }
# this should still exit 0, as pointed out by kenny mccormack in
# comp.lang.awk on 2 feb 2005