Query: revpath
OS: xfree86
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
REVPATH(1) General Commands Manual REVPATH(1)NAMErevpath - generate a relative path that can be used to undo a change-directorySYNOPSISrevpath pathDESCRIPTIONThe revpath program prints out a relative path that is the ``reverse'' or ``inverse'' of path. Start with two directories top and bottom, with the latter below the former, and path is the location of bottom relative to top. The output of revpath is the location of top rela- tive to bottom. The resulting path contains a trailing `/' character when the result is non-trivial. If path is equivalent to `.', the resulting output is empty. If path is invalid in some way (e.g., doesn't represent the path to a subdirectory) the output is also empty and no error messages are ever generated.DIAGNOSTICSThere are no diagnostics. Error conditions are silently ignored, and the exit status is always 0.BUGSIt isn't possible to reverse arbitrary relative paths. If any path element between the two end points of path is a symbolic link, the results will probably be incorrect. XFree86 Version 4.7.0 REVPATH(1)
Related Man Pages |
---|
shtool-path(1) - debian |
resolvepath(2) - minix |
resolvepath(2) - centos |
resolvepath(2) - opendarwin |
resolvepath(2) - plan9 |
Similar Topics in the Unix Linux Community |
---|
PHP Write Man Pages to MySQL DB |
Fedora 30 and Slackware 14.2, how to obtain the same rendering? |
Shopt -s histappend |