Article View: gnu.utils.bug
Article #1706gawk's exit # statement doesn't work
From: Jim Meyering
Date: Thu, 01 Feb 1990 17:29
Date: Thu, 01 Feb 1990 17:29
9 lines
634 bytes
634 bytes
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
Technical Details
Message-ID:
<9002011730.AA25762@ai.cs.utexas.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CS.UTEXAS.EDU!meyeringShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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