*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: revpath | Section: 1 | Source: MINIX | File: revpath.1
REVPATH(1) General Commands Manual REVPATH(1) NAME revpath - generate a relative path that can be used to undo a change- directory SYNOPSIS revpath path DESCRIPTION The 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 relative 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 repre- sent the path to a subdirectory) the output is also empty and no error messages are ever generated. DIAGNOSTICS There are no diagnostics. Error conditions are silently ignored, and the exit status is always 0. BUGS It isn't possible to reverse arbitrary relative paths. If any path el- ement between the two end points of path is a symbolic link, the re- sults will probably be incorrect. X Version 11 REVPATH(1)

Navigation Options