• BitSound@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    17 hours ago

    Does anyone here actually use awk for more than trivial operations? If I ever have to have to consider writing anything substantial with bash/awk/sed/etc, I just start writing a Python script. No hate to the classic tools, but Python is just really nice.

    • sping@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      15 hours ago

      Yeah. Heaviest awk I’ve ever done is extracting a value to a variable from a line with one pattern and using it to populate output from later lines matching another pattern.