[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] abort keyword
From: |
Andrew J. Schorr |
Subject: |
Re: [bug-gawk] abort keyword |
Date: |
Sat, 13 Jan 2018 15:16:04 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Jan 12, 2018 at 01:10:18PM -0600, Neil R. Ormos wrote:
> Arnold Robbins wrote:
>
> >> 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.
>
> Thanks. I'll try it out when I can figure out
> how.
It should be something like:
wget https://sourceforge.net/projects/gawkextlib/files/gawk-abort-1.0.0.tar.gz
tar xf gawk-abort-1.0.0.tar.gz
cd gawk-abort-1.0.0
./configure && make && make check && make install
There should be no need to install gawkextlib first, since this simple
extension does not require that library. Then 'gawk -labort' should work as in
Arnold's example.
Regards,
Andy
- Re: [bug-gawk] inside awk script check that -M/--bignum given on command line?, (continued)
- Re: [bug-gawk] inside awk script check that -M/--bignum given on command line?, arnold, 2018/01/08
- Re: [bug-gawk] inside awk script check that -M/--bignum given on command line?, Andrew J. Schorr, 2018/01/08
- Re: [bug-gawk] inside awk script check that -M/--bignum given on command line?, arnold, 2018/01/08
- Re: [bug-gawk] inside awk script check that -M/--bignum given on command line?, Andrew J. Schorr, 2018/01/08
- Re: [bug-gawk] inside awk script check that -M/--bignum given on command line?, Neil R. Ormos, 2018/01/08
- [bug-gawk] abort keyword, arnold, 2018/01/08
- Re: [bug-gawk] abort keyword, Andrew J. Schorr, 2018/01/08
- Re: [bug-gawk] abort keyword, Neil R. Ormos, 2018/01/08
- Re: [bug-gawk] abort keyword, Arnold Robbins, 2018/01/11
- Re: [bug-gawk] abort keyword, Neil R. Ormos, 2018/01/12
- Re: [bug-gawk] abort keyword,
Andrew J. Schorr <=
- Re: [bug-gawk] abort keyword, Neil R. Ormos, 2018/01/19
- Re: [bug-gawk] abort keyword, Andrew J. Schorr, 2018/01/19
- Re: [bug-gawk] abort keyword, arnold, 2018/01/20
- Re: [bug-gawk] abort keyword, Andrew J. Schorr, 2018/01/20
- Re: [bug-gawk] inside awk script check that -M/--bignum given on command line?, Manuel Collado, 2018/01/08
Re: [bug-gawk] inside awk script check that -M/--bignum given on command line?, arnold, 2018/01/05