Hello!
I am pleased to announce a new version of my CLI text processing with GNU awk ebook. This book will dive deep into field processing, show examples for filtering features, multiple file processing, how to construct solutions that depend on multiple records, how to compare records and fields between two or more files, how to identify duplicates while maintaining input order and so on. Regular expressions will also be discussed in detail.
Book links
To celebrate the new release, you can download the PDF/EPUB versions for free till 06-April-2025.
Or, you can read it online at https://learnbyexample.github.io/learn_gnuawk/
Interactive TUI apps
- 80+ exercises: https://github.com/learnbyexample/TUI-apps/blob/main/AwkExercises
- Brief tutorial: https://github.com/learnbyexample/TUI-apps/blob/main/AwkTutorial
Feedback
I would highly appreciate it if you’d let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn’t!) and so on.
Happy learning :)
i’m in awe everytime people do this.
i learned how to do this before code sharing sites like github existed and it forced me to turn everything i’ve learned into muscle memory and i think that this next generation of greybeards are going to be so much better than my generation’s greybeards because of it.
Awesome! Thanks so much for doing this and sharing!
I like awk, I started using it in the 90s in university, I’m not a pro, but this is so powerful!
Perfect. I’m feeling comfortable enough with bash that next on my list is AWK. Gonna download this when I get home!
Btw, there’s asciidoctor-epub3.
Thanks but omg no. I’m happy to use awk like cut.