I love to write about programming. Here are the books I've written.

Awk One-Liners Explained

Awk One-Liners Explained teaches the Awk programming language and awk Unix utility through 70 short and well-explained Awk programs. These short programs are called one-liners. They fit on a single line and they perform one task really well. The tasks include numbering lines, joining lines, separating lines, printing columns, doing calculations, printing certain lines, deleting certain lines, replacing certain words and others.

This book is based on my article series that has been read over 3,000,000 times.

Sed One-Liners Explained

Sed One-Liners Explained teaches the sed Unix utility through 100 short and well-explained examples. These short programs are called one-liners. They fit on a single line and they do one task really well. The examples include numbering lines, printing certain lines, deleting certain lines, changing, deleting and replacing words and many others.

This book is based on my article series that has been read over 2,000,000 times.

Perl One-Liners Explained

Perl One-Liners Explained teaches you how to become a shell ninja through 130 short and well-explained Perl programs called one-liners. Since there is more than one way to do it in Perl, I usually present several alternatives so the total number of various one-liners is over 200. After reading this book, I guarantee you'll be faster than Larry Wall in the shell.

This book is based on my article series that has been read over 1,000,000 times.

Perl One-Liners

Perl One-Liners is published by No Starch Press and it will make you the command line god. You'll be able to solve problems in seconds that take mere mortals hours. While C programmers will still be compiling their programs and Python programmers will be indenting their code, you'll already be done with the job.

Perl one-liners are small and awesome Perl programs that fit in one line of code and do one thing really well. This book showcases 130 short and compelling lines of code that do all sorts of handy, geeky things like numbering lines in a file; generating random passwords; encoding, decoding, and converting strings; calculating factorials; even checking to see if a number is prime with a regular expression.

This book is an extended and revised version of my previous book Perl One-Liners Explained (see above).

Next up – Bash One-Liners

My next book will be Bash One-Liners. I've written first five chapters already and they are freely available on my blog.

When I finish all twelve chapters, I'll put them together as a book.