sbase/basename.1

27 lines
397 B
Groff
Raw Normal View History

2014-11-21 12:15:07 +00:00
.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
2011-05-23 19:15:19 +00:00
prints the
2014-11-21 12:15:07 +00:00
.Ar string
2011-05-24 20:39:20 +00:00
with any leading path components, and the
2014-11-21 12:15:07 +00:00
.Ar suffix ,
2011-05-23 01:36:34 +00:00
removed.
2014-11-21 12:15:07 +00:00
.Sh SEE ALSO
.Xr dirname 1 ,
.Xr basename 3
.Sh STANDARDS
The
.Nm
utility is compliant with the
.St -p1003.1-2008
specification.