[announcement] runawk-0.21.0 -- yet another power tool to program in shell



A few day ago I released runawk-0.21.0. As it can be efficiently used
for writing oneliners (look for (***) marker in this text for the
sample) and so called 10-liners I hope this announce will not treated as
spam here.

------------------------------------------------------------
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 provides
other helpful features.

As of this release RunAWK also contains 34 modules.

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

MIT licensed

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

------------------------------------------------------------
MAJOR CHANGES IN RUNAWK-0.21.0:

fixed: compilation failure on recent Linux-es (warn_unused_result
attribute of system(3) function in recent glibc, this warning becomes
critical due to -Werror).

fixed: compilation failures on FreeBSD ("assignment discards
qualifiers from pointer target type" warning which is critical with
-Werror).

fixed: compilation failure with Intel C Compiler. Again warning and -Werror.

Now one can pass arguments to awk program specified with -e option after --,
that is like the following

runawk -e '<awk program>' -- <extra options for your program>

New simple modules:

- trim.awk: this modules provides a set of simple functions for
trimming spaces from the string.

- backslash_in.awk treats backslash symbol at the end of input line
as "this line will continue on the next line".

(***)
$ cat ~/tmp/9.txt
Some text here \
and here too. \
This is still the first line.
This is the second.
And this is third one that\
continues on the next line \
and the next line too.
Ok, we finally have four lines of text.
$ runawk -f backslash_in.awk -e '{print}' ~/tmp/9.txt
Some text here and here too. This is still the first line.
This is the second.
And this is third one that continues on the next line and the next line too.
Ok, we finally have four lines of text.
$

- trim_in.awk trims spaces from input lines.

- CR_in.awk removes CR symbols from input lines.

--
Best regards, Aleksey Cheusov.
.



Relevant Pages

  • [announcement] runawk-0.20.0 release
    ... I've released new version of RunAWK. ... RunAWK is a small wrapper for the AWK interpreter that helps one ... match_br.awk - find pair closed brackets in a string ...
    (comp.lang.awk)
  • [announcement] runawk-0.17.0 release
    ... RUNAWK is a small wrapper for the AWK interpreter that helps one write ... returns string consisting of all values from HASH separated ...
    (comp.lang.awk)
  • Re: [announcement] runawk-0.19.0 release
    ... For those of you who run Debian Lenny Linux, ... will install RunAWK to your system. ... module/library system for AWK which is somewhat similar to Perl's ...
    (comp.lang.awk)
  • [announce] runawk: awk wrapper that help implements modules
    ... I wrote a small utility that IMHO helps much in writing the standalone AWK ... runawk helful for you. ... scripts require extra `--' before arguments passed to script. ... by normal AWK interpreter but is processed by runawk especially. ...
    (comp.lang.awk)
  • [announcement] runawk-0.18.0 has been released
    ... I've released new version of runawk. ... write standalone AWK scripts. ... match_br.awk - find pair closed brackets in a string ...
    (comp.lang.awk)