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