Summer Reading Sale
 
 

Recently Viewed clear list


Original Essays | June 20, 2014

Lisa Howorth: IMG So Many Books, So Many Writers



I'm not a bookseller, but I'm married to one, and Square Books is a family. And we all know about families and how hard it is to disassociate... Continue »

spacer
Qualifying orders ship free.
$39.99
New Trade Paper
Ships in 1 to 3 days
Add to Wishlist
available for shipping or prepaid pickup only
Available for In-store Pickup
in 7 to 12 days
Qty Store Section
25 Remote Warehouse Software Engineering- Programming and Languages

More copies of this ISBN

Sed & Awk 2ND Edition

by

Sed & Awk 2ND Edition Cover

 

Synopses & Reviews

Publisher Comments:

sed & awk describes two text processing programs that are mainstays of the UNIX programmer's toolbox.

sed is a "stream editor" for editing streams of text that might be too large to edit as a single file, or that might be generated on the fly as part of a larger data processing step. The most common operation done with sed is substitution, replacing one block of text with another.

awk is a complete programming language. Unlike many conventional languages, awk is "data driven" — you specify what kind of data you are interested in and the operations to be performed when that data is found. awk does many things for you, including automatically opening and closing data files, reading records, breaking the records up into fields, and counting the records. While awk provides the features of most conventional programming languages, it also includes some unconventional features, such as extended regular expression matching and associative arrays. sed & awk describes both programs in detail and includes a chapter of example sed and awk scripts.

This edition covers features of sed and awk that are mandated by the POSIX standard. This most notably affects awk, where POSIX standardized a new variable, CONVFMT, and new functions, toupper() and tolower(). The CONVFMT variable specifies the conversion format to use when converting numbers to strings (awk used to use OFMT for this purpose). The toupper() and tolower() functions each take a (presumably mixed case) string argument and return a new version of the string with all letters translated to the corresponding case.

In addition, this edition covers GNU sed, newly available since the first edition. It also updates the first edition coverage of Bell Labs nawk and GNU awk (gawk), covers mawk, an additional freely available implementation of awk, and briefly discusses three commercial versions of awk, MKS awk, Thompson Automation awk (tawk), and Videosoft (VSAwk).

Synopsis:

This text describes two text manipulation programs that are mainstays of the UNIX programmer's toolbox. It covers the sed and awk programs as they are now mandated by the POSIX standard and includes discussion of the GNU versions of these programs.

Synopsis:

This edition 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. Cover Title

Synopsis:

The book begins with an overview and a tutorial that demonstrate a progression in functionality from grep to sed to awk. sed and awk share a similar command-line syntax, accepting user instructions in the form of a script. Because all three programs use UNIX regular expressions, an entire chapter is devoted to understanding UNIX regular expression syntax. Next, the book describes how to write sed scripts. After getting started by writing a few simple scripts, you'll learn other basic commands that parallel manual editing actions, as well as advanced commands that introduce simple programming constructs. Among the advanced commands are those that manipulate the hold space, a set-aside temporary buffer. The second part of the book has been extensively revised to include POSIX awk as well as coverage of three freely available and three commercial versions of awk. The book introduces the primary features of the awk language and how to write simple scripts. You'll also learn: common programming constructs; how to use awk's built-in functions; how to write user-defined functions; debugging techniques for awk programs; how to develop an application that processes an index, demonstrating much of the power of awk; and FTP and contact information for obtaining various versions of awk. Also included is a miscellany of user-contributed scripts that demonstrate a wide range of sed and awk scripting styles and techniques.

About the Author

Dale Dougherty is the publisher of the O'Reilly Network and Director of O'Reilly Research. Dale has been instrumental in many of O'Reilly's most important efforts, including founding O'Reilly & Associates with Tim O'Reilly. He was the developer and publisher of Global Network Navigator (GNN), the first commercial Web site. Dale was developer and publisher of Web Review, the online magazine for Web designers, and he was O'Reilly & Associates' first editor. Dale has written and edited numerous books at O'Reilly & Associates. Dougherty is a Lecturer in the School of Information Management and Systems (SIMS) at the University of California at Berkeley.

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.

Table of Contents

