Hooray! You have added the first book to your bookshelf. Check it out now!
[−]
  • Search Digit-count Valid ISBN Invalid ISBN Valid Barcode Invalid Barcode

sed & awk

By Arnold Robbins, Dale Dougherty

(15)

| Softcover | 9781565922259

Like sed & awk?
Join aNobii to see if your friends read it, and discover similar books!

Sign up for free

Book Description

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.Continue

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).

1 Review

Login or Sign Up to write a review
  • Sed and awk are Unix power tools. Actually Awk is more of a programming language. This book is a good tutorial on both tools. Apparently it is one of the most popular books on the subject.

    Is this helpful?

    Ivan Idris said on Dec 28, 2011 | Add your feedback

Book Details

  • Rating:
    (15)
    • 5 stars
    • 4 stars
    • 3 stars
    • 2 stars
    • 1 star
  • English Books
  • Softcover 407 Pages
  • Edition: 2
  • ISBN-10: 1565922255
  • ISBN-13: 9781565922259
  • Publisher: O'Reilly and Associates, Inc.
  • Pub date: Mar 01, 1997
  • Dimensions: 1484 mm x 1097 mm x 194 mm Just how big is that?
  • Also available as: Paperback
  • In other languages: other languages 繁體書
Improve data of this book

Prices Change currency & sellers

ISBN Edition List Sale Seller
9781565922259 Softcover $34.95 $25.16 bn.com
$34.95 $22.99 The Book Depository
Other editions
Added to Shelf Added to Wish List

Inline Translation Mode

Left click to navigate, right click to translate.

inline translation guide

or close

Inline translation is not ready for this page yet.

Inline translation mode.

Share this page with your friends.

The viewport has not loaded.