Add mandoc-manpage for dirname(1)

and mark it as finished in the README.
This commit is contained in:
FRIGN 2015-01-23 23:17:54 +01:00
parent 743707a7b4
commit ac208e23ca
2 changed files with 22 additions and 14 deletions

2
README
View File

@ -24,7 +24,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
=* cron non-posix none
#* cut yes none
=* date yes none
= dirname yes none
=* dirname yes none
= du no -H, -L, -x
= echo yes none
= env yes none

View File

@ -1,14 +1,22 @@
.TH DIRNAME 1 sbase\-VERSION
.SH NAME
dirname \- strip final path component
.SH SYNOPSIS
.B dirname
.I pathname
.SH DESCRIPTION
.B dirname
prints the
.I pathname
.Dd January 23, 2015
.Dt DIRNAME 1 sbase\-VERSION
.Sh NAME
.Nm dirname
.Nd strip final path component
.Sh SYNOPSIS
.Nm dirname
.Ar path
.Sh DESCRIPTION
.Nm
prints
.Ar path
with its final path component removed.
.SH SEE ALSO
.IR basename (1),
.IR dirname (3)
.Sh SEE ALSO
.Xr basename 1 ,
.Xr dirname 3
.Sh STANDARDS
The
.Nm
utility is compliant with the
.St -p1003.1-2008
specification.