
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
- Streaming of thousands of movies and TV shows with limited ads on 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:
-55% $22.33$22.33
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Good
$9.83$9.83
Ships from: Amazon Sold by: Apex_media
Try Kindle Edition
$0.00 $0.00
Try Kindle Edition
$0.00 $0.00

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.
sed & awk: UNIX Power Tools 2nd Edition
- ISBN-109781565922259
- ISBN-13978-1565922259
- Edition2nd
- PublisherO'Reilly Media
- Publication dateApril 8, 1997
- LanguageEnglish
- Dimensions7 x 1 x 9.19 inches
- Print length432 pages
Frequently bought together

Customers who viewed this item also viewed
From the brand

-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
-
Your partner in learning
-
Bestsellers
-
Software Development
-
Programming Languages
-
AI / Machine Learning
-
Data Science
-
Data, Databases and more
-
Cloud Services
-
Business
-
Finance
-
Blockchain / Cryptocurrency
-
Security
-
Cookbooks
-
Head First series
-
97 Things series
-
Lean series
Editorial Reviews
From the Publisher
From the Back Cover
About 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.
Product details
- ASIN : 1565922255
- Publisher : O'Reilly Media; 2nd edition (April 8, 1997)
- Language : English
- Paperback : 432 pages
- ISBN-10 : 9781565922259
- ISBN-13 : 978-1565922259
- Item Weight : 1.3 pounds
- Dimensions : 7 x 1 x 9.19 inches
- Best Sellers Rank: #466,090 in Books (See Top 100 in Books)
- #93 in Software Design & Engineering
- #465 in Software Development (Books)
- #1,179 in Computer Software (Books)
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
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 AmazonCustomers say
Customers find the book well worth the read and appreciate its depth, noting they can dig much deeper into necessary sources of information. The book is nicely written, with one customer highlighting its clear explanation of regexs.
AI-generated from the text of customer reviews
Select to learn more
Customers find the book to be a valuable resource, with one customer noting it includes many useful examples.
"...Unix and Unix like systems better, then this is definitely an important book to read and keep by your side." Read more
"...but this book quickly got me up to speed on these ancient but wildly useful tools...." Read more
"This book is like a big tutorial series, packed with tons of applicable examples...." Read more
"...and optimized scripts, this book has become the single most valuable book I had purchased...." Read more
Customers appreciate the book's pacing, finding it well-written and easy to understand, with one customer highlighting its clear explanation of regular expressions.
"...previously and solved with either tool makes it really easy to understand the argument at an intuitive level even before experimenting with it...." Read more
"Mr. Robbins usual clear, complete tutorial. A first-rate job...." Read more
"...Not only is it very informative it's also a fun and easy read... You'll be seeing uses for sed almost every day once you learn how powerful it can..." Read more
"...This is in depth and to explains everything. I wish there was a "pocket guide" but still great." Read more
Customers appreciate the depth of the book, noting that it allows readers to dig much deeper into necessary sources of information, with one customer mentioning it is packed with applicable examples.
"This book is like a big tutorial series, packed with tons of applicable examples...." Read more
"...my relationship to UNIX and I found I could dig much deeper into necessary sources of information, whether logs, configuration files or to begin..." Read more
"...1/2 or so is on awk and although it's also very well written and informative it's not quite as useful if you're already experienced with a high..." Read more
"...This have been a great help and has taught me a bunch of tips. This is in depth and to explains everything...." Read more
Reviews with images

