🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1711

Re: gawk's exit # statement doesn't work

#1711
From: Cliff Stanford
Date: Sat, 03 Feb 1990 15:06
19 lines
1031 bytes
In article <200@audfax.audiofax.com> arnold@audiofax.com (Arnold Robbins) writes:
> If you type
> 
> 	echo hi | gawk '{exit 2}'
> 
> then it will indeed exit with a status of 2.  I just checked.

Just tried it under MsDos --- Works fine there too!


-- 
Automatic Disclaimer:
The views expressed above are those of the author alone and may not
represent the views of the IBM PC User Group.
-- 
Cliff Stanford						demon@ibmpcug.co.UK
Demon Systems Limited					demon@cix.cix.UUCP
42 Hendon Lane						cliffs@bix
London N3 1TT - England
Technical Details
Message-ID: <1990Feb3.150601.4719@ibmpcug.co.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!eru!luth!sunic!mcsun!ukc!slxsys!ibmpcug!demon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!eru!luth!sunic!mcsun!ukc!slxsys!ibmpcug!demon
From: demon@ibmpcug.co.uk (Cliff Stanford)
Newsgroups: gnu.utils.bug,alt.msdos.programmer,connect.audit
Subject: Re: gawk's exit # statement doesn't work
Message-ID: <1990Feb3.150601.4719@ibmpcug.co.uk>
Date: 3 Feb 90 15:06:01 GMT
Distribution: gnu
Organization: The IBM PC User Group, UK.
Lines: 19