|
 |
|
 |
 |
sed and awk (2nd Edition)
|
(Paperback - Mar. 8, 1997)
by Dale Dougherty
Sales Rank: 27780
|
List Price: $34.95
$22.83
At Amazon

|
|
Paperback: 432 pages
Publisher: O'Reilly Media; Second Edition edition March 1, 1997
Language: English
ISBN-10: 1565922255
ISBN-13: 978-1565922259
Product Dimensions:
9.2 x 7.1 x 0.9 inches
Shipping Weight: 1.6 pounds
Product Description
sed & awk describes two text processing programs that are mainstays of the UNIX programmer's toolbox. The book lays a foundation for both programs by describing how they are used and by introducing the fundamental concepts of regular expressions and text matching. This edition covers the sed and awk programs as they are mandated by the POSIX standard. It also includes a discussion of the GNU versions of both programs, which have extensions beyond their UNIX counterparts. Many examples are used throughout the book to illustrate the concepts discussed.
Customer Reviews & Comments I've had this book for 3-4 years now and find it to be my handiest reference. I even use ot more than my vi book.
The raw power of sed and awk will humble even the proudest VB programmer and this book will help you get the most out of both the "Aho, Weinberg and Kernigan" and the "stream editor".
The first chapter section is entitled "May You Solve Interesting Problems" a paraphrase of the old Chinese curse, but with sed and awk no problem seems insurmountable and will make all problems appear interesting.
This book is an outstanding reference and will get you up and running with both of these handy little programs in no time.
Just to give you an example - the first time I ever used these programs (sed and awk) I developed a cron script to query a database every day at midnight, sort the results, grabbed lines with tagged values within certain limits, added a few totals, did some averaging, "starred" the lines that departed from certain parameters, then formatted the results into a report with a header showing the dates, times and query results, statistics then packed them into a report file and e-mailed them to a dozen recipients and added a few recipients if the data was outside certain values.
I did this remarkable feat by copying a few examples from the book, changing a thing or two and in the end had a little shell script that was a few K-bytes at the most.
This VB guy from corporate worked on a VB version of the same function and ended up with six revisions, several megs in the executable and never was able to get it formatted right. Not to say that it couldn't be done but..... I wrote mine before lunch one day. He worked on his for weeks and weeks.
Such is the power contained within should you want to tap it Grasshopper.
Great book. Amaze your friends and colleagues. Have the office women ( or men) throw flowers at your feet as you enter every day - well maybe not, but this will make you more productive.
You real nerds will hardly get finished with a single box of Pop Tarts before you are writing really cool scripts when using this book.
Like all O'Reilly books this one is terse, practical and highly usable - just like UNIX.
|
sed and awk (2nd Edition)
List Price: $34.95
Available from Amazon
Price: $22.83

| |
|
|
|
|