Poster of Linux kernelThe best gift for a Linux geek
CLEANNAME

CLEANNAME

Section: User Commands (1)
Local index Up
 

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).


 

Index

NAME
SYNOPSIS
DESCRIPTION
SOURCE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 22:30:16 GMT, April 16, 2011