Live data from Hacker News

Awk in 20 Minutes (2015)

ferd.ca

1–10 of 128 posts

Re: Awk in 20 Minutes (2015)

#2
Whenever somebody says "Oh, I don't know how to use awk", this is the link I send them. It's easily the most useful tutorial for awk on the 'net. There's a lot more you can do with awk, but this site shows you the top percentage in a very short amount of time.

Re: Awk in 20 Minutes (2015)

#4
This is an excellent blog post. I will refer people to this! He touches on all of the important points.

If you want a more thorough/deep exploration of Awk, I recently gave a talk on it (virtually) at Linux Fest Northwest (LFNW) 2020.

Awk: Hack the planet['s text]! Part 1 (Presentation): https://www.youtube.com/watch?v=43BNFcOdBlY

Awk: Hack the planet['s text]! Part 2 (Exercises):https://www.youtube.com/watch?v=4UGLsRYDfo8

If you want to try your hand at the exercises, they are on github: https://github.com/FreedomBen/awk-hack-the-planet

Re: Awk in 20 Minutes (2015)

#6
Every time I set out to use awk for some one time task I struggle to express what I need and end up saying fuck it and fire up vim and do exactly what I want with some quick macros.

Am I the only one?

Re: Awk in 20 Minutes (2015)

#7
post #6

Every time I set out to use awk for some one time task I struggle to express what I need and end up saying fuck it and fire up vim and do exactly what I want with some quick macros. Am I the only one?

I usually say duck it and dust off my shiny Perl necklace

Re: Awk in 20 Minutes (2015)

#10
So, I don't use awk right now. This answers "how to awk" more than "why use awk" for me (understandable given the 20 min claim).

Does anyone have concrete, practical examples of use cases where awk made your life much easier?

Post reply on HN