Enjoy fast, FREE delivery, exclusive deals and award-winning movies & TV shows with Prime
Try Prime
and start saving today with Fast, FREE Delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Instant streaming of thousands of movies and TV episodes with Prime Video
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Buy new:
$65.19$65.19
FREE delivery:
Friday, July 14
Ships from: Amazon Sold by: April Book Store
Buy used: $21.34
Other Sellers on Amazon
97% positive over last 12 months
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required. Learn more
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Effective awk Programming (3rd Edition) Third Edition
There is a newer edition of this item:
$44.99
(41)
Only 15 left in stock (more on the way).
Purchase options and add-ons
- 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
- ISBN-100596000707
- ISBN-13978-0596000707
- EditionThird
- PublisherO'Reilly Media
- Publication dateJune 26, 2001
- LanguageEnglish
- Dimensions7 x 1.02 x 9.19 inches
- Print length456 pages
Customers who viewed this item also viewed
Editorial Reviews
Amazon.com Review
This tutorial covers the entire spectrum of awk script development: From the basics of opening, searching, and transforming text files, to a comprehensive tutorial for regular expressions, to more advanced features like internetworking. The focus is on the practical side of creating and running awk scripts, and there's plenty of hands-on advice for installing and running today's awk (and gawk).
The book begins with the fundamentals of awk for opening and transforming text flat files. The coverage of regular expressions, from simple rules for matching text to more advanced options, is particularly solid. You learn how to add variables and expressions for more intelligent awk scripts, plus how to parse data into records and fields. You'll also find out how to redirect output from awk scripts to other programs, a useful technique that can cause awk to get a lot more done in real applications.
Later, you learn several valuable sample awk scripts that mimic existing Unix utilities (like grep, id, and split), plus samples for counting words in documents and printing mailing labels, and even a stream editor. This grab bag of sample code lets you try out the techniques presented earlier in the book. Other sections look at support for networking in today's gawk; for example, how gawk can read and write to URLs on the network almost just as easily as local files. Full sample code will teach the beginner or expert how to get productive with networks and awk. Final appendices trace the evolution of the awk language and show you how to download and install gawk.
Suitable for beginner and experienced awk developers, Effective awk Programming, Third Edition, is an extremely worthwhile source of information on a wide range of programming techniques for today's awk. --Richard Dragan
Topics covered:
- Introduction to the awk programming language
- Running awk scripts
- Basic file processing
- Tutorial for regular expressions
- Strategies for matching text
- Dynamic regular expressions
- Parsing data into records and lines (including separating fields and handling multiple-line records)
- Using print and printf for printed output with awk (including format specifiers)
- Redirecting awk scripts output to other processes
- Basic and advanced awk expressions (constants, variables, and function calls)
- Patterns
- Shell variables and actions
- Arrays (including multidimensional arrays and sorting)
- Built-in and custom awk functions
- Internationalizing and localizing awk scripts
- Advanced gawk (communicating with other processes and networking programming)
- Running awk and gawk
- Sample awk scripts
- Internetworking with awk
- History and evolution of awk
- Downloading and installing gawk
About the Author
Product details
- Publisher : O'Reilly Media; Third edition (June 26, 2001)
- Language : English
- Paperback : 456 pages
- ISBN-10 : 0596000707
- ISBN-13 : 978-0596000707
- Item Weight : 1.6 pounds
- Dimensions : 7 x 1.02 x 9.19 inches
- Best Sellers Rank: #771,414 in Books (See Top 100 in Books)
- #99 in Unix Operating System
- #122 in Computer Operating Systems (Books)
- #314 in Linux Operating System
- Customer Reviews:
About the author

Arnold Robbins is a professional programmer, instructor, and author. A long-time GNU Project volunteer, he currently maintains gawk. He has worked with C, C++, Unix, and GNU/Linux since 1980.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
My company asked me to recommend a book for the people taking this course would find useful, so I began looking for a book to use to go along with the sessions on Awk. (My initial plan had been to give them the URLs for on-line materials, and I'm still doing that). So after looking through several I picked this one.
I've used a 1st edition of this book for years, and I believe I made the best choice in selecting this one. It covers all of the areas I was "teaching" and a lot more.
Definitely recommended as a reference book or (for the self-starters) for use as a guide to use for a self-paced tutorial.
This book is an essential for people writing unix scripts and doing system administration.
It gives you insight on how things work, and has very nice examples and tricks to perform the tasks.
Mostly the majority of the tasks are covered in the beginning, and the deep rooted tasks, are covered in the later chapters.


