./lang/gawk, GNU awk

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ] [ Image Add to tracker ]


Branch: CURRENT, Version: 5.3.2, Package name: gawk-5.3.2, Maintainer: bouyer

The GNU AWK utility, a pattern scanning and processing tool


Required to run:
[math/mpfr] [devel/gmp] [devel/readline]

Required to build:
[pkgtools/cwrappers]

Package options: nls, readline

Master sites: (Expand)

Filesize: 3661.387 KB

Version history: (Expand)


CVS history: (Expand)


   2025-09-28 13:37:33 by Ryo ONODERA | Files touched by this commit (3)
Log message:
lang/gawk: Update to 5.3.2

Changelog:
Changes from 5.3.1 to 5.3.2
---------------------------

1. The pretty printer now produces fewer spurious newlines; at the
   outermost level it now adds newlines between block comments and
   the block or function that follows them. The extra final newline
   is no longer produced.

2. OpenVMS 9.2-2 x86_64 is now supported.

3. On Linux and macos systems, the -no-pie linker flag is no longer required.
   PMA now works on macos systems with Apple silicon, and not just
   Intel systems.

4. Still more subtle issues related to uninitialized array elements have
   been fixed.

5. Associative arrays should now not grow quite as fast as they used to.

6. The code and documentation are now consistent with each other with
   respect to path searching and adding .awk to the filename. Both
   are always done, even with --posix and --traditional.

7. As usual, there have been several minor code cleanups and bug fixes.
   See the ChangeLog for details.

Changes from 5.3.0 to 5.3.1
---------------------------

1. More subtle issues related to uninitialized array elements have
   been fixed.

2. A number of bugs in the debugger related to handling of arrays
   have been fixed.

3. Some subtle bugs in the API have been fixed.

4. Use of MPFR is now possible again on 32-bit Power PC Mac systems.

5. Race conditions around broken pipes for system() and read and write
   pipes should now be closed off.

6. Support for OSF/1 has been removed.

7. The never-documented --nostalgia option has been removed. It was
   causing bug reports.

8. The implementation of printf/sprintf has been thoroughly reworked
   in order to make the code more maintainable and to fix a goodly
   number of corner cases.

9. As usual, there have been several minor code cleanups and bug fixes.
   See the ChangeLog for details.
   2025-03-30 23:10:49 by Thomas Klausner | Files touched by this commit (100)
Log message:
*: remove MirBSD support
   2024-05-01 22:02:15 by Aleksey Cheusov | Files touched by this commit (3)
Log message:
Add option "nls" enabled by default
   2023-11-07 10:17:20 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
gawk: update to 5.3.0.

Changes from 5.2.x to 5.3.0
---------------------------

1. Infrastructure changes: Removed the use of libsigsegv. The
   value-add was never very much and it caused problems in some
   environments.

2. In keeping with new features in BWK awk, gawk now has built-in
   CSV file parsing. The behavior is intended to be identical to
   that of the "One True AWK" when --csv is applied. See the
   manual for details.

3. Also in keeping with BWK awk, gawk now supports a new \u escape
   sequence. This should be followed by 1-8 hexadecimal digits. The
   given code point is converted to its corresponding multibyte encoding
   for storage inside gawk. See the manual.

4. If PROCINFO["BUFFERPIPE"] exists, then pipe output is buffered.
   You can also use PROCINFO["command", "BUFFERPIPE"]. See \ 
the manual
   for details.

5. Because of the additional `do_csv' variable in the API, which breaks
   binary compatibility, the API major version was updated to 4 and
   the minor version was reset to zero.  The API remains source code
   compatible; that is, existing extensions should only require recompilation.

6. The manual now requires Texinfo 7.1 and its texinfo.tex for formatting.
   As a result, we no longer need to pre-process it, removing the need
   for gawktexi.in and leaving just gawk.texi.

7. And of course, there have been several minor code cleanups and bug fixes.
   See the ChangeLog for details.

Changes from 5.2.2 to 5.2.x
---------------------------

1. The readdir extension has been updated with additonal code and
   features, see the manual or its man page. As a result, the
   readdir_test.c extension has been removed.

2. We have a new translation: Ukranian.

3. Several subtle issues related to null regexp matches around
   multibyte characters have been fixed.
   2023-05-16 22:31:00 by Thomas Klausner | Files touched by this commit (6) | Package updated
Log message:
gawk: update to 5.2.2.

Changes from 5.2.1 to 5.2.2
---------------------------

1. Infrastructure upgrades: makeinfo 7.0.1 must be used to format
   the manual.  As a result, the manual can also now be formatted
   with LaTeX by running it through `makeinfo --latex'.

