Rant:
So people always say: buy Apple coz best of both worlds: MS Office + Adobe AND commandline tools.
But: OS X ALWAYS does things SO differently than your typical linux distribution.
For instance, I made a report generator that converts .svg to .pdf to include it in a latex template, that is then rendered and converted to pdf to form the final PDF.
Guess what... OS X terminal (bash? should be bash..) doesn't take "--" as a "iterate over all files for *.<extension>". No no... you have to use ugly bash for-loop.
WHY APPLE?
As a matter of fact, most of my "portable linux" code that relies on terminal commands ALWAYS needs to be slightly modified to work on OSX. OS X is even less compliant in terms of operators / prefixes for terminal commands than is *BSD.