revpath man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]



REVPATH(1)					     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 direc-
       tories 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  bot-
       tom.  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	subdirec-
       tory)  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 element between the two end points of path  is	a
       symbolic link, the results will probably be incorrect.

XFree86			4.0				1

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net