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) - osx
pwd(1) - opensolaris
pwd(3head) - sunos
pwd(1) - opendarwin
pwd(3head) - opensolaris
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
Find columns in a file based on header and print to new file
New UNIX and Linux History Sections