runawk is a small wrapper for the AWK interpreter that helps one write standalone AWK scripts. Its main feature is to provide a module/library system for AWK which is somewhat similar to Perl's "use" command. It also allows one to select a preferred AWK interpreter and to set up the environment for AWK scripts. Dozens of ready for use [modules].awk are also provided.
| Tags | Software Development Libraries Utilities |
|---|---|
| Licenses | MIT |
| Operating Systems | POSIX |
| Implementation | Awk C |
Recent releases


Release Notes: A bug in removing subdirectories in a temporary directory was fixed. Improvements for runawk_modules.3.


Release Notes: paexec(1) doesn't use system(3) anymore for removing the temporary directory. The function print_help() was moved from the power_getopt.awk module to init_getopt.awk.


Release Notes: This release adds runawk_modules.3 where all modules are documented, deprecates long options, removes the -i and -I options, and includes man pages in the distribution tarball so pod2man is not needed for building.


Release Notes: The path to the awk interpreter is detected at build time (not hardcoded /usr/bin/awk). This fixes runawk on, for example, Haiku. Minor fixes in the documentation. Clean-ups and improvements in the build system.


Release Notes: In exitnow.awk, the exitnow(status) function now finishes the execution of the script without running END sections even if status == 0. The new module io.awk includes the functions is_{file,dir,exec,socket,fifo,blockdev,chardev,symlink}, file_size, and file_type. tokenre.awk has the new function splitre0().