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 =* cron non-posix none
#* cut yes none #* cut yes none
=* date yes none =* date yes none
= dirname yes none =* dirname yes none
= du no -H, -L, -x = du no -H, -L, -x
= echo yes none = echo yes none
= env yes none = env yes none

View File

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