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