Extracted from Pike v7.4 release 97 at 2004-08-02.
pike.ida.liu.se
[Top]
predef::
Stdio

Method Stdio.append_path()


Method append_path

string Stdio.append_path(string absolute, string ... relative)

Description

Append relative paths to an absolute path and remove any "//", "../" or "/." to produce a straightforward absolute path as a result.

"../" is ignorded in the relative paths if it makes the created path begin with something else than the absolute path (or so far created path).

Note

Warning: This does not work on NT. (Consider paths like: k:/fnord)

See also

combine_path()