• greyscale@lemmy.grey.ooo
    link
    fedilink
    English
    arrow-up
    3
    ·
    21 hours ago

    I wish using their os wasn’t so painful coming from linux

    Like, why is bash ancient? (3.2 vs 5)

    Why is there no package manager (brew doesn’t count, just as npm doesn’t count as a legitimate package manager)

    Why are the utils like ls and friends flag-order-sensitive (you can ls -lah . but not ls . -lah)

    Why do I have 40 network devices with cryptic names?

    I got a fully loaded M5 at work and I don’t want it. I just have a linux vm for doing work on it.

    • Aatube@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      13 hours ago

      brew doesn’t count, just as npm doesn’t count as a legitimate package manager

      brew isn’t like npm at all though?

    • calamityjanitor@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      8 hours ago

      Like, why is bash ancient? (3.2 vs 5)

      To avoid GPLv3, zsh is the new default.

      Why is there no package manager

      Mac App store is the official one, can also install brew, macports, pkgsrc, or nix. Or use language/runtime specific ones like npm, pip, cargo, go.

      Why are the utils like ls and friends flag-order-sensitive

      They avoid GNU versions of utilities, for similar licencing fears as avoiding modern bash. That said ls . -lah is unhinged, I don’t know any other unix derived ls that supports that.

      Why do I have 40 network devices with cryptic names?

      Yeah they got some weirdo Apple stuff

            • calamityjanitor@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              8 hours ago

              If your script starts with #!/bin/bash, both bash and zsh will run it fine. The bigger problem is the programs, filesystem and libraries being different. Which is why POSIX exists, if you’re looking to write stuff that works across systems.

              I couldn’t tell if you were honestly asking for explanations or if all of your complaints sum up to “it’s different and I don’t like that”. Which honestly, fair.

              • Aatube@lemmy.dbzer0.com
                link
                fedilink
                English
                arrow-up
                2
                ·
                4 hours ago

                not exactly. if you’re worried about the differences between bash 3 and 5, you’re probably using some intermediate bash-exclusive features because that’s the headlining changes between these versions (google says associative arrays and new shellvars. even if zsh has equivalent features, the syntax would be different.) it’s only “guaranteed” to run fine in both shells if the shebang ends in /sh to call the POSIX shell without any bash- or zsh- specific features.

                it isn’t available anywhere else

                i don’t get what @greyscale@lemmy.grey.ooo means by this though