What’s your favourite to use? Mine is Fish due to its ease of use and user friendly approach.

Bash is the pepperoni of shell tools being reliable in every field no matter what but I’ve moved to Fish as I wanted to try something different.

So what’s your shell of choice?

  • palordrolap
    link
    fedilink
    411 days ago

    I always figured that Ksh / POSIX / Bash shell arrays are kept as they are because anyone with a serious need of arrays ought to be using something better than a scripting language.

    • Sonotsugipaa
      link
      fedilink
      English
      211 days ago

      Not necessarily.
      They’re a basic data structure used everywhere, most notably with command arguments ( $@ ) and can make shell scripts a viable option for many simple tasks if their syntax makes sense and you don’t have to wonder how their expansion works every time you see one being used.

      • palordrolap
        link
        fedilink
        111 days ago

        An analogy:

        My Swiss Army knife has a screwdriver on it. It’s nice to have, and I even used it recently.

        It juts out perpendicular to the middle of the knife’s body though, making a literal " |- " shape, so for many applications it’s too awkward for the job.

        I also have a more traditional screwdriver. As and when I come to build a new PC, I don’t think I’ll be using the one on the knife.

        • Sonotsugipaa
          link
          fedilink
          English
          1
          edit-2
          11 days ago

          Following the analogy, what if the screwdriver part was bent by 30° and you had to awkwardly turn the tool while keeping it tilted - but there’s also a spring mechanism that attempts to retract the screwdriver you push too hard against the screw?
          (all of that for historical reasons, of course)
          ((or even to discourage you from using the tool?))