• cybersandwich@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    5 days ago

    The “coreutils” that macos uses by default are all older shitter bsd versions. I discovered this when half of my scripts and commands didnt work properly.

    Silly me thought I could just bring my cash scripts over and not have any major issues (I’m not doing anything crazy). But even something as simple as grep didn’t work right because it could recursively search directories in the old bad version Mac comes with.

    All of the gnu versions are much better and you can install them with homebrew.

    • Thwompthwomp@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      5 days ago

      Yeah, I had a few scripts just act weird on osx. The parameters were different and some of them just behaved differently. It was oddly frustrating.