Effective awk Programming: Text Processing and Pattern Matching [NOOK Book]


Effective awk Programming,3rd Edition, focuses entirely on
awk, exploring it in the greatest depth of the three awk titles we carry. It's an excellent companion piece to the more broadly focused second edition.

This book provides complete coverage of the gawk 3.1 language as well as the most up-to-date coverage of the POSIX standard for

See more details below
Effective awk Programming: Text Processing and Pattern Matching

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
BN.com price
(Save 44%)$35.99 List Price


Effective awk Programming,3rd Edition, focuses entirely on
awk, exploring it in the greatest depth of the three awk titles we carry. It's an excellent companion piece to the more broadly focused second edition.

This book provides complete coverage of the gawk 3.1 language as well as the most up-to-date coverage of the POSIX standard for
awk available anywhere. Author Arnold Robbins clearly distinguishes standard awk features from GNU awk
(gawk)-specific features, shines light into many of the "dark corners" of the language (areas to watch out for when programming), and devotes two full chapters to example programs. A brand new chapter is devoted to TCP/IP networking with gawk. He includes a summary of how the awk language evolved.

The book also covers:

  • Internationalization of gawk
  • Interfacing to i18n at the awk level
  • Two-way pipes
  • TCP/IP networking via the two-way pipe interface
  • The new PROCINFO array, which provides information about running gawk
  • Profiling and pretty-printing awk programs

In addition to covering the awk language, this book serves as the official "User's Guide" for the GNU implementation of awk (gawk), describing in an integrated fashion the extensions available to the System V Release 4 version of awk that are also available in gawk.

As the official gawk User's Guide, this book will also be available electronically, and can be freely copied and distributed under the terms of the Free Software Foundation's Free Documentation License (FDL). A portion of the proceeds from sales of this book will go to the Free Software Foundation to support further development of free and open source software.

The third edition of Effective awk Programming is a GNU Manual and is published by O'Reilly & Associates under the Free Software Foundation's Free Documentation License (FDL). A portion of the proceeds from the sale of this book is donated to the Free Software Foundation to further development of GNU software. This book is also available in electronic form; you have the freedom to modify this GNU Manual, like GNU software. Copies published by the Free Software Foundation raise funds for GNU development.

"Effective AWK Programming" covers every aspect of the AWK 3.0.3 and 3.0.4 language. It offers up-to-date coverage of the POSIX standard for AWK, and distinguishes standard AWK features from GNU AWK-specific features. The author sheds light on "dark corners" of the language, devotes two chapters to example programs, and includes a summary of how the AWK language evolved.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
Ever process text files? If you don't use the version of awk for your Linux, Unix, BSD, BeOS, Win32, Cray, Amiga, or other box, you're missing out. As you probably know, awk is a special-purpose programming language designed for text processing and reformatting. Since it was invented for these tasks, you can get great results fast. In fact, many folks set out to prototype in awk and discover that the prototype is all they need.

When you do start messing with awk, have Effective awk Programming, Third Edition at hand. Arnold Robbins -- gawk's primary maintainer -- has combined an authoritative reference and a complete tutorial in the same book. Among the topics he covers: regular expressions, reading input files, printing output, patterns, actions, variables, arrays, functions, and more. This edition's fully updated for awk and gawk 3.1, the latest standard, including detailed coverage of new features (including TCP/IP networking, and new array sorting and bit manipulation functions). You'll also find two full chapters of sample programs.

Robbins has distilled more than a decade of experience into this book. For awk programmers, it's the one indispensable resource. (Bill Camarda)

Bill Camarda is a consultant and writer with nearly 20 years' experience in helping technology companies deploy and market advanced software, computing, and networking products and services. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks For Dummies®, Second Edition.

Read More Show Less

Product Details

  • ISBN-13: 9781491947739
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 5/23/2001
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 3
  • Pages: 450
  • File size: 2 MB

Meet the Author

Arnold Robbins, an Atlanta native, is a professional programmer and technical author. He has worked with Unix systems since 1980, when he was introduced to a PDP-11 running a version of Sixth Edition Unix. He has been a heavy AWK user since 1987, when he became involved with gawk, the GNU project's version of AWK. As a member of the POSIX 1003.2 balloting group, he helped shape the POSIX standard for AWK. He is currently the maintainer of gawk and its documentation. He is also coauthor of the sixth edition of O'Reilly's Learning the vi Editor. Since late 1997, he and his family have been living happily in Israel.

Read More Show Less

Table of Contents

I The awk Language and gawk 1
1 Getting Started with awk 3
2 Regular Expressions 19
3 Reading Input Files 33
4 Printing Output 58
5 Expressions 78
6 Patterns, Actions, and Variables 103
7 Arrays in awk 129
8 Functions 142
9 Internationalization with gawk 174
10 Advanced Features of gawk 185
11 Running awk and gawk 194
II Using awk and gawk 205
12 A Library of awk Functions 207
13 Practical awk Programs 237
14 Internetworking with gawk 281
App. A The Evolution of the awk Language 327
App. B: Installing gawk 337
App. C: Implementation Notes 350
App. D: Basic Programming Concepts 367
App. E: GNU General Public License 374
App. F: Free Documentation License 382
Glossary 391
Index 403
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)