• cybersandwich@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    3 months 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.

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      People used to care a lot. The GNU utils absorbed everything all the old Unix vendors did. This made them comparatively heafty back when a high end workstations might have had 64MB of RAM.

      Now that Chrome takes up gigabytes per tab, nobody cares except a few old Unix curmudgeons.

    • Thwompthwomp@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 months 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.