Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CS.UTEXAS.EDU!meyering From: meyering@CS.UTEXAS.EDU (Jim Meyering) Newsgroups: gnu.utils.bug Subject: gawk's exit # statement doesn't work Message-ID: <9002011730.AA25762@ai.cs.utexas.edu> Date: 1 Feb 90 17:29:59 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: U of TX at Austin CS Dept Lines: 9 Gawk exits with a zero `status' even with statements like "exit 1" > ai% gawk -V '{exit 2}' < /dev/null > Gnu Awk (gawk) 2.11, patchlevel 1 > ai% echo $status > 0 > ai% Jim Meyering meyering@cs.utexas.edu