CLEANNAME(1) CLEANNAME(1) NAME cleanname - clean a path name SYNOPSIS cleanname [ -d pwd ] names ... DESCRIPTION For each file name argument, cleanname, by lexical process- ing only, prints the shortest equivalent string that names the same (possibly hypothetical) file. It eliminates multi- ple 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 pro- cessing. SOURCE /sys/src/cmd/cleanname.c SEE ALSO cleanname(2). Page 1 Plan 9 (printed 12/21/24)