Is anyone using awk?

netwren@lemmy.world to Linux@lemmy.ml – 144 points –

Studying and awk came up.

Spent about an hour and I see some useful commands that extend past what "cut" can do. But really when dealing with printf() format statements is anyone using awk scripts for this?

Or is everyone just using their familiar scripting language. I'd reach for Python for the problems being presented as useful for awk.

54

You are viewing a single comment

Sometimes I copy and paste an awk command from online, but I can never remember how to write it myself

I'm convinced no one actually knows how to write awk. It's all copy and pasted from the web.

I am very, very slowly chiseling it into my long-term memory. I feel like Rincwind.