2015-10-08 11:15:08 -04:00
|
|
|
.Dd 2015-10-08
|
2015-01-31 08:20:02 -05:00
|
|
|
.Dt BASENAME 1
|
2015-01-31 14:37:03 -05:00
|
|
|
.Os sbase
|
2014-11-21 07:15:07 -05:00
|
|
|
.Sh NAME
|
|
|
|
.Nm basename
|
2015-02-28 09:09:47 -05:00
|
|
|
.Nd strip leading directory components of a path
|
2014-11-21 07:15:07 -05:00
|
|
|
.Sh SYNOPSIS
|
2015-01-30 15:17:58 -05:00
|
|
|
.Nm
|
2015-01-23 17:18:42 -05:00
|
|
|
.Ar path
|
2014-11-21 07:15:07 -05:00
|
|
|
.Op Ar suffix
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2015-02-28 09:09:47 -05:00
|
|
|
writes
|
2015-01-23 17:18:42 -05:00
|
|
|
.Ar path
|
2015-02-28 09:09:47 -05:00
|
|
|
without leading directory components and
|
|
|
|
.Ar suffix
|
|
|
|
to stdout.
|
2014-11-21 07:15:07 -05:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr dirname 1 ,
|
|
|
|
.Xr basename 3
|
|
|
|
.Sh STANDARDS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility is compliant with the
|
2015-03-27 12:22:48 -04:00
|
|
|
.St -p1003.1-2013
|
2014-11-21 07:15:07 -05:00
|
|
|
specification.
|