Book HomeLinux in a NutshellSearch this book

Chapter 13. The gawk Scripting Language

Contents:

Conceptual Overview
Command-Line Syntax
Patterns and Procedures
gawk System Variables
Operators
Variable and Array Assignments
Group Listing of gawk Commands
Alphabetical Summary of Commands

gawk is the GNU version of awk, a powerful pattern-matching program for processing text files that may be composed of fixed or variable length records separated by some delineator (by default, a newline character). gawk may be used from the command line or in gawk scripts. Normally you should be able to invoke this utility using either awk or gawk on the shell command line.

This chapter presents the following topics:

For more information, see the O'Reilly book sed & awk, 2d ed., by Dale Dougherty and Arnold Robbins.

13.1. Conceptual Overview

With gawk, you can:



Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.