On 16 November 2006 16:13, Willard, Deanna wrote:
> What are some causes of realpath function failures?
>
`$(realpath NAMES...)'
For each file name in NAMES return the canonical absolute name. A
canonical name does not contain any `.' or `..' components, nor
any repeated path separators (`/') or symlinks. In case of a
failure the empty string is returned. Consult the `realpath(3)'
^^^^^^^^^^^^^^^^^^^^^^^^^
documentation for a list of possible failure causes.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So try running "man 3 realpath", or googling "opengroup realpath" for the
posix standard. The main failure cause would be when the path doesn't
currently exist, i.e. $(realpath dir1/dir2/non-existent-dir/..) and the like
won't work.
cheers,
DaveK
--
Can't think of a witty .sigline today....
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make