Programming ebooks by Sundeep Agarwal
This post lists my programming ebooks with details like PDF/EPUB purchase links, GitHub repos, web versions, testimonials, etc. All my ebooks are self-published. You can get these ebooks individually or as part of bundles. You can also read them online for free.
Bundles π
Poster created using Canva
- All books bundle: leanpub or gumroad
- 13 programming ebooks
- Linux CLI Text Processing bundle: leanpub or gumroad
- GNU grep, sed, awk, Perl and Ruby one-liners, GNU coreutils, CLI computing
- Awesome regex: leanpub or gumroad
- Python, Ruby, JavaScript Regular expressions
- GNU grep, ripgrep, GNU sed, GNU awk CLI tools (BRE/ERE, PCRE, Rust regex crate, PCRE2)
- Vim regexp
- Magical one-liners: leanpub or gumroad
- GNU grep, ripgrep, GNU sed, GNU awk, Ruby, Perl CLI tools
- Learn by example Python bundle: leanpub or gumroad
- Intro, Regular expressions and Projects
- Ruby Text processing: leanpub or gumroad
- Ruby regular expressions, Ruby One-Liners Guide
Bundles with other indie authors:
- The Indie Python Extravaganza
- Understanding Python re(gex)?, Practice Python Projects (my books)
- Python 101, Pydon'ts, Clean Architectures in Python (authored by others)
- Python 101 + Understanding Python re(gex)? and Python 201: Intermediate Python + Understanding Python re(gex)?
- Python 101/201 is authored by Michael Driscoll
Testimonials π
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.
It's very thorough, written with care, and presented in a way that makes sense. Even as an intermediate Python programmer, I found use in this book.
β feedback by Andrew Healey on Hacker News for "100 Page Python Intro"
Step up your cli fu with this fabulous intro & deep dive into awk. I learned a ton of tricks!
Your Practice Python Projects book is really helping me to reinforce my knowledge and mastery of Python as I'm learning.
In my opinion the book does a great job of quickly presenting examples of how commands can be used and then paired up to achieve new or interesting ways of manipulating data. Throughout the text there are little highlights offering tips on extra functionality or limitations of certain commands. For instance, when discussing the shuf command we're warned that shuf will not work with multiple files. However, we can merge multiple files together (using the cat command) and then pass them to shuf. These little gems of wisdom add a dimension to the book and will likely save the reader some time wondering why their scripts are not working as expected.
β book review by Jesse Smith on distrowatch.com for "Command line text processing with GNU Coreutils"
Literally was having a mini-breakdown about not understanding Regex in algorithm solutions the other day and now I'm feeling so much better, so thank YOU! I genuinely feel like I'm developing the skill for spotting when and where to use them after so much practice!
This Ruby one-liners cookbook is incredible. Pretty mind boggling all the stuff you can do.
Hi, great work releasing this! Trying to explain vim concisely is always an interesting challenge and I had a great time reading your attempt in this book. I always find it really interesting on how people try to group certain vim functions in a way that makes sense to people that don't use vim. I think you cover that idea pretty well in your 'Vim philosophy and features' section whilst not making it overly abstract and keeping it relatable.
β feedback on Hacker News by doix for "Vim Reference Guide"
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!
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
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) π
Nice book! I just started trying to get into linux today and you have some tips I havenβt found elsewhere and the text is an enjoyable read so far.
I discovered your books recently and theyβre awesome, thank you! As a 20 year *nix they made me realize how much more there are to these rock solid and ancient tools, once you spend the time to actually learn the intricacies of them.
I love the whole learn by example premise. Those exercises at the end are so valuable, as it often times leads me to find multiple solutions which helps me conceptualize how commands work with each other much better!
100 Page Python Intro
Short, introductory guide for the Python programming language, suited for those already familiar with programming basics.
Cover art: Ilsa Olson
- Sample chapters
- Buy pdf/epub from:
- GitHub repo for code snippets and more
- web version
- Feedback: Twitter
Understanding Python re(gex)?
Learn Python Regular Expressions step-by-step from beginner to advanced levels with 300+ examples. Both re
and regex
modules are covered. Exercises are also included to test your understanding.
- Sample chapters
- Buy pdf/epub from:
- GitHub repo for code snippets and more
- web version
- Feedback: Twitter
Practice Python Projects
Know Python basics but don't know what to do next? Take the next step in your programming journey with real world inspired Python projects.
- Sample chapters
- Buy pdf/epub from:
- GitHub repo for code snippets and more
- web version
- Feedback: Twitter
Understanding JavaScript RegExp
Learn JavaScript Regular Expressions step-by-step from beginner to advanced levels with hundreds of examples and exercises.
- Sample chapters
- Buy pdf/epub from:
- GitHub repo for code snippets and more
- web version
- Feedback: Twitter
CLI text processing with GNU grep and ripgrep
Example based guide to mastering GNU grep and ripgrep. Exercises are also included to test your understanding.
- Sample chapters
- Buy pdf/epub from:
- GitHub repo for code snippets and more
- web version
- Feedback: Twitter
CLI text processing with GNU sed
Example based guide to mastering GNU sed. Exercises are also included to test your understanding.
- Sample chapters
- Buy pdf/epub from:
- GitHub repo for code snippets and more
- web version
- Feedback: Twitter
CLI text processing with GNU awk
Example based guide to mastering GNU awk one-liners. Exercises are also included to test your understanding.
- Sample chapters
- Buy pdf/epub from:
- GitHub repo for code snippets and more
- web version
- Feedback: Twitter
Understanding Ruby Regexp
Learn Ruby Regular Expressions step-by-step from beginner to advanced levels with hundreds of examples and exercises.
- Sample chapters
- Pay what you want for pdf/epub:
- GitHub repo for code snippets and more
- web version
- Feedback: Twitter
Ruby One-Liners Guide
Example based guide for text processing with Ruby from the command line. Exercises are also included to test your understanding.
- Sample chapters
- Buy pdf/epub from:
- GitHub repo for code snippets and more
- web version
- Feedback: Twitter
Perl One-Liners Guide
Example based guide for text processing with Perl from the command line. Exercises are also included to test your understanding.
- Sample chapters
- Buy pdf/epub from:
- GitHub repo for code snippets and more
- web version
- Feedback: Twitter
CLI text processing with GNU Coreutils
You might be already aware of popular coreutils commands like head
, tail
, tr
, sort
and so on. This book will teach you more than twenty of such specialized text processing tools provided by the GNU coreutils
package.
- Sample chapters
- Buy pdf/epub from:
- GitHub repo for code snippets and more
- web version
- Feedback: Twitter
Vim Reference Guide
This is intended as a concise learning resource for beginner to intermediate level Vim users. It has more in common with cheatsheets than a typical text book. Topics like Regular Expressions and Macros have more detailed explanations and examples due to their complexity.
- Sample chapters
- Buy pdf/epub from:
- GitHub repo
- web version
- Feedback: Twitter
Linux Command Line Computing
This ebook aims to teach Linux command line tools and Shell Scripting for beginner to intermediate level users. The main focus is towards managing your files and performing text processing tasks. Plenty of examples are provided to make it easier to understand a particular tool and its various features. Exercises at the end of chapters will help you practice what you've learned and solutions are provided for reference. I hope this ebook would make it much easier for you to discover CLI tools, features and learning resources than my own blundering experience.
- Sample chapters
- Buy pdf/epub from:
- GitHub repo
- web version
- Feedback: Twitter