20 comments

[ 2.8 ms ] story [ 47.0 ms ] thread
The book looks good. I might pick it up. I think sed is one of those hidden power tools that everyone that works in the shell should pick up skills with. It's really helpful in some situations.
Let me know if you pick it up and I'll send you an additional gift. :)
I got it.

EDIT: modified your tweet message, though.

Sent you a present. Check your inbox. :)
Awesome- thanks- made my day. (glad you told me as it landed in spam bucket.)
Craziness with the spam. I am glad you like the gift. :)
It it just me or does it seem like this article has been promoted with some kind of voting ring?

I don't know, it just seems strange to me for the HN community to upvote like this :S

EDIT: Ok, it sounds like they were completely legitimate upvotes. Nevermind then

I voted for it because I know Peteris and I like the book (I got a preview copy though ;)

EDIT: I mean I had already read the book before he posted it.

pkrumins is a prolific hacker and writer.
I didn't upvote, but the 4 sed programs he offered definitely spiked my interest.

(My criterion for an upvote here would be if he had himself written and/or explained those programs in his post.)

All in all, can't complain about having found this in the front page.

I can't think of material that is more appropriate for HN. Sed is one of the most popular text manipulation tools in the history of Unix. Peteris' ebooks are well authored, to the point, and wonderfully insightful.

I would have up voted without comment were it not for this post.

I don't know about the book, but the posts it is based on (usefully linked to from the linked article, http://www.catonmat.net/blog/sed-one-liners-explained-part-o... if anyone wants a more direct link) are certainly worth a scan so it probably got a good few votes for that. I might have to consider purchasing the book myself.
I'll send you a present if you buy a copy. :)
It it just me or does it seem like this article has been promoted with some kind of voting ring?

I don't know, it just seems strange to me for the HN community to upvote like this :S

Looks like a really well done and practical intro to sed - nice examples, nicely explained, and good depth. The PDF looks nice, too.
Thanks for getting a copy. Can I use your comment on my site (in the "what people say about my book" section)?
I agree. I use sed, but it's not a part of my 'top of the head' workflow. I have a few things I use regularly on a cheat sheet. Usually when I need to do something new I have to struggle a bit. Same goes for awk, actually.

The intro has a very nice conceptual feel to it. I look forward to going through the book.

Nice. Finally motivated me to get the awk one as well. While you have mentioned doing a perl one next, I would also suggest considering something like "all the misc unix tools you never remember to use" (e.g. seq, col, cut, etc.) There is a bit of overlap among these tools to sed/awk/etc but this would probably lead to a nice "here is how you can do this in awk/sed, and here are the two args that make this command do the same job..."