NAME

truename -- determine the real name of a file.


SYNOPSIS

truename [-equiv] [-verbose]<path> <path>...]


DESCRIPTION

truename computes the true names of paths given to it, by expanding all path components that are symlinks and eliminating all components that are '.' of '..'. In normal operation, truename prints nothing if a path does not exist. In equivalence class mode (-equiv), truename prints all paths equivalent to the given one (and including neither '.' nor '..') regardless of whether the final target exists or not.


OPTIONS

-verbose
Print the traversal history of how results were constructed. This allows one to understand bizarre results.

-equiv
Print all equivalent paths for the given paths, ignoring '.' and '..' components. This gives an idea of where each path should point, whether it exists or not. It also allows one to check whether two symlinks that do not exist point to the same (nonexistent) place.

.


SEE ALSO

the slink manpage , Slink::TrueName.


AUTHOR

Alva L. Couch, couch@cs.tufts.edu, http://www.cs.tufts.edu/~couch, Copyright 1996 by Alva L. Couch.


LAST MODIFIED

May 10, 1996