On 3/13/15 8:48 PM, Ximin Luo wrote:
Ah, I thought realpath was a standard thing. Does "readlink -f" work instead?
No, the Mac OS / BSD readlink seems to be quite different than the Linux one. See:
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPa...
Also, some possibly useful ideas can be found here:
http://stackoverflow.com/questions/1055671/how-can-i-get-the-behavior-of-gnu...