4 ms·
> doesn't run on AIX/Illumos/NetBSD These OSs distribute their own coreutils. > yes(1) turns out to be really slow without that weirdness[0] I'm not sure the
by shakow 5y ago
> doesn't run on AIX/Illumos/NetBSD
These OSs distribute their own coreutils.
> yes(1) turns out to be really slow without that weirdness[0]
I'm not sure there is a workflow where yes writing slower than 10.2GB/s is the bottleneck. Being able to go so fast is a nifty engineering feat, but hardly a necessity IMHO.
- Spivak 5y agoYes but scripts are written assuming GNU coreutils behavior and this makes them easier to port. No reason they shouldn’t work everywhere. I think a nontrivial portion of Mac users on HN probably use the GNU utilities on macOS.
- rodgerd 5y ago> No reason they shouldn’t work everywhere. No reason except the complexity of maintaining huge amounts of code to support dead processors and operating systems, or ones that are so rare that they might as well be dead.
- KptMarchewa 5y agoMacs generally use BSD tools when possible because Apple won't put GPLv3 code on their OS.
- WalterGR 5y agoInstalling the GNU versions is as easy as brew install coreutils etc., which I suspect is sort of what Spivak was referring to, and not that MacOS ships with them.