• StrangeAstronomer@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    25 days ago

    venerable jq

    Ha! jq was the bratty kid I yelled at to get off my lawn. Now he’s a drinking buddy, but still the youngest!

    • Laser@feddit.orgOP
      link
      fedilink
      arrow-up
      1
      ·
      25 days ago

      It’s true that compared to the other utilities, it’s rather new. First release was almost 13 years ago. awk, which I think is the closest comparison, on the other hand turns 50 in 2027… though new awk is only 40.

  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    24 days ago

    A tradeoff between convenience and usecase. I personally would only use json/jq for complex data processing needs. But then i would use Python, not shell.

    • Laser@feddit.orgOP
      link
      fedilink
      arrow-up
      1
      ·
      25 days ago

      It’s a cool shell, I like ita lot more since I found out you can use ? to mark a field optional