sbase/basename.1

27 lines
386 B
Groff
Raw Normal View History

2015-02-28 14:09:47 +00:00
.Dd February 28, 2015
.Dt BASENAME 1
.Os sbase
2014-11-21 12:15:07 +00:00
.Sh NAME
.Nm basename
2015-02-28 14:09:47 +00:00
.Nd strip leading directory components of a path
2014-11-21 12:15:07 +00:00
.Sh SYNOPSIS
.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
2015-02-28 14:09:47 +00:00
writes
2015-01-23 22:18:42 +00:00
.Ar path
2015-02-28 14:09:47 +00:00
without leading directory components and
.Ar suffix
to stdout.
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.