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