DedicationPrefaceChapter 1: Power Tools for EditingChapter 2: Understanding Basic OperationsChapter 3: Understanding Regular Expression SyntaxChapter 4: Writing sed ScriptsChapter 5: Basic sed CommandsChapter 6: Advanced sed CommandsChapter 7: Writing Scripts for awkChapter 8: Conditionals, Loops, and ArraysChapter 9: FunctionsChapter 10: The Bottom DrawerChapter 11: A Flock of awksChapter 12: Full-Featured ApplicationsChapter 13: A Miscellany of ScriptsAppendix A: Quick Reference for sedAppendix B: Quick Reference for awkAppendix C: Supplement for Chapter 12Colophon

What Our Readers Are Saying

Add a comment for a chance to win!
Average customer rating based on 1 comment:

nanajimtech, September 24, 2008 (view all comments by nanajimtech)
i have gone through this book for second year B.Tech student in vignan's engineering college.My name is nanaji working as assoc prof in this college for last four years and iam Asst HOD for IT dept.
i request send specimen copy to follow address

nanaji.u
c/o kondi babu
4-10,bajji junction,gopalpatnam,
visakhapatnam-27
ap
india
Was this comment helpful? | Yes | No
(3 of 7 readers found this comment helpful)

Product Details

ISBN:
9781565922259
Editor:
Estabrook, Gigi
Author:
Dougherty, Dale
Author:
Robbins, Arnold
Publisher:
O'Reilly Media
Location:
Cambridge ;
Subject:
Programming Languages - General
Subject:
Technology
Subject:
Computers and computer technology
Subject:
Operating Systems - UNIX
Subject:
Computers
Subject:
Utilities
Subject:
Computer programs
Subject:
UNIX (Computer file)
Subject:
Utilities (Computer programs)
Subject:
Unix (Operating system).
Subject:
UNIX
Subject:
AWK
Subject:
Sed
Subject:
Software Engineering - Programming and Languages
Subject:
awk;sed
Edition Number:
2
Edition Description:
Trade paper
Series:
Nutshell Handbooks
Series Volume:
3
Publication Date:
19970331
Binding:
TRADE PAPER
Language:
English
Illustrations:
Yes
Pages:
434
Dimensions:
7 x 9 x 1 in 1.3 lb

Other books you might like

  1. A Short Account of the Destruction... Used Trade Paper $4.95
  2. Effective Awk Prog 3RD Edition New Trade Paper $50.25
  3. Practical Unix & Internet Security... Used Mass Market $5.95
  4. Managing Projects With Make 2ND Edition Used Trade Paper $1.95
  5. Learning the VI Editor 6TH Edition Used Trade Paper $12.95
  6. Learning the Unix Operating System... Used Trade Paper $1.25

Related Subjects

Computers and Internet » Computer Languages » Awk
Computers and Internet » Operating Systems » General
Computers and Internet » Operating Systems » Unix » Unix Administration
Computers and Internet » Software Engineering » Programming and Languages
Health and Self-Help » Health and Medicine » General
Health and Self-Help » Health and Medicine » General Medicine

Sed & Awk 2ND Edition New Trade Paper
0 stars - 0 reviews
$39.99 In Stock
Product details 434 pages O'Reilly & Associates - English 9781565922259 Reviews:
"Synopsis" by , This text describes two text manipulation programs that are mainstays of the UNIX programmer's toolbox. It covers the sed and awk programs as they are now mandated by the POSIX standard and includes discussion of the GNU versions of these programs.
"Synopsis" by ,
This edition 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. Cover Title
"Synopsis" by ,
The book begins with an overview and a tutorial that demonstrate a progression in functionality from grep to sed to awk. sed and awk share a similar command-line syntax, accepting user instructions in the form of a script. Because all three programs use UNIX regular expressions, an entire chapter is devoted to understanding UNIX regular expression syntax. Next, the book describes how to write sed scripts. After getting started by writing a few simple scripts, you'll learn other basic commands that parallel manual editing actions, as well as advanced commands that introduce simple programming constructs. Among the advanced commands are those that manipulate the hold space, a set-aside temporary buffer. The second part of the book has been extensively revised to include POSIX awk as well as coverage of three freely available and three commercial versions of awk. The book introduces the primary features of the awk language and how to write simple scripts. You'll also learn: common programming constructs; how to use awk's built-in functions; how to write user-defined functions; debugging techniques for awk programs; how to develop an application that processes an index, demonstrating much of the power of awk; and FTP and contact information for obtaining various versions of awk. Also included is a miscellany of user-contributed scripts that demonstrate a wide range of sed and awk scripting styles and techniques.
spacer
spacer
  • back to top
Follow us on...




Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.