Buy new:
-80% $30.84
to get FREE delivery Sunday, November 17
Ships from: Amazon
Sold by: ReelBrand
$30.84 with 80 percent savings
List Price: $153.32
The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more

Get Fast, Free Shipping with Amazon Prime
FREE Returns
to get FREE delivery Sunday, November 17. Order within 7 hrs 31 mins
Or Non members get FREE delivery Tuesday, November 19 on orders shipped by Amazon over $35
Only 1 left in stock - order soon.
$$30.84 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$30.84
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon
Ships from
Amazon
Sold by
Sold by
Returns
Returnable until Jan 31, 2025
Returnable until Jan 31, 2025
For the 2024 holiday season, eligible items purchased between November 1 and December 31, 2024 can be returned until January 31, 2025.
Returns
Returnable until Jan 31, 2025
For the 2024 holiday season, eligible items purchased between November 1 and December 31, 2024 can be returned until January 31, 2025.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$10.99

Get Fast, Free Shipping with Amazon Prime
FREE Returns
"Pre-Owned Book" in Good condition! No Highlighting, Markings or Writing. Pages and Covers are Clean and Intact. Minor cosmetic defects may be present. Solid Buy! Ships directly from Amazon! 100% Satisfaction Guaranteed! "Pre-Owned Book" in Good condition! No Highlighting, Markings or Writing. Pages and Covers are Clean and Intact. Minor cosmetic defects may be present. Solid Buy! Ships directly from Amazon! 100% Satisfaction Guaranteed! See less
to get FREE delivery Sunday, November 17. Order within 7 hrs 31 mins
Or Non members get FREE delivery Friday, November 22 on orders shipped by Amazon over $35
Only 1 left in stock - order soon.
$$30.84 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$30.84
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the authors

See all
Something went wrong. Please try your request again later.

The AWK Programming Language 1st Edition

4.7 4.7 out of 5 stars 88 ratings

There is a newer edition of this item:

