sbase/basename.1
Hiltjo Posthuma 57a19e3b86 add some mandoc pages and fix some warnings
- add .Os, it is mandatory.
- don't redeclare .Nm when it's not needed.
- fix some warnings (checked with mandoc -Tlint).
- remove some leftover old stuff.
2015-01-30 21:21:50 +01:00

26 lines
370 B
Groff

.Dd November 21, 2014
.Dt BASENAME 1 sbase\-VERSION
.Os
.Sh NAME
.Nm basename
.Nd strip leading path components
.Sh SYNOPSIS
.Nm
.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.