Menu

Tree [013f9e] master /
 History

HTTPS access


File Date Author Commit
 _web 2018-04-11 Manuel Collado Manuel Collado [a7d6df] web: fix wrong comments
 abort 2018-04-10 Manuel Collado Manuel Collado [9ec258] web: Fix errata and add the "publish.sh" tool.
 aregex 2019-05-14 Cam Webb Cam Webb [b6ad0c] fixed major memory leak. Needed to add tre_regf...
 csv 2018-04-10 Manuel Collado Manuel Collado [9ec258] web: Fix errata and add the "publish.sh" tool.
 errno 2018-07-20 Arnold D. Robbins Arnold D. Robbins [9a8454] Imprve troff usage in several manpages.
 gd 2018-04-10 Manuel Collado Manuel Collado [9ec258] web: Fix errata and add the "publish.sh" tool.
 haru 2018-04-10 Manuel Collado Manuel Collado [9ec258] web: Fix errata and add the "publish.sh" tool.
 json 2018-05-14 Arnold D. Robbins Arnold D. Robbins [59eb46] Add json/NOTES file with notes on other C++ JSO...
 lib 2018-04-10 Manuel Collado Manuel Collado [9ec258] web: Fix errata and add the "publish.sh" tool.
 lmdb 2018-07-20 Arnold D. Robbins Arnold D. Robbins [9a8454] Imprve troff usage in several manpages.
 mbs 2018-06-17 Arnold D. Robbins Arnold D. Robbins [6f4123] Improve the mbs test.
 mpfr 2019-05-02 Andrew J. Schorr Andrew J. Schorr [2f7667] Fix mpfr spec file.
 nl_langinfo 2018-04-10 Manuel Collado Manuel Collado [9ec258] web: Fix errata and add the "publish.sh" tool.
 pgsql 2018-04-10 Manuel Collado Manuel Collado [9ec258] web: Fix errata and add the "publish.sh" tool.
 reclen 2020-08-23 Arnold D. Robbins Arnold D. Robbins [013f9e] Make allocation in reclen.c smarter.
 redis 2018-04-10 Manuel Collado Manuel Collado [9ec258] web: Fix errata and add the "publish.sh" tool.
 select 2018-07-20 Arnold D. Robbins Arnold D. Robbins [9a8454] Imprve troff usage in several manpages.
 shared 2018-01-11 Andrew J. Schorr Andrew J. Schorr [b126cf] Replace incorrect 'awk_ext_id_t *' with 'awk_ex...
 timex 2020-08-10 Andrew J. Schorr Andrew J. Schorr [7f5809] Patch timex man page to clarify strptime's retu...
 xml 2018-04-10 Manuel Collado Manuel Collado [9ec258] web: Fix errata and add the "publish.sh" tool.
 .gitignore 2014-10-31 Andrew J. Schorr Andrew J. Schorr [71f364] Restructure with each extension in a separate s...
 ChangeLog 2018-04-10 Manuel Collado Manuel Collado [9ec258] web: Fix errata and add the "publish.sh" tool.
 Development 2018-04-02 Manuel Collado Manuel Collado [011f6e] Fix title line of manpages and reformat plain t...
 Development_web 2018-04-08 Manuel Collado Manuel Collado [ba137a] web: Global rebuild of the home page
 NEWS 2014-10-31 Andrew J. Schorr Andrew J. Schorr [71f364] Restructure with each extension in a separate s...
 README 2018-04-02 Manuel Collado Manuel Collado [011f6e] Fix title line of manpages and reformat plain t...
 build.sh 2017-12-02 Andrew J. Schorr Andrew J. Schorr [1bbbc6] The build.sh and check.sh scripts should run "m...
 build_all.sh 2014-11-14 Andrew J. Schorr Andrew J. Schorr [107df8] Fix m4 quoting bug in configure scripts (need t...
 check.sh 2017-12-02 Andrew J. Schorr Andrew J. Schorr [1bbbc6] The build.sh and check.sh scripts should run "m...
 check_all.sh 2014-11-14 Andrew J. Schorr Andrew J. Schorr [107df8] Fix m4 quoting bug in configure scripts (need t...
 dirloop.sh 2018-03-09 Andrew J. Schorr Andrew J. Schorr [2c511f] Patch top-level dirloop.sh script to ignore new...
 make_extension_directory.sh 2018-02-16 Andrew J. Schorr Andrew J. Schorr [772fb2] Patch make_extension_directory.sh to enhance rp...
 makeweb.sh 2018-03-15 Manuel Collado Manuel Collado [e0d701] Summary section from %description in spec. No n...
 publish.sh 2018-04-10 Manuel Collado Manuel Collado [9ec258] web: Fix errata and add the "publish.sh" tool.
 webTOC 2018-04-08 Manuel Collado Manuel Collado [ba137a] web: Global rebuild of the home page

Read Me

This is gawkextlib.  It contains several shared library extension packages for
gawk, as well as libgawkextlib containing some APIs that are useful for
extension packages.  These extension libraries require the use of gawk (GNU
Awk) version 4.1.1 or later, except for the select and json extensions, which
are currently supported only by gawk 4.2 (API version 2) and later.

The 1.1.0 releases of the extensions should work with both API versions 1
(prior to gawk 4.2) and 2 (starting with gawk 4.2). The API changes did not
affect gawkextlib.

Please download gawkextlib plus one or more individual extensions.  You should
build and install gawkextlib first.  After you untar each package, please cd
into its directory and build as follows:

    ./configure && make && make check && make install && echo Success.

On an rpm-based system, such as Fedora or RHEL or CentOS, you should download
each package's rpm spec file from the rpm-specs directory and place the
tarballs in the customary RPM source directory, which defaults to
$HOME/rpmbuild/SOURCES.  You can then say

    rpmbuild -bb gawkextlib.spec

After installing the gawkextlib rpm, you can then build the individual
extension rpms like so:

    rpmbuild -bb gawk-<extension>.spec

If you would like to build from git sources, please make sure that your
system has these packages installed: autoconf, automake, gettext, libtool,
and autopoint. On many systems, autopoint is part of the gettext package,
but some distributions, such as Ubuntu, place it in a separate package.

With that infrastructure in place, the steps are very similar:

    git clone git://git.code.sf.net/p/gawkextlib/code gawkextlib

Please build lib first, and then the extensions you want, like so:

    autoreconf -i && \
      ./configure && make && make check && make install && echo Success.

Note: if gawk is installed in a non-standard location, please call
`configure --with-gawk=/path/to/gawk`.  Similarly, if you do not
plan to install gawkextlib in the standard location, please use the `--prefix`
option.  So your configure command might look something like:

    configure --with-gawk=/path/to/gawk --prefix=/path/to/gawkextlib

Please use the mailing lists to report bugs or contribute new code.
We welcome the contribution of new extensions.

Developers: please refer to the Development file.  This file has more detailed
instructions for building from git, installing in non-standard locations,
creating new extensions, and testing packages.

Note: if you are using legacy xgawk, please upgrade to gawk version 4.1.1 or
later with these new packages.  There is only one known incompatibility between
xgawk and current gawk: in gawk 4.1 and later, the `@include` and `@load`
directives require double quotes around the filename.  With xgawk, there were
no quotes.  Please let us know if you find any other incompatibilities.