The AWK Manual

Edition 1.0

December 1995

Diane Barlow Close
Arnold D. Robbins
Paul H. Rubin
Richard Stallman
Piet van Oostrum


This 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 an awk program. Command line syntax.
  • Reading Files: How to read files and manipulate fields.
  • Printing: How to print using awk. Describes the print and printf 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.

'Programming > Script' 카테고리의 다른 글

GETOPTS  (0) 2023.04.17
[awk] awk 연습 예제  (0) 2014.08.28
[awk] The switch Statement  (0) 2014.08.28
[awk] Time Functions  (0) 2014.08.28
[awk] gawk - Date and time calculation functions  (0) 2014.08.28
[awk] The GNU Awk User's Guide  (0) 2014.08.28
[RHEL] SU와 EOF 사용시 내부 변수 처리  (0) 2014.05.07
awk 패턴 이용하기  (0) 2014.05.07
쉘스크립트 컴파일러 shc  (0) 2014.01.29
[OS] Awk - A Tutorial & Introduction (Bruce Barnett)  (0) 2009.01.12

+ Recent posts