Refactor basename(1)-manpage

This commit is contained in:
FRIGN 2015-01-23 23:18:42 +01:00
parent ac208e23ca
commit b9f0fe1eee

View File

@ -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