1 .\" $XFree86: xc/config/util/revpath.man,v 1.1 1999/01/03 03:58:14 dawes Exp $
2 .TH REVPATH 1 __vendorversion__
4 revpath \- generate a relative path that can be used to undo a change-directory
11 program prints out a relative path that is the ``reverse'' or ``inverse'' of
13 Start with two directories
17 with the latter below the former, and
29 The resulting path contains a trailing `/' character when the result is
33 is equivalent to `.', the resulting output is empty.
36 is invalid in some way (e.g., doesn't represent the path to a subdirectory)
37 the output is also empty and no error messages are ever generated.
39 There are no diagnostics. Error conditions are silently ignored, and the
40 exit status is always 0.
42 It isn't possible to reverse arbitrary relative paths.
43 If any path element between the two end points of
45 is a symbolic link, the results will probably be incorrect.