For one, some of the coreutils are weird. They aren’t BSD coreutils, but they’re not GNU coreutils either. They’re like an old version of BSD coreutils with some GNU features added.
Huh. That’s interesting. Are the MacOS coreutils incapable or not user-friendly in some way? Or is it more that they’re too different for people who know GNU and BSD coreutils?
There’s command line options that work with BSD or GNU but don’t work with MacOS, or some options that have default values on some platforms but not MacOS. Here’s one example I had to fix a while back: https://github.com/yarnpkg/yarn/issues/1984
I’m not sure if they’re open source. Apple used to release “Darwin” which was an open-source OS that only contained the open-source parts of MacOS. You could actually install and run it on a PC. Over time, the repo slowly degraded until the point where it was impossible to build it any more (it started depending on code only available in Apple’s internal repos), and eventually they stopped publishing it.
I didn’t know that. When I was searching for a new computer last month, I considered a Macbook because I liked BSD utilities more. I ended up buying a Thinkpad T14 and booting Chimera Linux(actually uses BSD utilities) on it.
For one, some of the coreutils are weird. They aren’t BSD coreutils, but they’re not GNU coreutils either. They’re like an old version of BSD coreutils with some GNU features added.
Huh. That’s interesting. Are the MacOS coreutils incapable or not user-friendly in some way? Or is it more that they’re too different for people who know GNU and BSD coreutils?
I also wonder if their coreutils are open source. I quickly tried searching here but couldn’t find an answer https://opensource.apple.com/releases/
There’s command line options that work with BSD or GNU but don’t work with MacOS, or some options that have default values on some platforms but not MacOS. Here’s one example I had to fix a while back: https://github.com/yarnpkg/yarn/issues/1984
I’m not sure if they’re open source. Apple used to release “Darwin” which was an open-source OS that only contained the open-source parts of MacOS. You could actually install and run it on a PC. Over time, the repo slowly degraded until the point where it was impossible to build it any more (it started depending on code only available in Apple’s internal repos), and eventually they stopped publishing it.
I didn’t know that. When I was searching for a new computer last month, I considered a Macbook because I liked BSD utilities more. I ended up buying a Thinkpad T14 and booting Chimera Linux(actually uses BSD utilities) on it.