NORMALIZE remove redundant elements of path

normalize(p) remove redundant elements of path p. Does not walk up ".." to be safe. Path need not exist. Does not access physical filesystem.

Contents

Inputs

Outputs