NaviServer - programmable web server
4.99  5.0

[ Main Table Of Contents | Table Of Contents | Keyword Index ]

ns_normalizepath(n) 4.99.30 naviserver "NaviServer Built-in Commands"

Name

ns_normalizepath - Normalize a path

Table Of Contents

Synopsis

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, global built-in