Programming/Script
[awk] The AWK Manual
SYPER
2014. 8. 28. 14:44
The AWK Manual
Edition 1.0
December 1995
Diane Barlow CloseArnold D. RobbinsPaul H. RubinRichard StallmanPiet van OostrumThis file documents awk
, a program that you can use to select particular records in a file and perform operations upon them.
This is Edition 1.0 of The AWK Manual,
for the new implementation of AWK (sometimes called nawk).
Notice: This work is derived from the original gawk
manual. Adaptions for NAWK made by Piet van Oostrum, Dec. 1995, July 1998.
- Preface: What you can do with
awk
; brief history and acknowledgements. - This Manual: Using this manual. Includes sample input files that you can use.
- Getting Started: A basic introduction to using
awk
. How to run anawk
program. Command line syntax. - Reading Files: How to read files and manipulate fields.
- Printing: How to print using
awk
. Describes theprint
andprintf
statements. Also describes redirection of output. - One-liners: Short, sample
awk
programs. - Patterns: The various types of patterns explained in detail.
- Actions: The various types of actions are introduced here. Describes expressions and the various operators in detail. Also describes comparison expressions.
- Expressions: Expressions are the basic building blocks of statements.
- Statements: The various control statements are described in detail.
- Arrays: The description and use of arrays. Also includes array-oriented control statements.
- Built-in: The built-in functions are summarized here.
- User-defined: User-defined functions are described in detail.
- Built-in Variables: Built-in Variables
- Command Line: How to run
awk
. - Awk Summary
- Sample Program: A sample
awk
program with a complete explanation. - Glossary: An explanation of some unfamiliar terms.
- Index
This document was generated on 17 July 1998 using the texi2html translator version 1.51a.