{"desktop_buybox_group_1":[{"displayPrice":"$30.84","priceAmount":30.84,"currencySymbol":"$","integerValue":"30","decimalSeparator":".","fractionalValue":"84","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"6BBfNkfVtR0HJSO7ku1RiteccXltlBYvx0CaUcPcVQ4hwF4HSdtSReu6RgpX%2B%2B9xOzBCFiZplyFCkKFZOw%2BudcS1fZQ56j2AiQxVNwBQc6QR0Y2JvWpGq2VCv774hDG5HIApElxQsWfMtC7InHk2bnq1epJhBI9SXE7IsQZLRB4eYN5NfRoNZi6d2g4So77t","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$10.99","priceAmount":10.99,"currencySymbol":"$","integerValue":"10","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"6BBfNkfVtR0HJSO7ku1RiteccXltlBYv6dAnIbPuYxCng%2BlA97T%2F2NE49LQz8UDMU9eihxYGLE4gYVhymFioBw11T69oKAbLuwh1Bq3zLTqzGWfA%2F1Uha7ppvg8wjAXi0qoCl%2Fe%2Fs45ctqg6oXFhj%2B1mULraBlYcTXTIhsonte7E%2FIr6ccPp5BoNo1oDXjOt","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

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 funcitons. This new version is available for both UNIX and MS-DOS.

Amazon First Reads | Editors' picks at exclusive prices

Frequently bought together

This item: The AWK Programming Language
$30.84
Get it as soon as Tuesday, Nov 19
Only 1 left in stock - order soon.
Sold by ReelBrand and ships from Amazon Fulfillment.
+
$49.99
Get it as soon as Tuesday, Nov 19
In Stock
Ships from and sold by Amazon.com.
+
$95.99
Get it as soon as Tuesday, Nov 19
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Treatment
Some of these items ship sooner than the others.
Choose items to buy together.

Editorial Reviews

From the Back Cover

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

About the Author

Brian W. Kernighan works in the Computing Science Research Center at Bell Laboratories, Lucent Technologies. He is Consulting Editor for Addison-Wesley's Professional Computing Series and the author, with Dennis Ritchie, of The C Programming Language.

020107981XAB04062001

Product details

  • Publisher ‏ : ‎ Pearson; 1st edition (January 11, 1988)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 224 pages
  • ISBN-10 ‏ : ‎ 020107981X
  • ISBN-13 ‏ : ‎ 978-0201079814
  • Item Weight ‏ : ‎ 10.4 ounces
  • Dimensions ‏ : ‎ 9.22 x 6.26 x 0.44 inches
  • Customer Reviews:
    4.7 4.7 out of 5 stars 88 ratings

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.7 out of 5 stars
88 global ratings

Customers say

Customers find the book excellent for learning AWK. They say it offers something to novices and advanced users. Readers appreciate the clear, easy-to-understand writing. They mention the book is concise and to the point, with no unnecessary words.

AI-generated from the text of customer reviews

Select to learn more
12 customers mention "Language learning"12 positive0 negative

Customers find the book excellent for learning AWK. They say it offers something to novices and advanced users, and is well-written. Readers also mention the book is concise, has clear, concise headings, and examples. In addition, they say it teaches other computing concepts not only on AWK.

"...show its power in various applications, and also serve as tutorials on some programming topics such as sorting and parsing...." Read more

"...I used to own a copy of this book. It's great, and if you're interested in awk you should definitely seek out a USED copy...." Read more

"Small book ~200pp paperback 6x8 or so, many examples, including a (Theory of Programming) example; build an assembler and interpreter in AWK and..." Read more

"...And this book is perhaps the best way to learn the language." Read more

8 customers mention "Word clarity"8 positive0 negative

Customers find the book concise, accurate, and easy to understand. They appreciate the lack of wordiness. Readers also mention it provides an easy, stress-free introduction to computer programs.

"...programming manual is available freely as a PDF online and is also well-written...." Read more

"...Plus a lot of simple short one line regular expression examples...." Read more

"As another recent review stated, the first two paragraphs are well written and to the point...." Read more

"Great! Author writes in a way that is easy to understand. Even for the section on regex...." Read more

Impeccable Condition
5 out of 5 stars
Impeccable Condition
Pages are slightly yellowed but for a 31 year old book, there is no avoiding that. Otherwise, perfect condition.So happy! Thanks!
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

Reviewed in the United States on November 17, 2022
This classic is the original full description of the awk programming language, by its creators. Though the authors are listed alphabetically, it reads to me like it was written mostly (entirely?) by Brian Kernighan, well-known for writing a lot of books and papers explaining Unix-related matters clearly and succinctly. Awk is one of the first languages designed to manipulate text files and still does it well, and can be found installed on Unix and Linux systems. Versions for Windows also exist, so fairly portable programs can be written for both Windows and Linux.
The book starts with a tutorial chapter, then chapter 2 describes the language fairly completely. The remaining chapters show its power in various applications, and also serve as tutorials on some programming topics such as sorting and parsing.
Keep in mind that this is the original version of the language. Most Linux systems now use gawk (GNU awk) which includes many features not in the version described here. The gawk programming manual is available freely as a PDF online and is also well-written. The POSIX specification of awk (also available online) was based on the version described in this book.
There are errata for this book available online you can find pretty easily with a web search; it’s a pretty short list, only about a half a page. I found an error not in the list: on page 46, the example for grouping shows ($i)++ described as “add 1 to value of the i-th field”. This is wrong, and would be bad example even if it worked. I emailed Mr. Kernighan and he acknowledged the error, suggesting there may be a second edition some day.
I got a used copy for about $23 and it’s in pretty good condition, clean but with a couple very slight bends in the spine, and the pages are slightly yellowed with age (an October 1988 printing). I am curious about what a new printing looks like, but not willing to spend $89.75 to find out. The one I have is Addison-Wesley. I don’t know how they deal with reprints of old computer books. I have seen what Prentice-Hall has done with some classic computer books; they look to be cheaply printed from photocopies, with blurry text and high prices. I hope A-W does better.
Reviewed in the United States on March 6, 2014
Really, when are publishing companies (especially "textbook" publishers like AW) going to be broken up like Ma Bell? This level of pricing seriously smacks of extortion.

I used to own a copy of this book. It's great, and if you're interested in awk you should definitely seek out a USED copy. That said, this is not the end-all-be-all awk reference. Depending on the awk that you're using (more than one flavor exists) this book may actually disappoint you.

Take gawk, for example: it has socket networking, column-based fields, and other bells and whistles that aren't covered in this book. I believe nawk also has features not covered or even acknowledged. So while I agree that this is A great awk book, it is far from being THE great awk book. From my own personal experience with awk, no such book exists. I can't imagine fully embracing awk with less than two decent references. They're all kinda small so two books shouldn't scare you.

My personal opinion: buy a copy of this book in some form and at least get an O'Reilly awk book (sed & awk is a good one), and if you want to go wild with gawk (my favorite), the gawk manual is indispensable.

Or, just learn from websites. There's a ton of info out there ripe for the pickin'.
6 people found this helpful
Report
Reviewed in the United States on September 2, 2022
Small book ~200pp paperback 6x8 or so, many examples, including a (Theory of Programming) example; build an assembler and interpreter in AWK and other awk complex examples, why I bought it. Plus a lot of simple short one line regular expression examples. If you do a lot of in line/shell text processing, parsing or Context Free Grammar work I would recommend it.
Reviewed in the United States on June 20, 2015
As another recent review stated, the first two paragraphs are well written and to the point.

Many O'Reilly writers can take a good writing tip from the structure of this book!

Reading only two paragraphs, an AWK programmer can easily write intermediate level AWK scripts.

Pros
1) Written to the point, containing only facts, with no unnecessary words!
2) Due to a lack of wordiness, the book is a short read.

Cons
1) I'm still a fan of O'Reilly books being open, or containing no Digital Rights Management. (ie. DRM, Encryption, ...)
2) Cut and dry, similar to Kernighan's, The C Programming Language, but a much shorter read.
3) No PDF or EBook version.
2 people found this helpful
Report
Reviewed in the United States on June 24, 2015
If you really want or need to learn Awk - not the GNU Awk, but the Awk that eventually became the de-facto for the BSDs as well as commercial Unixes both current and defunct - this is the book to do it. It is written by the creators of the tool and goes through very helpful use cases just in case, like me, you have a "what can I do with this?" moment with Awk. The O'Reilly Awk book, unfortunately, uses GNU Awk (Gawk) as its reference point, and Gawk diverged quite a bit from the original Awk, just enough to be noticeable in terms of syntax and grammar. Like the difference between Emacs Lisp and SBCL Common Lisp.... you will run into implementation issues, and it's best to have a "clean" reference point that isn't a brain-splittingly complex man page. There are some things that have changed with the original Awk, but not that much; thus why this book is still excellent, if you can get it. The problem, of course, is that it's been out of print for years.
7 people found this helpful
Report
Reviewed in the United States on October 8, 2015
Great! Author writes in a way that is easy to understand. Even for the section on regex. (Which is not an easy topic to explain) Wish more technical programming books are written like that nowadays...
One person found this helpful
Report

