RUNAWK is a small wrapper for AWK interpreter that helps to write the standalone programs in AWK. It provides MODULES for AWK similar to PERL's "use" command and other powerful features. Dozens of ready to use modules are also provided.
Be the first to post a text review of Wrapper for AWK providing modules. Rate and review a project by clicking thumbs up or thumbs down in the right column.
2009-04-05 Aleksey Cheusov <vle@gmx.net> * Makefile: fixes for test_all target * modules/power_getopt.awk: more comments * modules/power_getopt.awk, tests/test.out: getarg function is added to power_getopt.awk fixes in power_getopt.awk more examples in demo and more regression tests 2009-04-04 Aleksey Cheusov <vle@gmx.net> * modules/alt_getopt.awk, modules/basename.awk, modules/dirname.awk, modules/embed_str.awk, modules/has_prefix.awk, modules/has_suffix.awk, modules/modinfo.awk, modules/power_getopt.awk, modules/readfile.awk, modules/tokenre.awk: comments about where to find demo programs for these modules * modules/alt_getopt.awk, modules/embed_str.awk, modules/power_getopt.awk, tests/test.out, tests/test.sh: New MEGA module ;-) power_getopt.awk, regression tests for it and demo program * modules/readfile.awk, tests/test.out, tests/test.sh: New module readfile.awk, regression tests for it and demo script. 2009-04-02 Aleksey Cheusov <vle@gmx.net> * modules/basename.awk, tests/test.out, tests/test.sh: Additional "suffix" argument to basename function from vasename.awk module. Now this module is fully compatible with basename(1) Demo and regression tests for this module. * modules/dirname.awk, tests/test.out, tests/test.sh: Demo and regression tests for dirname.awk Bug fixed in it. Now dirname.awk is really compatible with dirname(1) 2009-04-01 Aleksey Cheusov <vle@gmx.net> * modules/has_prefix.awk, tests/test.out, tests/test.sh: New module has_prefix.awk. Regression test for it and demo program. * modules/has_suffix.awk, tests/test.out, tests/test.sh: New simple module, has_suffix Demo and regression test for it. * tests/test.out, tests/test.sh: Yet another interesting demo for tokenre.awk module * tests/test.out, tests/test.sh: Much more interesting demo (and test ;-) for tokenre.awk module * modules/embed_str.awk: New module and demo script for it * tests/test.out, tests/test.sh: New same utility: examples/demo_modinfo regression tests for it * tests/test.out, tests/test.sh, tests/test_getopt, tests/test_multisub, tests/test_tokenre: test utilities are moved to examples/ and now the are examples :-) * TODO: one task done 2009-03-23 Aleksey Cheusov <vle@gmx.net> * runawk.c: putenv fixes for Linux * TODO: new tasks 2009-03-22 Aleksey Cheusov <vle@gmx.net> * modules/modinfo.awk, tests/test.out, tests/test.sh, tests/mods1/test_modinfo: New module modinfo.awk that provides the following variables: MODC - number, MODV - array, MODMAIN - string See its documentation. Regression tests for modinfo.awk * runawk.c: RUNAWK passes the following environment variables to the child awk interpreter: RUNAWK_MODC - A number of modules (-f filename) passed to AWK RUNAWK_MODV_<n> - Full path to the module #n, where n is in [0..RUNAWK_MODC) range. 2009-03-20 Aleksey Cheusov <vle@gmx.net> * modules/abort.awk, modules/abs.awk, modules/alt_assert.awk, modules/alt_getopt.awk, modules/basename.awk, modules/braceexpand.awk, modules/dirname.awk, modules/exitnow.awk, modules/match_br.awk, modules/max.awk, modules/min.awk, modules/multisub.awk, modules/pow.awk, modules/str2regexp.awk, modules/tokenre.awk, modules/xclose.awk, modules/xgetline.awk, modules/xsystem.awk: All modules point to runawk's sourceforge project 2009-03-11 Aleksey Cheusov <vle@gmx.net> * Makefile: MKHTML?=no minor clean-ups 2009-03-05 Aleksey Cheusov <vle@gmx.net> * Makefile: another fix for NetBSD make vs. FreeBSD make 2009-03-04 Aleksey Cheusov <vle@gmx.net> * Makefile: CLEANFILES target is used instead of hand-made rules * Makefile: bmakism were removed. Now Makefile is fullt compatible with FreeBSD make. 2009-02-13 Aleksey Cheusov <vle@gmx.net> * runawk.c: child awk's RUNAWK_ART_STDIN environment variable is set to 1 if additional/artificial `-' was added to the list to awk's arguments 2008-12-25 Aleksey Cheusov <vle@gmx.net> * modules/alt_getopt.awk, tests/test_getopt: printing brbrbr -> abort() ;-) * modules/alt_getopt.awk, tests/test_getopt: for (...i <= ARGC...) ============> for (...i < ARGC...) 2008-12-21 Aleksey Cheusov <vle@gmx.net> * Makefile: minor clean-ups * Makefile: fix for make test * Makefile, tests/test.sh: 'make test' works correctly with .OBJDIR != `.' 2008-12-20 Aleksey Cheusov <vle@gmx.net> * modules/alt_getopt.awk: example code inside alt_getopt.awk * NEWS: getopt -> getopt(3)
2008-12-20 Aleksey Cheusov <vle at gmx.net} * modules/alt_getopt.awk: example code inside alt_getopt.awk * NEWS: getopt -> getopt(3) 2008-12-19 Aleksey Cheusov <vle at gmx.net} * Makefile, NEWS: CPPFLAGS -> CFLAGS, FreeBSD make mk scripts don't support CPPFLAGS :-/ * Makefile, NEWS: version -> 0.15.0 release notes * modules/alt_getopt.awk: notes about stupid GNU getopt(3), fixes for stupid heirloom-awk * NEWS: release notes * modules/alt_getopt.awk: documentation * TODO: getline - done * tests/test.out, tests/test.sh: yet another regression test * tests/test.out, tests/test.sh: regression test for --option=VALUE * modules/alt_getopt.awk: no #use "abort.awk" * modules/alt_getopt.awk, tests/test.out, tests/test.sh: more and more regression tests `-' is added to ARGV if it is necessary * tests/test.out, tests/test.sh: one more regression test * modules/alt_getopt.awk, tests/test.out, tests/test.sh: more regression tests for 'getopt' clean-ups and fixes in 'getopt' * tests/test.out, tests/test.sh: and more... * tests/test.out, tests/test.sh: more regression tests for "getopt" function * tests/test.out, tests/test.sh, tests/test_getopt: more complex regression tests for 'getopt' * runawk.c: fix: Better heuristics for detection whether we need to add `-' to the list of awk's arguments. Now `--' and `-' are processed according to Utility Syntax Guidelines of Single UNIX Specification * Makefile: STDIN_FILENAME defaults to `-', not `/dev/stdin' Interix has no /dev/stdin file * modules/alt_getopt.awk, modules/nogetopt.awk, tests/test.out, tests/test.sh, tests/test_getopt, tests/test_nogetopt: nogetopt.awk renamed to alt_getopt.awk 'nogetopt' function renamed to 'getopt' * modules/nogetopt.awk, tests/test.out, tests/test.sh, tests/test_nogetopt: firther development (short options) regression tests for nogetopt * Makefile: WARNS?= 4 * modules/nogetopt.awk, tests/test_nogetopt: initial support for 'nogetopt': function for handling program arguments * NEWS: grammar fixes
2008-10-19 Aleksey Cheusov <vle@gmx.net> * Makefile: sinclude removed 2008-10-18 Aleksey Cheusov <vle@gmx.net> * Makefile, NEWS: version -> 0.14.3, release notes * tests/test.out, tests/test.sh: more regression tests for recently found bug * runawk.c: fixed: compilation bug under FreeBSD (WARNS=4 -> warning -> error) * runawk.c, tests/test.out, tests/test.sh: The following code fails with nawk (seen on NetBSD) runawk -e ' { print "123" } ' /dev/null It says /usr/bin/awk: can't open file -- source line number 7 This happens because nawk treats `--' after program as a generic file. * tests/test_tokenre: bad NF is output * tests/test_multisub: more verbose output * modules/str2regexp.awk: str2regexp adapted to buggy MAWK * Makefile: buggy mawk and heirloom/bin/nawk excluded from tests 2008-10-06 Aleksey Cheusov <vle@gmx.net> * tests/test.out: update according to recent changes in code 2008-10-05 Aleksey Cheusov <vle@gmx.net> * runawk.c: more verbose output when stat(filename) failed
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?