Skip to Content
The AWK Programming Language, 2nd Edition
book

The AWK Programming Language, 2nd Edition

by Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger
September 2023
Intermediate to advanced
240 pages
7h 40m
English
Addison-Wesley Professional
Content preview from The AWK Programming Language, 2nd Edition

4

Data Processing

Awk was originally intended for everyday data processing, such as information retrieval, data validation, and data transformation and summarization like those in the three previous chapters. In this chapter, we will consider similar but more complex tasks. Most of the examples deal with the usual line-at-a-time processing, but the final section describes how to handle data where an input record may occupy several lines.

Awk programs are often developed incrementally: a few lines are written and tested, then a few more added, and so on. The longer programs in this book were developed in this way.

It’s also possible to write Awk programs in the traditional way, sketching the outline of the program, consulting the language manual, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C Programming Language, 2nd Edition

C Programming Language, 2nd Edition

Brian W. Kernighan, Dennis Ritchie
Learning Modern Linux

Learning Modern Linux

Michael Hausenblas

Publisher Resources

ISBN: 9780138269876