Real Path
- real_path
OS independent implementation of realpath
Calls realpath if it exists, else a bash equivalent of it, real_path_manual Mainly for Darwin where realpath doesn’t always exist
- real_path_manual
- Arguments:
- $1- path to file object
- Output:
- stdout - Full path to non-symlink file of - $1
Bash implementation of realpath
- real_path
Helper function to either call realpath, readlink -f or real_path_manual depending on what is available.