• flying_sheep@lemmy.ml
      link
      fedilink
      arrow-up
      10
      ·
      2 days ago

      That’s a paradox. POSIX shells are all bad because POSIX demands bad syntax.

      You can have pain word strings without also having weird “variables auto-explode into words” bullshit.

      That’s why I use nushell. It has lists. You do cmd ...$some_list to call a command on arguments from a list.

      • Sivecano@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        I’m ok with that part, I’m talking more performance and convenience. POSIX isn’t the most amazing but it’s ok. And whether I like it or not, I’ll have to use a posix-compatible shell if I want to run most scripts.

        • flying_sheep@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          I luckily don’t have to modify scripts these days so I’ll just use bash to run them if there’s no better alternative around. And usually it is, few things are only available as bespoke shell script