2014-11-21 12:15:07 +00:00
|
|
|
.Dd November 21, 2014
|
2015-01-31 13:20:02 +00:00
|
|
|
.Dt BASENAME 1
|
2015-01-31 19:37:03 +00:00
|
|
|
.Os sbase
|
2014-11-21 12:15:07 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm basename
|
2015-01-23 22:18:42 +00:00
|
|
|
.Nd strip leading path components
|
2014-11-21 12:15:07 +00:00
|
|
|
.Sh SYNOPSIS
|
2015-01-30 20:17:58 +00:00
|
|
|
.Nm
|
2015-01-23 22:18:42 +00:00
|
|
|
.Ar path
|
2014-11-21 12:15:07 +00:00
|
|
|
.Op Ar suffix
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2011-05-23 19:15:19 +00:00
|
|
|
prints the
|
2015-01-23 22:18:42 +00:00
|
|
|
.Ar path
|
|
|
|
without leading path components and
|
|
|
|
.Ar suffix .
|
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.
|