Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Gawk 3.1.7 now available

26 views
Skip to first unread message

Aharon Robbins

unread,
Jul 24, 2009, 12:49:54 AM7/24/09
to
Greetings all.

Patch #7 to GNU Awk (gawk) 3.1 is now available. Gawk is the GNU project's
version of the AWK programming language.

The following files may be retrieved from ftp://ftp.gnu.org/gnu/gawk:

-rw-r--r-- 1 arnold users 1063255 Jul 23 13:39 gawk-3.1.6-3.1.7.diff.gz
-rw-r--r-- 1 arnold users 2365837 Jul 21 15:31 gawk-3.1.7.tar.bz2
-rw-r--r-- 1 arnold users 3111834 Jul 21 15:31 gawk-3.1.7.tar.gz

MD5SUMs:
1c3351086a80250e669e4962009b45d7 gawk-3.1.6-3.1.7.diff.gz
674cc5875714315c490b26293d36dfcf gawk-3.1.7.tar.bz2
a38d5dec19320ace01f1d16c8beb1363 gawk-3.1.7.tar.gz

Courtesy of Karl Berry, there is also a gawk-3.1.7.tar.xz file.

This is a bug fix release. The relevant part of the NEWS file is
reproduced below.

A .bz2 file is available for the full distribution to save download time.

The .diff file is a SHELL SCRIPT that should be executed with `sh'. It
sets things up correctly both before and after applying the embedded
context diff. Note also that if you use the .diff file to upgrade,
you should have the version of makeinfo from Texinfo 4.11 or later in
order to rebuild the *.info files.

Bug reports should be sent to bug-...@gnu.org.

Enjoy!

Arnold Robbins
arn...@skeeve.com
------------------------------------------------------------
Changes from 3.1.6 to 3.1.7
---------------------------
1. Gawk now has support for z/OS (IBM S/390 architecture).

2. Gawk now handles multibyte strings better in [s]printf with field
widths and such.

3. Gawk now uses libsigsegv to print a message before core dumping. This
handles infinite recursion of an awk function a little better.
Use of the library can be disabled at configure time with the
--disable-libsigsegv option for unusual systems.

4. The handling of BINMODE is now somewhat more sane.

5. A getline from a directory is no longer fatal; instead it returns -1.

6. Per POSIX, special variable names (like FS) cannot be used as function
parameter names.

7. The new -O / --optimize option enables simple constant folding on
the parse tree during parsing. We hope that with time the number
of optimizations will increase.

8. Updated to the latest autotools: Autoconf 2.63, Automake 1.11,
Libtool 2.2.6a, and Gettext 0.17. Also latest Bison: 2.4.1.

9. Some improvement in testing for isinf / isnan in builtin.c.

10. Improved the handling of `a = a b c' to be more general.

11. Locale handling for %'d should now work on certain non-Unix /
non-Linux systems.

12. Lots of bugs fixed, see the ChangeLog for the details.
--
Aharon (Arnold) Robbins arnold AT skeeve DOT com
P.O. Box 354 Home Phone: +972 8 979-0381
Nof Ayalon Cell Phone: +972 50 729-7545
D.N. Shimshon 99785 ISRAEL

Tim Menzies

unread,
Jul 28, 2009, 4:23:57 AM7/28/09
to
On Jul 24, 12:49 am, arn...@skeeve.com (Aharon Robbins) wrote:
> Patch #7 to GNU Awk (gawk) 3.1 is now available. Gawk is the GNU project's
> version of the AWK programming language.>

hey aharon,

indirect functions not in gawk 3.1.7?

/opt/local/bin/gawk -W version
GNU Awk 3.1.7

/opt/local/bin/gawk --source 'function x(y) {print 1 y} BEGIN {f="x";
@f(22)}'
gawk: function x(y) {print 1 y} BEGIN {f="x"; @f(22)}
gawk: ^ invalid char '@' in
expression

thanks!
tim menzies

Aharon Robbins

unread,
Jul 28, 2009, 7:26:12 AM7/28/09
to
In article <3b86c26e-8aa3-4bb4...@o32g2000yqm.googlegroups.com>,

Tim Menzies <menzi...@gmail.com> wrote:
>On Jul 24, 12:49�am, arn...@skeeve.com (Aharon Robbins) wrote:
>> Patch #7 to GNU Awk (gawk) 3.1 is now available. Gawk is the GNU project's
>> version of the AWK programming language.>
>
>hey aharon,
>
>indirect functions not in gawk 3.1.7?

Right. They're in the development tree; 3.1.7 represents a *stable* release.

Now that 3.1.7 is out I hope to be able to do some serious work on what
will be either 3.2 or 4.0.

Thanks,

Arnold

0 new messages