mirror of
git://git.suckless.org/sbase
synced 2024-12-22 23:13:44 +00:00
26 lines
379 B
Groff
26 lines
379 B
Groff
.Dd November 21, 2014
|
|
.Dt BASENAME 1 sbase\-VERSION
|
|
.Os
|
|
.Sh NAME
|
|
.Nm basename
|
|
.Nd strip leading path components
|
|
.Sh SYNOPSIS
|
|
.Nm basename
|
|
.Ar path
|
|
.Op Ar suffix
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
prints the
|
|
.Ar path
|
|
without leading path components and
|
|
.Ar suffix .
|
|
.Sh SEE ALSO
|
|
.Xr dirname 1 ,
|
|
.Xr basename 3
|
|
.Sh STANDARDS
|
|
The
|
|
.Nm
|
|
utility is compliant with the
|
|
.St -p1003.1-2008
|
|
specification.
|