Hacker News new | past | comments | ask | show | jobs | submit login
Announcing my second e-book "Sed One-Liners Explained" (catonmat.net)
80 points by pkrumins on Sept 14, 2011 | hide | past | favorite | 18 comments



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


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


Looks like a really well done and practical intro to sed - nice examples, nicely explained, and good depth. The PDF looks nice, too.


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.


Thanks for getting a copy. Can I use your comment on my site (in the "what people say about my book" section)?


Tetris in sed? Awesome!


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


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


pkrumins is a prolific hacker and writer.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: