2015-01-23 22:17:54 +00:00
|
|
|
.Dd January 23, 2015
|
|
|
|
.Dt DIRNAME 1 sbase\-VERSION
|
2015-01-30 20:17:58 +00:00
|
|
|
.Os
|
2015-01-23 22:17:54 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm dirname
|
|
|
|
.Nd strip final path component
|
|
|
|
.Sh SYNOPSIS
|
2015-01-30 20:17:58 +00:00
|
|
|
.Nm
|
2015-01-23 22:17:54 +00:00
|
|
|
.Ar path
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
prints
|
|
|
|
.Ar path
|
2011-05-24 20:39:20 +00:00
|
|
|
with its final path component removed.
|
2015-01-23 22:17:54 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr basename 1 ,
|
|
|
|
.Xr dirname 3
|
|
|
|
.Sh STANDARDS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility is compliant with the
|
|
|
|
.St -p1003.1-2008
|
|
|
|
specification.
|