Query: plan9-cleanname
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CLEANNAME(1) General Commands Manual CLEANNAME(1)NAMEcleanname - clean a path nameSYNOPSIScleanname [ -d pwd ] names ...DESCRIPTIONFor each file name argument, cleanname, by lexical processing only, prints the shortest equivalent string that names the same (possibly hypothetical) file. It eliminates multiple and trailing slashes, and it lexically interprets . and .. directory components in the name. If the -d option is present, unrooted names are prefixed with pwd/ before processing.SOURCE/src/cmd/cleanname.cSEE ALSOcleanname(3). CLEANNAME(1)