• Onno (VK6FLAB)@lemmy.radio
    link
    fedilink
    arrow-up
    3
    ·
    11 hours ago

    I’ve been using Linux for 25 years, awk is a more recent addition to my arsenal, but rapidly becoming more and more useful.

    For example, awk is extremely helpful if you want to rearrange columns, do math on columns, essentially do things that would take multiple lines of bash with cut and read.

    • nik9000@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      10 hours ago

      I used to switch to perl or python if I needed awk. These days I don’t tend to run into it as much. Not sure if that was a good choice. But it’s how I spent the past 25 years.

    • Victor@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      11 hours ago

      That makes sense! I think I’d be running Nushell for this if the scripts didn’t need to be very portable, sounds like a good use case for that.