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) - opensolaris
pwd(1t) - opensolaris
pwd(1) - osf1
pwd(1) - freebsd
pwd(3tcl) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
awk or sed - Convert 2 lines to 1 line
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections