Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rbanffy
36 days ago
|
parent
|
context
|
favorite
| on:
MacBook Neo is so popular that Apple doubled produ...
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.
frollogaston
36 days ago
[–]
Then you run into Mac scripts expecting the BSD ones when you installed GNU. Similar issue with changing shell to bash.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
But yes, macOS is a Unix, not a Linux.