File: exitval2.awk

package info (click to toggle)
gawk 1%3A5.1.0-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 22,628 kB
  • sloc: ansic: 52,745; awk: 13,172; yacc: 6,774; sh: 5,744; makefile: 2,838; sed: 135; csh: 6
file content (3 lines) | stat: -rw-r--r-- 148 bytes parent folder | download | duplicates (11)
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