aboutsummaryrefslogtreecommitdiff
path: root/sysutils/relpath
Commit message (Collapse)AuthorAgeFilesLines
* Usage: relpath [-d DIR] START_DIR END_PATHBeech Rintoul2008-02-153-0/+30
Find a relative path from START_DIR to END_PATH. Prints the relative path on standard out. If -d DIR, then only emit a relative path if both START_DIR and END_PATH are sub-directories of DIR; otherwise, emit an absolute path to END_PATH. PR: ports/67308 Submitted by: Volker Werth <volker@vwsoft.com> Notes: svn path=/head/; revision=207224