Xref: utzoo gnu.utils.bug:797 alt.msdos.programmer:1153 Path: 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 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