bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] abort keyword


From: Arnold Robbins
Subject: Re: [bug-gawk] abort keyword
Date: Thu, 11 Jan 2018 21:44:47 +0200
User-agent: Heirloom mailx 12.5 6/20/10

> Andy, maybe I'll do an abort extension for [g]awkextlib.  It's
> really pretty trivial to do... Feel free to beat me to it. :-)

I have done this; it's now in gawkextlib.  Usage should be
something like:

        gawk -labort '{ ... ; abort(42) ; ... }'

This passes 42 to the C exit() routine. If called with no
argument, it passes zero.

Enjoy,

Arnold



reply via email to

[Prev in Thread] Current Thread [Next in Thread]