2015-03-27 12:22:48 -04:00
|
|
|
.Dd March 27, 2015
|
2015-01-31 08:20:02 -05:00
|
|
|
.Dt DIRNAME 1
|
2015-01-31 14:37:03 -05:00
|
|
|
.Os sbase
|
2015-01-23 17:17:54 -05:00
|
|
|
.Sh NAME
|
|
|
|
.Nm dirname
|
|
|
|
.Nd strip final path component
|
|
|
|
.Sh SYNOPSIS
|
2015-01-30 15:17:58 -05:00
|
|
|
.Nm
|
2015-01-23 17:17:54 -05:00
|
|
|
.Ar path
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2015-02-28 13:50:12 -05:00
|
|
|
writes
|
2015-01-23 17:17:54 -05:00
|
|
|
.Ar path
|
2015-02-28 13:50:12 -05:00
|
|
|
with its final path component removed to stdout.
|
2015-01-23 17:17:54 -05:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr basename 1 ,
|
|
|
|
.Xr dirname 3
|
|
|
|
.Sh STANDARDS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility is compliant with the
|
2015-03-27 12:22:48 -04:00
|
|
|
.St -p1003.1-2013
|
2015-01-23 17:17:54 -05:00
|
|
|
specification.
|