bug-gawk
[Top][All Lists]
Advanced

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

Re: What's gawk 5.1.1?


From: arnold
Subject: Re: What's gawk 5.1.1?
Date: Fri, 05 Feb 2021 01:23:53 -0700
User-agent: Heirloom mailx 12.5 7/5/10

I didn't read this closely enough last night. It was late and I was
tired, sorry.

5.1.1 is the next release, whenever that will be.  The code and doc
were updated after the 5.1.0 release to have the new behavior. Master
doesn't get a new version in what --version prints until a release is
made, which is why they both claim to be 5.1.0.

In general, the code in master is stable and usable, but not necessarily
polished for use as a release version.

HTH,

Arnold

Arkadiusz Drabczyk <arkadiusz@drabczyk.org> wrote:

> In gawk.info it says:
>
> "Prior to version 5.1.1 of 'gawk', as an accident of the
> implementation, '$0' and the fields retained any previous values they
> had in 'BEGINFILE' rules.  Starting with version 5.1.1, '$0' and the
> fields are cleared, since no record has been read yet from the file
> that is about to be processed."
>
> And indeed, it works like that with gawk built from today's master but
> not with gawk provided by Slackware -current which is the OS that I
> use but the thing is that both of them report to be 5.1.0:
>
> master:
>
> ./gawk --version | head -2
> GNU Awk 5.1.0, API: 3.1 (GNU MPFR 4.1.0, GNU MP 6.2.0)
> Copyright (C) 1989, 1991-2020 Free Software Foundation.
>
> Slackware:
>
> $ gawk --version | head -2
> GNU Awk 5.1.0, API: 3.0 (GNU MPFR 4.1.0, GNU MP 6.2.0)
> Copyright (C) 1989, 1991-2020 Free Software Foundation.
>
> The string 5.1.1 only appears in several places in the source code
> tree:
>
> [ja:~/awk/gawk] master+* ± ag '5\.1\.1' -l
> doc/ChangeLog
> doc/gawktexi.in
> doc/it/gawktexi.in
> doc/gawk.info
> doc/gawk.texi
> doc/gawk.ps
> NEWS
>
> But there is PACKAGE_STRING='GNU Awk 5.1.0' in ./configure. Can you
> please clear this up?
>
> -- 
> Arkadiusz Drabczyk <arkadiusz@drabczyk.org>



reply via email to

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