• pelya@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    3 days ago

    awk is in a strange position between simple grep commands and full-featured Python programs. It’s powerful but too domain-specific, and if you learned how to write multiline sed scripts you don’t need awk anymore.

    And yes, you can do

    python -e “…”

    for (really long) Python one-liners.