The AWK Programming Language / Edition 1

The AWK Programming Language / Edition 1

5.0 1
by Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger
     
 

ISBN-10: 020107981X

ISBN-13: 9780201079814

Pub. Date: 01/01/1988

Publisher: Pearson

Originally developed by Alfred Aho, Brian Kernighan, and Peter Weinberger in 1977, AWK is a pattern-matching language for writing short programs to perform common data-manipulation tasks. In 1985, a new version of the language was developed, incorporating additional features such as multiple input files, dynamic regular expressions, and user-defined

…  See more details below

Overview

Originally developed by Alfred Aho, Brian Kernighan, and Peter Weinberger in 1977, AWK is a pattern-matching language for writing short programs to perform common data-manipulation tasks. In 1985, a new version of the language was developed, incorporating additional features such as multiple input files, dynamic regular expressions, and user-defined functions. This new version is available for both Unix and MS-DOS.

This is the first book on AWK. It begins with a tutorial that shows how easy AWK is to use. The tutorial is followed by a comprehensive manual for the new version of AWK. Subsequent chapters illustrate the language by a range of useful applications, such as:

  • Retrieving, transforming, reducing, and validating data
  • Managing small, personal databases
  • Text processing
  • Little languages
  • Experimenting with algorithms
The examples illustrates the book's three themes: showing how to use AWK well, demonstrating AWK's versatility, and explaining how common computing operations are done. In addition, the book contains two appendixes: summary of the language, and answers to selected exercises.

020107981XB04062001

Read More

Product Details

ISBN-13:
9780201079814
Publisher:
Pearson
Publication date:
01/01/1988
Series:
Computer Science Series
Edition description:
New Edition
Pages:
210
Product dimensions:
6.10(w) x 9.00(h) x 0.60(d)

Table of Contents

Preface.

1. An AWK Tutorial.

Getting Started.

Simple Output.

Fancier Output.

Selection.

Computing with AWK.

Control-Flow Statements.

Arrays.

A Handful of Useful “One-liners.”

What Next?

2. The AWK Lanaguage.

Patterns.

Actions.

User-Defined Functions.

Output.

Input.

Interaction with Other Programs.

Summary.

3. Data Processing.

Data Transformation and Reduction.

Data Validation.

Bundle and Unbundle.

Multiline Records.

Summary.

4. Reports and Databases.

Generating Reports.

Packaged Queries.

A Relational Database System.

Summary.

5. Processing Words.

Random Text Generation.

Interactive Text-Manipulation.

Text Processing.

Summary.

6. Little Languages.

An Assembler and Interpreter.

A Language for Drawing Graphs.

A Sort Generator.

A Reverse-Polish Calculator.

An Infix Calculator.

Recursive-Descent Parsing.

Summary.

7. Experiments with Algorithms.

Sorting.

Profiling.

Topological Sorting.

Make: A File Updating Program.

Summary.

8. Epilog.

AWK as a Language.

Performance.

Conclusion.

Appendix A: AWK Summary.

Appendix B: Answers to Selected Exercises.

Index.

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

The AWK Programming Language 5 out of 5 based on 0 ratings. 1 reviews.
Guest More than 1 year ago
Pound for Pound, the most useful computer book you will ever read. If you don't come from the unix world, it has some eye-poping examples. A tool that everyone should learn and use.