2. Gawk no longer builds an x86_64 executable on M1 macOS systems.
   This means that PMA is unavailable on those systems.

3. Gawk will now diagnose if a heap file was created with a different
   setting of -M/--bignum than in the current invocation and exit with
   a fatal message if so.

4. Gawk no longer "leaks" its free list of NODEs in the heap file, \ 
resulting
   in much more efficient usage of persistent storage.

5. PROCINFO["pma"] exists if the PMA allocator is compiled into gawk.
   Its value is the PMA version.

6. The time extension is no longer deprecated. The strptime() function
   from gawkextlib's timex extension has been added to it.

7. Better information is passed to input parsers for when they want to
   decide whether or not to take control of a file. In particular, the
   readdir extension is simplified for Windows because of this.

8. The various PNG files are now installed for Info and HTML. The
   images files now have gawk_ prefixed names to avoid any conflicts
   with other installed PNG file names.

9. As usual, there have been several minor code cleanups and bug fixes.
   See the ChangeLog for details.
   2022-12-05 11:17:48 by Jonathan Perkin | Files touched by this commit (3)
Log message:
gawk: Fix build on Darwin/aarch64.
   2022-11-28 00:11:29 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
gawk: update to 5.2.1.

Changes from 5.2.0 to 5.2.1
---------------------------

1. Infrastructure upgrades: PMA version Avon 8.

2. Issues related to the sign of NaN and Inf values on RiscV have
   been fixed; gawk now gives identical results on that platform as
   it does on others.

3. A few issues with the debugger have been fixed.

4. More subtle issues with untyped array elements being passed to
   functions have been fixed.

5. The rwarray extension's readall() function has had some bugs fixed.

6. The PMA allocator is now supported on FreeBSD, OpenBSD and Linux on S/390x.
   Is is now supported also on both Intel and M1 macOS systems.

7. There have been several minor code cleanups and bug fixes. See the
   ChangeLog for details.
   2022-09-12 11:55:56 by Thomas Klausner | Files touched by this commit (5) | Package updated
Log message:
gawk: update to 5.2.0.

Changes from 5.1.x to 5.2.0
---------------------------

*****************************************************************************
* MPFR mode (the -M option) is now ON PAROLE.  This feature is now being    *
* supported by a volunteer in the development team and not by the primary   *
* maintainer.  If this situation changes, then the feature will be removed. *
* For more information see this section in the manual:                      *
* https://www.gnu.org/software/gawk/manual/html_node/MPFR-On-Parole.html    *
*****************************************************************************

1. Infrastructure upgrades: Libtool 2.4.7, Bison 3.8.2.

2. Numeric scalars now compare in the same way as C for the relational
   operators. Comparison order for sorting has not changed.  This only
   makes a difference when comparing Infinity and NaN values with
   regular numbers; it should not be noticeable most of the time.

3. If the AWK_HASH environment variable is set to "fnv1a" gawk will
   use the FNV1-A hash function for associative arrays.

4. The CMake infrastructure has been removed. In the five years it was in
   the tree, nobody used it, and it was not updated.

5. There is now a new function, mkbool(), that creates Boolean-typed
   values.  These values *are* numbers, but they are also tagged as
   Boolean. This is mainly for use with data exchange to/from languages
   or environments that support real Boolean values. See the manual
   for details.

6. As BWK awk has supported interval expressions since 2019, they are
   now enabled even if --traditional is supplied. The -r/--re-interval option
   remains, but it does nothing.

7. The rwarray extension has two new functions, writeall() and readall(),
   for saving / restoring all of gawk's variables and arrays.

8. The new `gawkbug' script should be used for reporting bugs.

9. The manual page (doc/gawk.1) has been considerably reduced in size.
   Wherever possible, details were replaced with references to the online
   copy of the manual.

10. Gawk now supports Terence Kelly's "persistent malloc" (pma),
    allowing gawk to preserve its variables, arrays and user-defined
    functions between runs. THIS IS AN EXPERIMENTAL FEATURE!

    For more information, see the manual. A new pm-gawk.1 man page
    is included, as is a separate user manual that focuses on the feature.

11. Support for OS/2 has been removed. It was not being actively
    maintained.

12. Similarly, support for DJGPP has been removed. It also was not
    being actively maintained.

13. VAX/VMS is no longer supported, as it can no longer be tested.
    The files for it remain in the distribution but will be removed
    eventually.

14. Some subtle issues with untyped array elements being passed to
    functions have been fixed.

15. Syntax errors are now immediately fatal. This prevents problems
    with errors from fuzzers and other such things.

16. There have been numerous minor code cleanups and bug fixes. See the
    ChangeLog for details.