Top reviews from other countries

Translate all reviews to English
Bob Turner
5.0 out of 5 stars Great book
Reviewed in Canada on January 14, 2021
Just what one needs to know AWK
Gabriel de Maeztu Pontevia
5.0 out of 5 stars Great resource to learn AWK
Reviewed in Spain on September 11, 2019
It's a classic, another great book from Brian Kernighan et al. I became very productive thanks to the book, It's a great resource if you work with lot's of CSVs and alikes.
Customer image
Gabriel de Maeztu Pontevia
5.0 out of 5 stars Great resource to learn AWK
Reviewed in Spain on September 11, 2019
It's a classic, another great book from Brian Kernighan et al. I became very productive thanks to the book, It's a great resource if you work with lot's of CSVs and alikes.
Images in this review
Customer image Customer image
Customer imageCustomer image
Mao Enze
5.0 out of 5 stars AWK never out of date!
Reviewed in the United Kingdom on April 10, 2015
classical, readable, quality is great, don t looks like a second hand book
Nicolas Bercher
5.0 out of 5 stars Essentiel
Reviewed in France on January 15, 2015
Ce livre est essentiel pour qui veut comprendre la philosophie de AWK et de ses descendants (mawk, gawk).

Pour ma part, la seule lecture attentive du premier chapitre m'a ouvert les yeux sur cet outil très puissant que je n'utilisais que de manière très sommaire auparavant.
No
5.0 out of 5 stars Five Stars
Reviewed in the United Kingdom on September 15, 2017
The original & best.