• Gobbel2000@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    I won’t argue with you that bash is janky and easily insecure, but what shell language do you think should replace bash?

      • Gobbel2000@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        While there certainly is some overlap, Python is a scripting language and not a shell language. Some tasks that involve calling lots of different programs and juggling input and output streams are much easier done in bash than in Python.

        • maiskanzler@feddit.de
          link
          fedilink
          arrow-up
          0
          ·
          6 months ago

          Absolutely true, it was more of a joke because Python is being used for pretty much anything today. I really don’t want to mess with correct indentation in my terminal.

    • UnfortunateShort@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      I think fish is simply fantastic. Not only is it significantly more readable than most other shell languages, it was also recently rewritten in Rust (still in testing I think), which gives me a lot of confidence when it comes to your typical vulnerabilities.

      I mean sure, a Rust vulnerability the reason we’re talking, but let’s not forget how valuable memory and thread safety are.