5 ms·
This is why I have gripes about the OS X command line. I can't confidently use the scripts I do on Ubuntu/Mint/Debian. Like, get with the program, Apple. It inf
by wcarron 10y ago
This is why I have gripes about the OS X command line. I can't confidently use the scripts I do on Ubuntu/Mint/Debian. Like, get with the program, Apple. It infuriates me and I'm moving entirely off their platform as soon as my Mac kicks the bucket.
- deleted 10y ago[deleted]
- johnmaguire2013 10y agoOS X is not Linux. It's a BSD-derivative, and doesn't use the GNU toolchain. It isn't that it's "not with the program." It's that it's not the operating system, or toolchain, you're familiar with. Install homebrew and GNU tools[1] if you want them. If you used an operating system that shipped with BusyBox, you'd be similarly frustrated. But operating systems are tradeoffs with pros/cons. Using a different set of tools makes it distinct, not "out of date". 1. https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/ https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-c...
- bootload 10y ago"OS X is not Linux. It's a BSD-derivative, and doesn't use the GNU toolchain." True, but I was thinking awk/sed was a good multi OS tool with minimal code effect.
- wcarron 10y agoOh, my mistake. I was under the impression that sed/awk/grep/ack/etc etc were part of the POSIX standard toolchain, rather than the GNU toolchain.
- deleted 10y ago[deleted]
- base698 10y agoI have a script which installs and aliases all the equivalent GNU commands on OSX. You can fix a lot of the annoyances.