mirror of
git://git.suckless.org/sbase
synced 2024-12-22 23:13:44 +00:00
27 lines
386 B
Groff
27 lines
386 B
Groff
.Dd February 28, 2015
|
|
.Dt BASENAME 1
|
|
.Os sbase
|
|
.Sh NAME
|
|
.Nm basename
|
|
.Nd strip leading directory components of a path
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Ar path
|
|
.Op Ar suffix
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
writes
|
|
.Ar path
|
|
without leading directory components and
|
|
.Ar suffix
|
|
to stdout.
|
|
.Sh SEE ALSO
|
|
.Xr dirname 1 ,
|
|
.Xr basename 3
|
|
.Sh STANDARDS
|
|
The
|
|
.Nm
|
|
utility is compliant with the
|
|
.St -p1003.1-2008
|
|
specification.
|