append-path

Name

append-path -- Append a pathname onto a directory

Type: function

Synopsis

append-path( dirname filename, new-filename);

Arguments

dirname

A directory name (an instance of <directory-name>).

filename

A file name (an instance of <file-name>).

Return Values

new-filename

An instance of <file-name>.

Description

This function computes the pathname that results when the given filename is interpreted relative to the given dirname.

If filename is an absolute path, then it is returned. Otherwise, a new file name object is constructed.