I learned a lot!
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on June 27, 2018This book is amazing and holds a great educational value beyond merely learning the titular tools. It refers to itself as a handbook, which I find to be quite an understatement.
It explains the tools using a unified framework approach which makes everything about them logical. It goes into their lineages and how under the stark difference in syntax, the two tools share a lot in terms of philosophy and underlying mechanics.
The way they demonstrate each argument through use cases the authors had faced previously and solved with either tool makes it really easy to understand the argument at an intuitive level even before experimenting with it.
But perhaps what I find pleasent the most about this book is the style of writing. You feel so close to the thinking process that produces it, yet you hardly feel any ego, unlike most technical publications today. I had hard time putting the book away and I was always keen on the time I set aside for reading it. Something I don't always experience with technical books. Perhaps it is that people were not allowed to publish unless they had a way with words before web 2.0 came along! (Just look at the photo attached of a hilarious footnote from the book).
And as a data scientist heavily involved in Natural Language Processing, I was using what I learned on the go with my daily tasks.
If you want to understand Unix and Unix like systems better, then this is definitely an important book to read and keep by your side.
This book is amazing and holds a great educational value beyond merely learning the titular tools. It refers to itself as a handbook, which I find to be quite an understatement.
It explains the tools using a unified framework approach which makes everything about them logical. It goes into their lineages and how under the stark difference in syntax, the two tools share a lot in terms of philosophy and underlying mechanics.
The way they demonstrate each argument through use cases the authors had faced previously and solved with either tool makes it really easy to understand the argument at an intuitive level even before experimenting with it.
But perhaps what I find pleasent the most about this book is the style of writing. You feel so close to the thinking process that produces it, yet you hardly feel any ego, unlike most technical publications today. I had hard time putting the book away and I was always keen on the time I set aside for reading it. Something I don't always experience with technical books. Perhaps it is that people were not allowed to publish unless they had a way with words before web 2.0 came along! (Just look at the photo attached of a hilarious footnote from the book).
And as a data scientist heavily involved in Natural Language Processing, I was using what I learned on the go with my daily tasks.
If you want to understand Unix and Unix like systems better, then this is definitely an important book to read and keep by your side.
Images in this review
- Reviewed in the United States on September 15, 2019I recently ran into a problem where I had to process some *massive* text files (many 10+ GB text files with medical data) and this book helped save me. In my case, I had datasets where the structure was changing over the years so I needed to preprocess them before I could load it into either SAS or R. I found partial solutions on the web but this book quickly got me up to speed on these ancient but wildly useful tools. If you, like me, find part of a solution that uses sed or awk on the web and want to know what the heck it is actually doing grab this book.
The introduction to all things UNIX is surprisingly gentle. So, if you know how to find the Mac Terminal or a bash shell on a Windows box this book will be fine for you.
While there are occasional references to old/dead technology the code is functional for modern UNIX (including Mac).
- Reviewed in the United States on August 13, 2008This book is like a big tutorial series, packed with tons of applicable examples. It is not a reference, that's what the man pages are for, although the index if very good. In fact, the combination of the *BSD man pages and this book would give any man all the SED and AWK documentation he would ever need.
SED and AWK are these two very terse programs that, if you don't use them everyday, you tend to forget their syntax and functionality. I am not an everyday user. Before I bought this book, I often visited one of my many SED/AWK bookmarks. After years of using both programs, I never really understood them. I knew just enough to do small one-liners. However, I recently needed to build a fairly complex script to perform an automated OS upgrade via the network. I knew SED and AWK could help me accomplish my task, but I didn't have a full understanding of their potential. That's when I decided to buy this book. I have since then deleted all of my SED and AWK bookmarks.
After studying this book and highlighting the hell out of it, I have a clear understanding of these two tools and how to effectively utilize them.
- Reviewed in the United States on December 14, 2008Computers do one basic job, they process data. Often, you do not have control over the output format of the data, but the stuff you want in in there somewhere. So you capture the output to a file, and then chop and hack at it with a text editor to get the data you want in format somewhat like you want.
You can either spend the rest of eternity with a text editor or get these guys, and learn a bit to instruct them to do totally boring but useful drudgery. And perhaps learn about regular expressions and pattern matching. And then do something interesting.
Don't worry, you will have do do it again, if for no other reason than the entity that controls the format of the data decided to change it, for no other reason than to annoy and confound you. But, since you have learned about pattern matching, a minor change will fix it, and you can go back to whatever.
The specific purpose this time was to avoid subscribing to a listing service for cable tv programming. Zap2it publishes the listings on most newspaper websites, and program called wget allows me to write these listings to a file. Then using sed to slice and dice allows me to read simply formatted listings, and eventually feed them to a recording system.
- Reviewed in the United States on November 5, 2015Just at a time when I became deeply embedded in SunOS 4.x work, I needed to be able to efficiently mange and manipulate text, I ran into a reference to the first edition of this book. It completely changed my relationship to UNIX and I found I could dig much deeper into necessary sources of information, whether logs, configuration files or to begin effectively creating highly functional and optimized scripts, this book has become the single most valuable book I had purchased.
It has sed and awk are some of the most integral components to everything from large-scale host-to-host or array-to-array data migrations to optimizing log parsing to assist in data/system/storage trending prior to the days of OTS solutions.
Top reviews from other countries
-
JeanReviewed in France on June 18, 2018
5.0 out of 5 stars ok
correspond en tout point. a ce qui était attendu par mon fils qui l’a commandé sur le site. très bien.
-
Vamp898Reviewed in Germany on March 20, 2014
5.0 out of 5 stars Hervorragende Ergänzung zu "Classic Shell Scripting"
Wer darüber nachdenkt sich dieses Buch zu kaufen sollte eventuell vorher "Classic Shell Scripting" des selben Verlags lesen.
Dieses Buch beschreibt hervorragend sed & awk, aber eben nicht mehr. Viele Dinge in dem Buch machen natürlich nur Sinn oder ergeben einen Nutzen wenn man fundierte Shell-Scripting Fähigkeiten vorweisen kann.
- nazarenoReviewed in the United Kingdom on October 12, 2017
5.0 out of 5 stars Got it 10 years ago, now again, it's a good buy, doesn't get old.
A classic, I had this book 10 years ago or more, and I enjoyed it then, now I got it again, and will enjoy it again.
-
MiguelReviewed in Mexico on November 6, 2021
5.0 out of 5 stars Los clásicos nunca mueren
Los clásicos nunca mueren, excelentes herramientas para procesamiento de texto, en lo personal las utilizo, junto con M4, para mantener diversas versiones de código, en entornos CI/CD enfocados a la calidad.
-
Luca FrancescaReviewed in Italy on February 3, 2013
5.0 out of 5 stars Il riferimento definitivo
Se hai qualche dubbio o non ricordi qualcosa su sed o awk, questo è il libro che vuoi tenere sulla tua scrivania