Looking for the latest version? Download gawkextlib-0.5.0.tar.gz (1.6 MB)
Name Modified Size Downloads / Week Status
Totals: 7 Items   8.6 MB 15
xgawk 2012-08-30 1 weekly downloads
README 2014-04-18 3.2 kB 11 weekly downloads
gawkextlib-0.5.0.tar.gz 2014-04-18 1.6 MB 77 weekly downloads
gawkextlib-0.4.9.tar.gz 2013-09-12 1.6 MB 11 weekly downloads
multiplex.awk 2013-07-18 1.3 kB 33 weekly downloads
gawk-select.tar.xz 2013-07-07 2.2 MB 11 weekly downloads
xgawk-3.1.6-20080101.tar.gz 2012-07-31 3.2 MB 22 weekly downloads
For gawk 4.1.1 or later, please use gawkextlib-0.5.0.tar.gz. For gawk 4.1, please use gawkextlib-0.4.9.tar.gz. Warning: gawk-select.tar.xz contains an experimental branch of gawk 4.1 that adds support for non-blocking I/O, select I/O multiplexing, and signal handling. Please do NOT use it in production! It seems to work on Linux and Cygwin, but has not been tested on other platforms. It adds two new extension libraries (errno and select), and makes the following changes to core gawk behavior: - The numeric value of errno corresponding to the ERRNO variable can now be found in PROCINFO["errno"]. - When an I/O operation fails due to a timeout, interrupt, or because it would block, getline will now return -2 and NOT close the file. There is some test code in multiplex.awk. Now that gawk 4.1 has been released, it is no longer necessary to have a separate xgawk binary. The main features of xgawk have been absorbed into gawk 4.1, and the libraries provided with xgawk can now work as regular extension libraries with gawk 4.1. In this directory, you can find the old xgawk distribution from 2008 here: xgawk-3.1.6-20080101.tar.gz This is currently deprecated. Please use gawk 4.1.1 with gawkextlib. Please use the git repository for the most current version of gawkextlib. A gawkextlib snapshot is provided in case you prefer to avoid using git. Gawk tarballs are available at http://ftp.gnu.org/gnu/gawk/ 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. It should be possible to replace the use of legacy xgawk with gawk version 4.1 in combination with gawkextlib except for one known incompatibility: in gawk 4.1, 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. This package contains the following gawk shared libraries: xml pdf pgsql gd mpfr (but please compare to using gawk's new -M flag) The libgawkextlib library contains the strhash API used by pgsql and gd, and the gawk_varinit API to make it easy to initialize variables (used by XML and MPFR). To use this library, you must first build the new version of gawk containing shared extension library support. Please use gawk 4.1.1 or later, or use this recipe to build from the git sources: git clone git://git.savannah.gnu.org/gawk.git cd gawk ./bootstrap.sh ./configure --prefix=/tmp/newgawk make && make check && make install After you build and install that in /tmp/newgawk, you can then build gawkextlib like so: Using git: git clone git://git.code.sf.net/p/gawkextlib/code gawkextlib cd gawkextlib ./update-autotools Or it may be easier from a tarball if you do not have current autotools installed: tar xf gawkextlib-<version>.tar.gz cd gawkextlib-<version> Either way, the steps to build are the same: ./configure --with-gawk=/tmp/newgawk --prefix=/tmp/newgawk make && make check && make install N.B. On an rpm-based system, if gawk 4.1 or later has been installed, you can simply say: rpmbuild -tb gawkextlib-<version>.tar.gz
Source: README, updated 2014-04-18