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
sed & awk
โ Scribed by Dale Dougherty, Arnold Robbins
- Publisher
- O'Reilly Media
- Year
- 1997
- Tongue
- English
- Leaves
- 432
- Edition
- 2
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
I used to be an application programmer, but for the last several years AWK (and, much less frequently, SED) has been one of my favorite tools. There are many, many, situations where an AWK/SED/sh pipe has a small fraction of the code size of any other way of solving the problem. In addition, AWK (specifically GAWK, which is the baby of Arnold Robbins -- one of the authors of this book) is extremely efficiently implemented, and so AWK scripts are generally faster for their chosen tasks than similar programs in perl, python, whatever.
This book gives an excellent tutorial introduction to all of the features of these languages, but (to answer the whining, er, constructive criticism, of some of the reviewer) it is not going to tell you how to solve every problem you ever encounter (that is why you have a brain). The way to use the book is keep it on your desk while you play with the tools it describes.
As a reference, the GAWK reference manual (written by the selfsame Arnold Robbins, and available for free from GNU) is much more complete, so I strongly advise the reader to keep it close at hand (which it always is, through the magic of online search).
๐ SIMILAR VOLUMES
From the Publisher sed & awk, one of the most popular books in O'Reilly & Associates' Nutshell series, 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,
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
Annotation<span class='showMoreLessContentElement' style='display: none;'><p><div><p><i>sed & awk</i> describes two text processing programs that are mainstays of the UNIX programmer's toolbox.</p><p><i>sed</i> is a "stream editor" for editing streams of text that might be too large to edit as a sin
Annotation;Power tools for editing -- Understanding basic operations -- Understanding regular expression syntax -- Writing sed scripts -- Basic sed commands -- Advanced sed commands -- Writing scripts for awk -- Conditionals, loops, and arrays -- Functions -- The bottom drawer -- A flock of awks --
Annotation;Power tools for editing -- Understanding basic operations -- Understanding regular expression syntax -- Writing sed scripts -- Basic sed commands -- Advanced sed commands -- Writing scripts for awk -- Conditionals, loops, and arrays -- Functions -- The bottom drawer -- A flock of awks --