4 ms·
Announcing my second e-book "Sed One-Liners Explained"
- zerosanity 15y agoThe 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.
- pkrumins 15y agoLet me know if you pick it up and I'll send you an additional gift. :)
- someperson 15y agoIt 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
- dools 15y agoI 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.
- revorad 15y agopkrumins is a prolific hacker and writer.
- rufibarbatus 15y agoI 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.
- bradleyland 15y agoI 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.
- dspillett 15y agoI 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-one/ 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.
- pkrumins 15y agoI'll send you a present if you buy a copy. :)
- someperson 15y agoIt 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
- talaketu 15y agoTetris in sed? Awesome!
- thedeuce 15y agohttp://uuner.doslash.org/forfun/sedtris.sed http://uuner.doslash.org/forfun/sedtris.sed done before, this dude just copies shit then sells it to fools.
- kennystone 15y agoLooks like a really well done and practical intro to sed - nice examples, nicely explained, and good depth. The PDF looks nice, too.
- pkrumins 15y agoThanks for getting a copy. Can I use your comment on my site (in the "what people say about my book" section)?
- dhimes 15y agoI 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.
- evgen 15y agoNice. 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..."