[ Table Of Contents | Keyword Index ]

ns_normalizepath(n) 4.99 "NaviServer Built-in Commands"

NAME

ns_normalizepath - Normalize a path

TABLE OF CONTENTS

    TABLE OF CONTENTS
    SYNOPSIS
    DESCRIPTION
    COMMANDS
    SEE ALSO
    KEYWORDS

SYNOPSIS

ns_normalizepath path

DESCRIPTION

ns_normalizepath removes any extraneous slashes from the path and resolves "." and ".." references.

For example: [ns_normalizepath /dog/cat/../.. /rat/../../dog//mouse/..] returns: /dog

COMMANDS

ns_normalizepath path

SEE ALSO

nsd

KEYWORDS

Tcl file normalize