 | Level: Intermediate Michael Stutz (stutz@dsl.org), Author, Consultant
19 Sep 2006 Discover the basic concepts of the AWK text-processing and pattern-scanning language. This tutorial gets you started programming in AWK: You'll learn how AWK reads and sorts its input data, run AWK programs, manipulate data, and perform complex pattern matching. When you're finished, you'll also understand GNU AWK (GAWK).
In this tutorial
- Get ready to GAWK
- Understanding records, fields, and rules
- Running GAWK programs
- Manipulating records and fields
- GAWK pattern matching
Prerequisites
This tutorial has no particular prerequisites, although you should be familiar
with using a UNIX command-line shell. Some familiarity with the constructs of
the C programming language is helpful, but it is not
required.
System requirements
You must have a working copy of GAWK installed on your system, preferably
Version 3.0 or later. GAWK is easily obtainable in both source and binary
packages. If you're installing
GAWK from source, consult the README file in the GAWK source distribution,
which lists any additional software requirements for successful compilation
and installation.
Duration
2 hours
Formats html, pdf
|  | |  |