• CeeBee_Eh@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    19 hours ago

    PowerShell is better than bash

    It factually and objectively is not

    There’s a reason why POSIX is still enduring to this day. Microsoft’s penchant for writing short novels for a basic command is not what I would call “better”. And that’s ignoring the fact that PowerShell doesn’t have a fraction of *nix shell capabilities and utilities.

    • easily3667@lemmus.org
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      12 hours ago

      Why is it factually and objectively not?

      It has standard bash capabilities and also can run standard dotnet libraries. What can bash do that PowerShell can’t?

      I’m skipping by the POSIX part because well…posix lost except insofar as it lives on in the two mainstream highly proprietary OSs.

      • CeeBee_Eh@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        12 hours ago

        It has standard bash capabilities

        Well, ya. Its terminal interface, I’d expect it to have “basic” capabilities.

        also can run standard dotnet libraries.

        That’s not exactly a selling point.

        What can bash do that PowerShell can’t?

        Write succinct and easy to read commands. Interop with all the powerful tools in the Linux ecosystem (which is the point of a shell like bash).

        posix lost except insofar as it lives on in the two mainstream highly proprietary OSs.

        That’s just simply not true. Three majority of core utils you find on most Linux systems are POSIX compliant or mostly compliant. IIRC all the GNU tools are POSIX.

        • easily3667@lemmus.org
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          11 hours ago

          So your factual and objective point is, let me make sure I captured this right, is:

          • Bash looks pretty
          • Bash can run executables

          Cool