News for hackers. Stuff that matters.
Re:MacBook Neo Is So Popular That Apple Doubled Production by rbanffy on Wednesday June 03, 2026 @04:38PM (#48389673)
Apart from the GUI environment, the Mac is a Unix and I find it hard to notice much difference between it and a Linux. I use MacPorts on my Macs and there is no drama with command line tools.

On my work Mac I don’t have sudo and I still could install MacPorts with zero issues.

Re:MacBook Neo Is So Popular That Apple Doubled Production by DanielHB on Thursday June 04, 2026 @06:12AM (#48396495)
sed has different syntax on macos because macos is based on BSD.

Really annoying to get a ticket "fix this build script for macos" and it is freaking sed compatibility issues.

edit: to be fair that happened once, but it was annoying

Re:MacBook Neo Is So Popular That Apple Doubled Production by rbanffy on Thursday June 04, 2026 @10:19AM (#48399048)
MacPorts provides GNU equivalents to the native BSD ones. You can always check if there is a `gsed` binary and use it (or check the OS, but checking direct behavior is always best).

But yes, macOS is a Unix, not a Linux.

Re:MacBook Neo Is So Popular That Apple Doubled Production by frollogaston on Friday June 05, 2026 @02:08AM (#48408607)
Then you run into Mac scripts expecting the BSD ones when you installed GNU. Similar issue with changing shell to bash.