New version of GNU AWK 5.2 interpreter

presented a new release of the AWK programming language from the GNU project-gawk 5.2.0 . AWK was developed in the 70s of the last century and has not undergone significant changes since the mid-80s, in which the main backbone of the language was determined, which has allowed over the past decades to maintain pristine stability and simplicity of the language. Despite the advanced age, AWK is still actively used by administrators to perform routine work associated with the analysis of various kinds of text files and generating a simple resulting statistics.

Key changes:

  • Added experimental support of the memory manager pma (Persistent Malloc), which allows to maintain the values ​​of variables, arrays and user functions between different launches AWK.
  • Support for high accuracy arithmetic, implemented using the library mpfr , displayed from the area of ​​responsibility of the accompanying GNU AWK and transmitted to a third-party enthusiast. It is noted that the implementation of the MPFR mode in GNU AWK is considered as an error. In the event of a change in the state with accompaniment, it is planned to completely delete this opportunity from GNU AWK.
  • Updated components of the assembly infrastructure Libtool 2.4.7 and Bison 3.8.2.
  • The logic of comparison of numbers has been changed, which is brought into line with the logic used in the SI language. For users, the change mainly affects the comparison of Infinity and Nan with the usual numbers.
  • The possibility of using the FNV1-A hash-functions in associative arrays, included in the exposition of the AWK_HASH variable in the “FNV1A”.
  • Removed assembly support using CMAKE (CMAKE support code was not in demand and was not updated for five years).
  • Added the mkbool () function to create boulevial ​​values ​​that are numbers, but are processed as the type Boolean.
  • In the BWK mode, when indicating the flag “–traditional”, the default support for expressions for determining the ranges previously included by the -r option (“–re-interval”).
  • In the expansion of Rwarray, new functions of Writeall () and Readall () are proposed for recording and reading at once of all variables and arrays.
  • Added Gawkbug script to transmit error information.
  • Instant completion of work in the case of determining syntactic errors, which solves problems using tools for fuzzing testing.
  • OS/2 and VAX/VMS.
  • operating systems stopped supporting systems.

/Media reports.