Relative to Absolute Path Conversion

/ Published in: Bash
Save to your folder(s)

the os x version of realpath works differently than the linux version; the following allows you to attain the same functionality in a shell on os x as `readlink -f $0` on a standard linux dist.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.