Immagine dell'autore.

Dale DoughertyRecensioni

Autore di sed & awk

13+ opere 1,394 membri 8 recensioni

Recensioni

Mostra 8 di 8
I don't know -- this could just be an impression, and a mistaken one at that, but it seems to me that back when O'Reilly was one of a few big tech publishers, their books were better written and had more character.

This is one of those. sed and awk are two -- at this point -- almost primordial UNIX tools. Perl was famously started by Larry Wall when he was working on a tough problem and, as I think he put it, "awk ran out of steam."

I use awk at work but only in a very limited way, and am interested to know more. I've only used sed rarely but feel like I "get the idea" ... but I also know that entire applications have been written in sed (a sokoban game, for one) so there's obviously more to know.
 
Segnalato
tungsten_peerts | 3 altre recensioni | Feb 14, 2022 |
This is an historic publication - one of the first browsers for the new "Web" thingy.
 
Segnalato
hcubic | Jul 31, 2020 |
Very helpful, lots of useful examples.
 
Segnalato
wweisser | Jul 6, 2013 |
I read this curious to see if I'd use either to replace Perl or Python in my workflow. SED I can definitely see using for quick one off edits. AWK, especially in light of the longer examples given later in this book, I don't see using. AWK is worth learning a bit about for its approach.

I used the 1997 second edition. Some of the examples are a bit dated. The prose is more readable than some by this publisher.
 
Segnalato
encephalical | 3 altre recensioni | Jun 18, 2012 |
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.
 
Segnalato
IvanIdris | 3 altre recensioni | Dec 26, 2011 |
SED stands for "Stream Editor." I wish that I had discovered this tool years before I did, but had been discouraged by the daunting vocabulary of rigorous descriptions. SED was originally written for the UNIX operating system but has been ported to MSDOS by Eric S. Raymond. You can do fairly sophisticated extraction from or modification of text files with remarkably terse (if highly cryptic-looking) instructions. (Actually, for merely searching or extracting, the "Grep" tool is even better, but DOS versions that I have seen do not conform so well to the UNIX standard tool.)
This book is a patient exposition of the program's capabilities that takes the reader from the simplest examples.

The Awk language, which adds much to the editing powers of SED, has probably been largely superseded by Perl, which is much more powerful still. However, the Awk interpreter is small and compact, compared to modern Perl implementations which have become large and elaborate. Shell scripts in Linux call upon it frequently.

Regular expressions in Grep, SED, Awk, and Perl (respectively) differ in detail from one another. If I have any criticism of this book, it would be that it sometimes discusses SED and Awk together without pointing out once again these differences if a reader has forgotten them. This sometimes makes the book confusing as a reference.
2 vota
Segnalato
Alogon | 3 altre recensioni | May 20, 2010 |
In its time, the definitive reference on UUCP for geeks everywhere...
 
Segnalato
szarka | Jul 14, 2009 |
Mostra 8 di 8