The AWK programming language
Author(s)
Bibliographic Information
The AWK programming language
(Addison-Wesley series in computer science)
Addison-Wesley Pub. Co., c1988
- : pbk
Available at / 51 libraries
-
No Libraries matched.
- Remove all filters.
Note
Includes bibliographical references and index
Description and Table of Contents
Description
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
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.
by "Nielsen BookData"