Projects / runawk

runawk

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 you to select a preferred AWK interpreter, to setup the environment for your scripts. It also provides other helpful features. runawk makes programming AWK easy and efficient, despite the fact that AWK is a very simple programming language. runawk also provides many useful AWK functions and extensions implemented in the separate files/modules.

Tags Software Development Libraries Utilities
Licenses MIT/X
Operating Systems POSIX
Implementation Awk C

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  05 Apr 2009 11:08
  • Rrelease-after

    Changes: Lots of demonstration programs for most awk modules are in the "examples/" subdirectory. Lots of new modules were added: embed_str.awk, has_suffix.awk, has_prefix.awk, readfile.awk, modinfo.awk, and power_getopt.awk. Minor additions were made to the "runawk" program. Minor fixes were made in the Makefile. Minor fixes were made for dirname.awk and basename.awk.

    • Rrelease-mid
    •  20 Dec 2008 16:35
    • Rrelease-after

    Changes: The alt_getopt.awk module was added, which implements a "getopt" function compatible with the "Utility Syntax Guidelines" described in the "Single UNIX Specification". A fix was made for FreeBSD make MK scripts. Heuristics for adding "-" to the list of awk's arguments were improved to conform to the "Utility Syntax Guidelines".

    • Rrelease-mid
    •  19 Oct 2008 15:14
    • Rrelease-after

    Changes: "runawk -e ' { print "123" } ' /dev/null" no longer fails with NAWK (seen on NetBSD). A compilation bug on FreeBSD was fixed. A better error message is shown when stat(filename) fails.

    • Rrelease-mid
    •  29 Aug 2008 20:33
    • Rrelease-after

    Changes: The temporary file is removed if runawk is killed by SIGINT, SIGQUIT, SIGTERM, SIGHUP, or SIGPIPE signals. (The temporary file is created by 'runawk -e ...')

    • Rrelease-mid
    •  20 Jul 2008 01:27
    • Rrelease-after

    Changes: The use of "runawk -e" with the #use directive inside the program was fixed.

    26d5635565622eb6b799164852dc9da9_thumb

    Project Spotlight

    w2do

    A simple text-based todo manager

    7ef7ba4e7ee3be7a4468ec85a9f8ca3b_thumb

    Project Spotlight

    svn2cl

    A script to convert Subversion logs to GNU-style changelogs.