Add mandoc-manpage for rmdir(1)

and mark it as finished in README.
This commit is contained in:
FRIGN 2015-01-30 13:30:03 +01:00
parent 737d23092a
commit dc7f392339
2 changed files with 33 additions and 26 deletions

2
README
View File

@ -56,7 +56,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
= readlink non-posix none = readlink non-posix none
=* renice yes none =* renice yes none
=* rm yes (-i) =* rm yes (-i)
= rmdir no -p =* rmdir yes none
= setsid non-posix none = setsid non-posix none
= sleep yes none = sleep yes none
sort no -m, -o, -d, -f, -i sort no -m, -o, -d, -f, -i

57
rmdir.1
View File

@ -1,25 +1,32 @@
.TH RMDIR 1 sbase\-VERSION .Dd January 30, 2015
.SH NAME .Dt RMDIR 1 sbase\-VERSION
rmdir \- remove a directory .Sh NAME
.SH SYNOPSIS .Nm rmdir
.B rmdir .Nd remove directories
.I directory... .Sh SYNOPSIS
.SH DESCRIPTION .Nm rmdir
.B rmdir .Op Fl p
attempts to remove all non-full directories specified .Ar directory ...
by .Sh DESCRIPTION
.IR directory. .Nm
.SH BUGS removes each empty
Subdirectories are removed in the order specified, so .Ar directory .
.nf .Sh OPTIONS
rmdir foo/bar foo .Bl -tag -width Ds
.fi .It Fl p
will be successful, but Remove
.nf .Ar directory
rmdir foo foo/bar and its parents in the pathname
.fi .Ar directory .
will only succeed in removing .El
.BR foo/bar. .Sh SEE ALSO
.Xr rm 1 ,
.SH SEE ALSO .Xr rmdir 2 ,
.IR rm (1) rmdir (2) unlink (1) unlink (2) .Xr unlink 1 ,
.Xr unlink 2
.Sh STANDARDS
The
.Nm
utility is compliant with the
.St -p1003.1-2008
specification.