Lurker News
Hi,

I recently published my ebook on GNU awk one-liners [1]. It starts from the basics of awk syntax and then discusses one-liner examples. There's a chapter on regular expressions as well. The github repo has the details on how to get the PDF version, all the example files and code snippets used in the book, sample chapters as well the markdown source used to generate the PDF.
I made all my ebooks [2] free last month amidst the pandemic fears. These include GNU grep & ripgrep, GNU sed and three books on regular expressions (Python, Ruby, JavaScript).
I'd appreciate your feedback and hope the books are useful. Happy learning :)
[1] https://github.com/learnbyexample/learn_gnuawk
[2] https://learnbyexample.github.io/books/

Comments (48) 14 threads

Earlier comments
GeorgeTirebiter1 reply#
Thank you, even if publishing it at this time was somewhat Awk-ward...
asicsp#
Yeah, these are troubling times for sure. I was about half way done with the book when things became serious in my country early March. I did think about delaying the release but then made the opposite decision. I made all my books free, released markdown sources for them and then published this book early (cutting down on some topics, no exercises yet, etc).
jph#
Purchased! Thank you for writing these. My wishlist is for a POSIX awk version of your book.
serf#
Very cool.

I have the Bash equivalent (sorta) on my bookshelf and has seen a lot of use. ('GNU Introduction to the Command-Line').
It introduces a command, describes the options in detail, and then the next few pages for each command are useful bash (mostly) one-liners.

Congeec3 replies#
Is there any equivalents of perl one-liners?
stevekemp#
Perhaps something like this:

https://gist.github.com/joyrexus/7328094
The thing about cookbooks is that you rarely find something that matches what you need in the moment - you really need to learn and use these tools regularly and then you'll be prepared without documentation.

Load more comments