runawk 0.13.0 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News runawk 0.13.0 (Default branch)
# 1  
Old 06-16-2008
runawk 0.13.0 (Default branch)

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 LicenseChanges:
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.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
IGAWK(1)							 Utility Commands							  IGAWK(1)

NAME
igawk - gawk with include files SYNOPSIS
igawk [ all gawk options ] -f program-file [ -- ] file ... igawk [ all gawk options ] [ -- ] program-text file ... DESCRIPTION
Igawk is a simple shell script that adds the ability to have ``include files'' to gawk(1). AWK programs for igawk are the same as for gawk, except that, in addition, you may have lines like @include getopt.awk in your program to include the file getopt.awk from either the current directory or one of the other directories in the search path. OPTIONS
See gawk(1) for a full description of the AWK language and the options that gawk supports. EXAMPLES
cat << EOF > test.awk @include getopt.awk BEGIN { while (getopt(ARGC, ARGV, "am:q") != -1) ... } EOF igawk -f test.awk SEE ALSO
gawk(1) Effective AWK Programming, Edition 1.0, published by the Free Software Foundation, 1995. AUTHOR
Arnold Robbins (arnold@skeeve.com). Free Software Foundation Nov 3 1999 IGAWK(1)