diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
| commit | 46439007cf417cbd9ac8049bb4122c890097a0fa (patch) | |
| tree | 6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /man/1/cleanname | |
| parent | 37da2899f40661e3e9631e497da8dc59b971cbd0 (diff) | |
20060303-partial
Diffstat (limited to 'man/1/cleanname')
| -rw-r--r-- | man/1/cleanname | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/man/1/cleanname b/man/1/cleanname new file mode 100644 index 00000000..6c772fb9 --- /dev/null +++ b/man/1/cleanname @@ -0,0 +1,37 @@ +.TH CLEANNAME +.SH NAME +cleanname \- clean a path name +.SH SYNOPSIS +.B cleanname +[ +.BI -d " dir" +] +.I name +\&... +.SH DESCRIPTION +.I Cleanname +tidies up each file +.I name +it is given and prints the result on standard output. +It removes redundant slashes and interprets +.L . +and +.L .. +directory names lexically. +If the +.B -d +option is given, each +.I name +that does not not start with +.B / +or +.B # +will be prefixed by +.IB dir / +before processing. +.SH SOURCE +.B /appl/cmd/cleanname.b +.SH SEE ALSO +.IR basename (1), +.IR pwd (1), +.IR names (2) |
