[hackers] [sbase] Add mandoc-manpage for rmdir(1) || FRIGN

From: <git_AT_suckless.org>
Date: Tue, 24 Mar 2015 23:53:22 +0100 (CET)

commit dc7f392339e7df88dafe3010e5893662bc2751f2
Author: FRIGN <dev_AT_frign.de>
Date: Fri Jan 30 13:30:03 2015 +0100

    Add mandoc-manpage for rmdir(1)
    
    and mark it as finished in README.

diff --git a/README b/README
index eb41af8..35d5a9f 100644
--- a/README
+++ b/README
_AT_@ -56,7 +56,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
 = readlink non-posix none
 =* renice yes none
 =* rm yes (-i)
-= rmdir no -p
+=* rmdir yes none
 = setsid non-posix none
 = sleep yes none
    sort no -m, -o, -d, -f, -i
diff --git a/rmdir.1 b/rmdir.1
index 4688461..ba4c1d3 100644
--- a/rmdir.1
+++ b/rmdir.1
_AT_@ -1,25 +1,32 @@
-.TH RMDIR 1 sbase\-VERSION
-.SH NAME
-rmdir \- remove a directory
-.SH SYNOPSIS
-.B rmdir
-.I directory...
-.SH DESCRIPTION
-.B rmdir
-attempts to remove all non-full directories specified
-by
-.IR directory.
-.SH BUGS
-Subdirectories are removed in the order specified, so
-.nf
- rmdir foo/bar foo
-.fi
-will be successful, but
-.nf
- rmdir foo foo/bar
-.fi
-will only succeed in removing
-.BR foo/bar.
-
-.SH SEE ALSO
-.IR rm (1) rmdir (2) unlink (1) unlink (2)
+.Dd January 30, 2015
+.Dt RMDIR 1 sbase\-VERSION
+.Sh NAME
+.Nm rmdir
+.Nd remove directories
+.Sh SYNOPSIS
+.Nm rmdir
+.Op Fl p
+.Ar directory ...
+.Sh DESCRIPTION
+.Nm
+removes each empty
+.Ar directory .
+.Sh OPTIONS
+.Bl -tag -width Ds
+.It Fl p
+Remove
+.Ar directory
+and its parents in the pathname
+.Ar directory .
+.El
+.Sh SEE ALSO
+.Xr rm 1 ,
+.Xr rmdir 2 ,
+.Xr unlink 1 ,
+.Xr unlink 2
+.Sh STANDARDS
+The
+.Nm
+utility is compliant with the
+.St -p1003.1-2008
+specification.
Received on Tue Mar 24 2015 - 23:53:22 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 25 2015 - 00:04:33 CET