Ns normalizepath

From AOLserver Wiki
Jump to: navigation, search

Man page: http://www.aolserver.com/docs/devel/tcl/api/file.html#ns_normalizepath


NAME

ns_normalizepath - Normalize a path

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

SEE ALSO

Tcl [file normalize] [1]


Category Documentation - Category Core Tcl API