News for hackers. Stuff that matters.
Re:What programming languages are used most on weekends? by wcarron on Tuesday February 07, 2017 @10:21PM (#13595411)
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.
Re:What programming languages are used most on weekends? by johnmaguire2013 on Tuesday February 07, 2017 @11:45PM (#13595825)
OS 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-c...

Re:What programming languages are used most on weekends? by wcarron on Wednesday February 08, 2017 @11:44AM (#13599666)
Oh, 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.
Re:What programming languages are used most on weekends? by bootload on Wednesday February 08, 2017 @04:30AM (#13596996)
"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.

Re:What programming languages are used most on weekends? by base698 on Wednesday February 08, 2017 @08:58AM (#13598172)
I have a script which installs and aliases all the equivalent GNU commands on OSX. You can fix a lot of the annoyances.