This is the command cleannameplan9 that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
cleanname - clean a path name
SYNOPSIS
cleanname [ -d pwd ] names ...
DESCRIPTION
For 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.c
Use cleannameplan9 online using onworks.net services