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) - mojave
filename(3erl) - linux
pwd(1) - opendarwin
pwd(3head) - opensolaris
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
awk or sed - Convert 2 lines to 1 line
One instance of comparing grep and awk
Weird 'find' results
A (ksh) Library For and From UNIX.com