Update basename manpage

This commit is contained in:
sin 2014-11-21 12:15:07 +00:00
parent 2d685482af
commit bb88aa471b

View File

@ -1,17 +1,26 @@
.TH BASENAME 1 sbase\-VERSION .Dd November 21, 2014
.SH NAME .Dt BASENAME 1 sbase\-VERSION
basename \- strip leading path component .Os
.SH SYNOPSIS .Sh NAME
.B basename .Nm basename
.I string .Nd strip leading path component
.RI [ suffix ] .Sh SYNOPSIS
.SH DESCRIPTION .Nm basename
.B basename .Ar string
.Op Ar suffix
.Sh DESCRIPTION
.Nm
prints the prints the
.I string .Ar string
with any leading path components, and the with any leading path components, and the
.IR suffix , .Ar suffix ,
removed. removed.
.SH SEE ALSO .Sh SEE ALSO
.IR dirname (1), .Xr dirname 1 ,
.IR basename (3) .Xr basename 3
.Sh STANDARDS
The
.Nm
utility is compliant with the
.St -p1003.1-2008
specification.