3 ms·
A Mac is a Unix box. Actually, to be picky it’s more of a Unix box than a linux machine as of those two only OS X has Unix certification: http://www.opengroup.o
by robin_reala 17y ago
A Mac is a Unix box. Actually, to be picky it’s more of a Unix box than a linux machine as of those two only OS X has Unix certification: http://www.opengroup.org/openbrand/certificates/1190p.pdf http://www.opengroup.org/openbrand/certificates/1190p.pdf
- jrockway 17y agoBut of course, OS X implements many Unix constructs wrong. Renaming a file is not atomic on OS X / HFS+, for example. (UNIX certification is "did they give us money", not "does it actually work".) Also, of course GNU/Linux is not Unix. GNU is Not Unix! (I like GNU a lot better than Unix, personally. Much more sugary. "rm foo -rf" actually works, for example.)
- imd 17y agoWhat's that do? Unless you change the order, I'd expect it to delete two files: foo and -rf. How does the Mac get it wrong? I don't have a Mac at hand.
- kelnos 17y agoGNU tools generally allow you to put your options anywhere you please, even after regular arguments. Whether or not this is a good thing is of course up for debate, but it certainly can add convenience. Confusion can occur with some applications (possibly non-GNU ones) for which option/argument order does matter, or with those where options have different affects on later/earlier arguments depending on where they are placed. Note that the parent didn't say the Mac gets it "wrong," just that GNU "rm foo -rf" works in the sense that it will do what he intends it to do.
- vorador 17y agoNo it's not. A certification like this is just an expensive piece of paper, the kind of thing that floss developpers don't judge necessary.
- statictype 17y agoYes, my original point, which I didn't make quite clear, was that a Mac is an expensive unix box - for the price of one, you could get a higher-end machine running an OS like Linux. However since Google is probably paying for their hardware, I can see how that would be a non-issue.