Profile PictureSundeep Agarwal

Magical one-liners

Sundeep Agarwal
18 ratings

Bundle details

This bundle contains five example based guides for mastering command line text processing tools:

The above links point to GitHub repos for the respective books. These repos have sample chapters, code snippets, exercises and other files related to these books.

These books will help you learn how to use these command line tools from the terminal. The various regex flavors used in grep/sed/awk are discussed in dedicated chapters/sections with plenty of examples. See my blog post for subtle differences between the BRE/ERE implementations in these tools.


I love your books on regex...As a student from the Digital VLSI space, it is indeed useful now and definitely in the future. It's really well written and really easy to understand the examples — feedback on reddit

Step up your cli fu with this fabulous intro & deep dive into awk. I learned a ton of tricks! — feedback on twitter

I consider myself pretty experienced at shell-fu and capable of doing most things I set out to achieve in either bash scripts or fearless one-liners. However, my awk is rudimentary at best, I think mostly because it's such an unforgiving environment to experiment in. These books you've written are great for a bit of first principles insight and then quickly building up to functional usage. I will have no hesitation in referring colleagues to them! — feedback on Hacker News

Thank you for choosing to write and share your knowledge. I read your books on CLI and sed - I think they are very comprehensive and very well explained. Keep up the great work — feedback on twitter

This is fantastic! 👏 I use Perl one-liners for record and text processing a lot and this will be definitely something I will keep coming back to - I’ve already learned a trick from “Context Matching” (9) 🙂 — feedback on

Bundle cover image created using canva.

Add to cart
76 sales

You'll get PDF and EPUB versions of all the books.

Last Updated


(18 ratings)
5 stars
4 stars
3 stars
2 stars
1 star

Magical one-liners

18 ratings
Add to cart