- Update to gawk 5.2.0
* Numeric scalars now compare in the same way as C for the relational
operators. Comparison order for sorting has not changed
* If the AWK_HASH environment variable is set to "fnv1a" gawk will
use the FNV1-A hash function for associative arrays
* There is now a new function, mkbool(), that creates Boolean-typed
values
* As BWK awk has supported interval expressions since 2019, they are
now enabled even if --traditional is supplied
* The rwarray extension has two new functions, writeall() and readall()
* The new `gawkbug' script should be used for reporting bugs
* The manual page (doc/gawk.1) has been considerably reduced in size
* Gawk now supports Terence Kelly's "persistent malloc" (pma),
allowing gawk to preserve its variables, arrays and user-defined
functions between runs
* Some subtle issues with untyped array elements being passed to
functions have been fixed
* Syntax errors are now immediately fatal
- gawk-5.1.1-Disable-racy-test-in-test-iolint.awk.patch: removed
- pma.patch: Handle hole bigger than half the address space
- nan-tests.patch: fix non-portable NaN tests
OBS-URL: https://build.opensuse.org/request/show/1001442
OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=88
This is Part 1/2 to remove update-alternatives support from awk.
On linux systems, GNU software is usually considered the default implementation. There are a lot of scripts assuming gawk to be the
interpreter engine, as for very long time now, gawk is the default
interpreter for SUSE/openSUSE.
Gawk is POSIX compliant if the env variable POSIXLY_CORRECT is set,
and therefore should be able to run run all awk scripts seeking for compatibility.
This patch unconditionally makes gawk the default awk implementation by setting a symlink from /usr/bin/gawk to /usr/bin/awk.
OBS-URL: https://build.opensuse.org/request/show/921253
OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=84
- Update to 5.1.0:
* The major version of the API is bumped to 3, something that should
have happened at the 5.0.0 release but didn't.
* A number of memory leak issues have been fixed.
* Infrastructure upgrades: Bison 3.5.4, Texinfo 6.7, Gettext 0.20.1,
Automake 1.16.2.
* The indexing in the manual has been thoroughly revised, in particular
making use of the facilities in Texinfo 6.7. That version (or newer)
must be used to format the manual.
* MSYS2 is now supported out-of-the-box by configure.
* Several bugs have been fixed. See the ChangeLog for details.
- Removed gawk-inplace-namespace-part3.patch
- Removed gawk-inplace-namespace-part1.patch
- Removed gawk-inplace-namespace-part2.patch
OBS-URL: https://build.opensuse.org/request/show/794095
OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=79
- Update to gawk 4.2.0
* If not in POSIX mode, changes to ENVIRON are reflected into
gawk's environment
* The series of numbers returned by rand() should now be "more
random" than previously
* Multiple changes related to the pretty printer
* The igawk script and igawk.1 man page are no longer installed
* Gawk now processes a maximum of two hexadecimal digits in \x
escape sequences inside strings
* Setting PROCINFO["redirection", "NONFATAL"] to true makes I/O
errors for "redirection" not fatal
* Gawk now supports retryable I/O via PROCINFO[input-file, "RETRY"]
* Revisions in the POSIX standard remove the special case for POSIX
mode when FS = " " where newline was not a field separator
* Gawk now supports strongly typed regexp constants
* The new typeof() function can be used to indicate if a variable or
array element is an array, regexp, string or number
* Optimizations are now enabled by default
* Passing negative operands to any of the bitwise functions now
produces a fatal error
* The mktime function now accepts an optional second argument
* The FIELDWIDTHS parsing syntax has been enhanced to allow specifying
how many characters to skip before a field starts
* The PROCINFO["argv"] array records all of gawk's command line arguments
as gawk received them
- gawk_ppc64le_ignore_transient_test_time_failure.patch: removed
OBS-URL: https://build.opensuse.org/request/show/535340
OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=67
- Update to version 4.1.0
* The three executables gawk, pgawk, and dgawk, have been merged into
one, named just gawk.
* The new -i option (from xgawk) is used for loading awk library files.
* The new -l option (from xgawk) is used for loading dynamic extensions.
* The dynamic extension interface has been completely redone. There is
now a defined API for C extensions to use. A C extension acts like
a function written in awk, except that it cannot do everything that awk
code can. However, this allows interfacing to any facility that is
available from C.
* The "inplace" extension, built using the new facility, can be used to
simulate the GNU "sed -i" feature.
* The and(), or() and xor() functions now take any number of arguments,
with a minimum of two.
* New arrays: SYMTAB, FUNCTAB, and PROCINFO["identifiers"]. SYMTAB allows
indirect access to any defined variable or array; it is possible to
"walk" the symbol table, if that should be necessary.
- Refreshed gawk-3.1.8.diff
- Add older-automake.diff to support automake 1.12
OBS-URL: https://build.opensuse.org/request/show/175250
OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=33