Really? The reason I should learn awk is "why not?"
That has to be one of the worst reasons ever.
Not that I am bashing awk or anything. I'm sure there are many reasons to learn it. But why not is definitely not one of them.
Not that I am bashing awk or anything. I'm sure there are many reasons to learn it. But why not is definitely not one of them.
I know this was an unintentional pun, but I still thought it was funny.
Short answer, it's a baby programming language that's more powerful than sed, quicker to write than python, and less confusing than cut.
I'll update the page with a more compelling reason. Thanks for bringing this up.
So the reason "why not be a master the shell" seems more about saving yourself time/being more efficient/knowing the tools at your disposal.
It's partly linked to intellectual curiosity, and on the other hand partly linked to how we procrastinate/stave off boredom: learning random things.