2015-10-08 15:15:08 +00:00
|
|
|
.Dd 2015-10-08
|
2015-01-31 13:20:02 +00:00
|
|
|
.Dt DIRNAME 1
|
2015-01-31 19:37:03 +00:00
|
|
|
.Os sbase
|
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
|
2015-02-28 18:50:12 +00:00
|
|
|
writes
|
2015-01-23 22:17:54 +00:00
|
|
|
.Ar path
|
2015-02-28 18:50:12 +00:00
|
|
|
with its final path component removed to stdout.
|
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
|
2015-03-27 16:22:48 +00:00
|
|
|
.St -p1003.1-2013
|
2015-01-23 22:17:54 +00:00
|
|
|
specification.
|