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

    What bash scripts are you writing that you expect to run on both a Mac laptop and a production linux server? You can install the newer bash if that’s what you’re used to, but you’re surely going to run into issues like ls . -lah far quicker than differences in bash since 3.2

    Even on a linux desktop you’re going to have differences from a production server, you’d want to be using something like ansible, or replicating production in a local test environment in a container or VM. Exactly like you have done.

    How’d you end up being the only one at your workplace to be given a Mac? Even with a linux VM, being on ARM can cause issues with compatibility.

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

      Yes, the flag ordering is infuriating.

      Everything is in docker containers because macos is contaminated.

      And I’m not, its just the crayon-users like macos so I’m stuck with it. Its a tonka-toy OS I’m being subjected to and its infuriating. I don’t know why these things are popular, the keyboards are heinous and the screens are smeary blurry over-driven messes.

      And the OS stinks.