IntroductionPort of GNU awk.
Details
This is the GNU version of the well known Unix commandline utility 'awk'. Awk (for 'Aho Weinberger Kernighan', after its original authors) is a small interpreted programming language that it geared towards processing text files (e.g. simple databases). It provides C-like constructs, and has implicit and explicit builtin functions that make it possible to do complex things with text using just a few lines of code. You may have heard of a program very similar to awk, called perl, and you may wonder about which one to use for your particular text processing task. Perk is the 'bigger' language, but is also, unfortunately, destined to become the Emacs of text processing languages in that it is slowly turning into something that can someday make your coffee and take the garbage out, i.e. a massive heap of functionality of which only a few percent is actually used frequently in simple to moderately complex programs. Awk is quicker to learn, quicker to use, processes faster, can do the same things with less source code, and consists of only a single, standalone executable (in contrast to perl, which needs library files, paths and variables to be setup, etc. etc.).
This is a 'quick and dirty' (well, maybe not dirty), binary only port of the (to date) most recent version of GNU awk, version 3.0.3. The gawk source code has been compiled (after only minor editing) with GCC for RISC OS release 1.0.7, (c) 1996 Nick Burrett, on a RISC PC with RISC OS 3.7 and a StrongARM and should work on most other versions of RISC OS. It is statically linked to UnixLib 3.7b, maintained by Simon Callan.
|