• Appoxo@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 days ago

    Afaik from my limited interaction with bash: At least you have proper datatypes.
    Isnt bash essentially treating everything like a string and it’s up to you to resolve that?

    • Rob Bos@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 days ago

      Pretty much, though I use a lot of jq these days and many tools support json output and input. I’d love to see that paradigm expanded for more Unix tools. Maybe a new kind of pipe symbol for shells that implies strict json objects.