Actually, macOS isn't Unix. It's in the name of its kernel: XNU: X is Not Unix. Don't let the fact that it's a certified Unix confuse you.

[deleted]