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.

  • kugiyasan
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Honestly, I mostly use awk to print a certain column, and like other comments said, I just use a scripting language like Python if it gets more complex.

    This article shows some nice examples, never got to fully use it.

    https://earthly.dev/blog/awk-examples/