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.

  • bionicjoey
    link
    fedilink
    arrow-up
    2
    ·
    11 months ago

    P.S. I never use awk just for print $1 as many do. It’s an overkill.

    cut is better for this use-case IMO. Awk is good for when cut won’t cut it.