sbase/basename.1

27 lines
397 B
Groff

.Dd November 21, 2014
.Dt BASENAME 1 sbase\-VERSION
.Os
.Sh NAME
.Nm basename
.Nd strip leading path component
.Sh SYNOPSIS
.Nm basename
.Ar string
.Op Ar suffix
.Sh DESCRIPTION
.Nm
prints the
.Ar string
with any leading path components, and the
.Ar suffix ,
removed.
.Sh SEE ALSO
.Xr dirname 1 ,
.Xr basename 3
.Sh STANDARDS
The
.Nm
utility is compliant with the
.St -p1003.1-2008
specification.