runawk is a small wrapper for the AWK interpreterthat helps one write standalone AWK scripts. Itsmain feature is to provide a module/library systemfor AWK which is somewhat similar to Perl's "use"command. It also allows you to select a preferredAWK interpreter, to setup the environment for yourscripts. It also provides other helpful features.runawk makes programming AWK easy and efficient,despite the fact that AWK is a very simpleprogramming language. runawk also provides many useful AWK functions and extensions implemented in the separate files/modules.
License: MIT/X Consortium License
Changes:
The -v|--assign option was added, which works like AWK's -v option. This is to pass some variables to the AWK interpreter. For example, "runawk -v var=123 -e 'BEGIN {print var }'". Better error messages and clean-ups were added in modules/xgetline.awk. NR is also printed to stderr in modules/abort.awk. Minor fixes were made in *.c. Clean-ups and fixes were made in "make test", so it no longer depends on the author's own system and runawk directory. The Makefile was ported to the ancient pmake-1.45 found in some Linux distributions.
More...