parse_path
MudOSa4DGD/doc/sfun/parse_path · 736 B
From the archive MudOSa4DGD-30.06.98.tar.gz
Download the archive « Back to the archive contents
NAME
parse_path - parse relative paths
SYNOPSIS
string parse_path(string path, string cwd, string wiz)
DESCRIPTION
parse_path() will return a file or directory name relative to
some directory like in UNIX and many other operating systems.
Here are some examples of it's use:
parse_path("./room.c", "/players/auronthas", "") returns:
"/players/auronthas/path.c"
parse_path("../rooms2/room", "/players/zabard/rooms", "") returns:
"/players/zabard/rooms2/room"
parse_path("~/test.c", "/" "drevreck") returns:
"/players/drevreck/test.c"
This is an sfun and might not be available.
SEE ALSO
(Taken from VikingMUD)