plan9-cleanname(1) debian man page | unix.com

Man Page: plan9-cleanname

Operating Environment: debian

Section: 1

CLEANNAME(1)						      General Commands Manual						      CLEANNAME(1)

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
SEE ALSO
cleanname(3). CLEANNAME(1)
Related Man Pages
pwd(1) - sunos
plot(1) - plan9
pwd(1) - freebsd
filename(3erl) - linux
pwd(3head) - opensolaris
Similar Topics in the Unix Linux Community
How can I do this in VI editor?
Introduction
One instance of comparing grep and awk
Weird 'find' results
A (ksh) Library For and From UNIX.com