Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[announcement] runawk-0.19.0 release

4 views
Skip to first unread message

Aleksey Cheusov

unread,
Jan 5, 2010, 5:20:31 AM1/5/10
to

A few days ago, I've released new version of runawk.

------------------------------------------------------------
WHAT IS 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 one to select a preferred AWK
interpreter, to setup the environment for your scripts and other
helpful features.

Dozens of <modules>.awk are also provided.

------------------------------------------------------------
MAJOR CHANGES IN RUNAWK-0.19.0:

fix in runawk.c: \n was missed in "running '%s' failed: %s" error
message. The problem was seen on ancient (12 years old) HP-UX

fix in teets/test.mk: "diff -u" is not portable (SunOS, HP-UX),
DIFF_PROG variable is introduced to fix the problem

fix in modules/power_getopt.awk: after printing help message we
should exit immediately not running END section, s/exit/exitnow/

new function heapsort_values in heapsort.awk module

new function quicksort_values in quicksort.awk module

new function sort_values in sort.awk module

------------------------------------------------------------
SOURCES:

MIT licensed

http://sourceforge.net/projects/runawk
http://freshmeat.net/projects/runawk

------------------------------------------------------------
MODULES PROVIDED BY RUNAWK:

abort.awk, alt_assert.awk
- power abort() and assert()
alt_join.awk - join :-)
braceexpand.awk - awk equivalent to shell's braceexpand functionality
basename.awk, dirname.awk
- equivalents to basename(1) and dirname(1)
embed_str.awk - reads strings from AWK code
exitnow.awk -
has_prefix.awk, has_suffix.awk
- trivial string functions
match_br.awk - find pair closed brackets in a string
max.awk, min.awk, isnum.awk, abs.awk
- trivial math functions
modinfo.awk - routines to get an information about modules that
are in use
multisub.awk - another replacement functions
pow.awk - synonym for ^
init_getopt.awk, alt_getopt.awk, power_getopt.awk
- POSIX/SUS compatible routines
for handling options EASILY ;-)
readfile.awk - read an entire file into variable
runcmd.awk - safe wrapper over system()
shquote.awk - escapes shell's special characters
heapsort.awk, quicksort.awk, sort.awk
- sorting functions
str2regexp.awk - string to regexp routines
tokenre.awk - alternative mechanism for separating input into tokens
xclose.awk, xgetline.awk, xsystem.awk
- functions to write robust programs

--
Best regards, Aleksey Cheusov.

Aleksey Cheusov

unread,
Jan 16, 2010, 6:46:26 PM1/16/10
to
> A few days ago, I've released new version of runawk.


For those of you who run Debian Lenny Linux, I've prepared
APT repository. Add the following lines to sources.list

deb http://mova.org/~cheusov/pub/debian lenny main
deb-src http://mova.org/~cheusov/pub/debian lenny main

then run

apt-get update

and

apt-get install runawk

will install RunAWK to your system.

Ubuntu users can easily (well, relatively :-) ) rebuild a package from
sources by runing

apt-get source runawk
cd runawk-x.y.z
dpkg-buildpackage

Everything needed for this (bmake and pkgsrc-mk-files packages) is in
the repository.

Those of you who run NetBSD or DragonFlyBSD systems (or use PkgSrc on
other systems) may find RunAWK in wip/runawk.

P.S.
It whould be very nice to see RunAWK in Debian/Ubuntu Linux distributions.
Debian developers and maintainers! Do you read comp.lang.awk? :-)


> WHAT IS 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 one to select a preferred AWK
> interpreter, to setup the environment for your scripts and other
> helpful features.

> Dozens of <modules>.awk are also provided.

> ------------------------------------------------------------

0 new messages