Lots of man pages.
This commit is contained in:
parent
08df2a433e
commit
cfa37a7b11
152 changed files with 25407 additions and 148 deletions
32
man/man1/cleanname.1
Normal file
32
man/man1/cleanname.1
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
.TH CLEANNAME 1
|
||||
.SH NAME
|
||||
cleanname \- clean a path name
|
||||
.SH SYNOPSIS
|
||||
.B cleanname
|
||||
[
|
||||
.B -d
|
||||
.I pwd
|
||||
]
|
||||
.I names ...
|
||||
.SH DESCRIPTION
|
||||
For each file name argument,
|
||||
.IR 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
|
||||
.B .
|
||||
and
|
||||
.B ..
|
||||
directory components in the name.
|
||||
If the
|
||||
.B -d
|
||||
option is present,
|
||||
unrooted names are prefixed with
|
||||
.IB pwd /
|
||||
before processing.
|
||||
.SH SOURCE
|
||||
.B /sys/src/cmd/cleanname.c
|
||||
.SH SEE ALSO
|
||||
.IR cleanname (2).
|
||||
Loading…
Add table
Add a link
Reference in a new issue