1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/sysutils/relpath/pkg-descr
Beech Rintoul 1d27658229 Usage: relpath [-d DIR] START_DIR END_PATH
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>
2008-02-15 03:17:23 +00:00

9 lines
283 B
Plaintext

Usage: relpath [-d DIR] START_DIR END_PATH
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.