Refactor basename(1)-manpage
This commit is contained in:
parent
ac208e23ca
commit
b9f0fe1eee
11
basename.1
11
basename.1
@ -3,18 +3,17 @@
|
|||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm basename
|
.Nm basename
|
||||||
.Nd strip leading path component
|
.Nd strip leading path components
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm basename
|
.Nm basename
|
||||||
.Ar string
|
.Ar path
|
||||||
.Op Ar suffix
|
.Op Ar suffix
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
prints the
|
prints the
|
||||||
.Ar string
|
.Ar path
|
||||||
with any leading path components, and the
|
without leading path components and
|
||||||
.Ar suffix ,
|
.Ar suffix .
|
||||||
removed.
|
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr dirname 1 ,
|
.Xr dirname 1 ,
|
||||||
.Xr basename 3
|
.Xr basename 3
|
||||||
|
Loading…
Reference in New Issue
Block a user