Awk: Hack the planet['s text]! (Presentation) - 2023 Update
Benjamin Porter Benjamin Porter
2.15K subscribers
16,545 views
0

 Published On Mar 2, 2023

Ready to learn Awk? This is the video! An hour from now, you'll be able to read and write moderately complex Awk scripts!

Awk: Hack the Planet['s text]! - Part 1: The Presentation

Ready to take on the challenges? Head to Part 2:    • Awk: Hack the planet['s text]!  (Exer...  

Awk has been around almost forever, yet so many today are unaware of it's power and elegance. It is an amazingly powerful tool that is it's own Turing complete programming language. Awk is so powerful that it can be used to create entire services (that process text). But, there's a lot of ignorance out there regarding Awk, and ignorance breeds fear. Come take the Awk red pill like that guy in the documentary "The Matrix" did. Awk can be a ton of fun! Let's make text processing fun again!

We start out by discussing what Awk is, and briefly reviewing the history of Awk. We'll then go over some examples of cool things we can do to whet our appetites. Then we'll go over the syntax and rules of the Awk language. Then we'll see real examples of Awk in action by doing some amazing text processing using only Awk.

Throughout the process, there will be lots of examples that you can run and test yourself (if you want to). Some text files will be provided so you can quickly and easily reproduce the results locally in real time. Source code is available on github: https://github.com/FreedomBen/awk-hac... .

By the end of this presentation, you will be ready to start using Awk to solve real world problems. You will be comfortable reading and understanding Awk programs and will be ready to slice and dice like a classic *nix hacker.

When you are ready to take on the challenges, you can find the source at: https://github.com/FreedomBen/awk-hac...

You can also watch my solutions (with in depth explanations) in Part 2:    • Awk: Hack the planet['s text]!  (Exer...  

If you want to see more videos like this, be sure to subscribe!

UPDATE: There's a copy of the Aho/Kernighan/Weinberger book on the Internet Archive! https://archive.org/download/pdfy-MgN...

show more

Share/Embed