summaryrefslogtreecommitdiffstats
path: root/bin/rmdir
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-05-18 06:40:56 +0000
committercharnier <charnier@FreeBSD.org>1998-05-18 06:40:56 +0000
commit73aa05049384acedec92bf177501e01ce2ca99d7 (patch)
tree44466d1726c189eed4db45cbe203024c1c9648a5 /bin/rmdir
parent47f1e7cea859343df4299e35fc4d2ca5ff3a2984 (diff)
downloadFreeBSD-src-73aa05049384acedec92bf177501e01ce2ca99d7.zip
FreeBSD-src-73aa05049384acedec92bf177501e01ce2ca99d7.tar.gz
Correct use of .Nm. Add rcsid.
Diffstat (limited to 'bin/rmdir')
-rw-r--r--bin/rmdir/rmdir.114
-rw-r--r--bin/rmdir/rmdir.c8
2 files changed, 13 insertions, 9 deletions
diff --git a/bin/rmdir/rmdir.1 b/bin/rmdir/rmdir.1
index 44eed96..086ad3a 100644
--- a/bin/rmdir/rmdir.1
+++ b/bin/rmdir/rmdir.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)rmdir.1 8.1 (Berkeley) 5/31/93
-.\" $Id$
+.\" $Id: rmdir.1,v 1.6 1997/02/22 14:05:37 peter Exp $
.\"
.Dd May 31, 1993
.Dt RMDIR 1
@@ -46,7 +46,9 @@
.Op Fl p
.Ar directory ...
.Sh DESCRIPTION
-The rmdir utility removes the directory entry specified by
+The
+.Nm
+utility removes the directory entry specified by
each
.Ar directory
argument, provided it is empty.
@@ -56,11 +58,11 @@ In order to remove both a parent directory and a subdirectory
of that parent, the subdirectory
must be specified first so the parent directory
is empty when
-.Nm rmdir
+.Nm
tries to remove it.
.Pp
The following option is available:
-.Bl -tag -width Ds
+.Bl -tag -width indent
.It Fl p
Each
.Ar directory
@@ -73,7 +75,7 @@ for fully non-discriminant recursive removal.)
.El
.Pp
The
-.Nm rmdir
+.Nm
utility exits with one of the following values:
.Bl -tag -width Ds
.It Li \&0
@@ -87,7 +89,7 @@ An error occurred.
.Xr rm 1
.Sh STANDARDS
The
-.Nm rmdir
+.Nm
command is expected to be
.St -p1003.2
compatible.
diff --git a/bin/rmdir/rmdir.c b/bin/rmdir/rmdir.c
index d6d1347..6b31c5a 100644
--- a/bin/rmdir/rmdir.c
+++ b/bin/rmdir/rmdir.c
@@ -29,8 +29,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: rmdir.c,v 1.6 1997/03/28 15:24:37 imp Exp $
*/
#ifndef lint
@@ -40,7 +38,11 @@ static char const copyright[] =
#endif /* not lint */
#ifndef lint
-static char const sccsid[] = "@(#)rmdir.c 8.3 (Berkeley) 4/2/94";
+#if 0
+static char sccsid[] = "@(#)rmdir.c 8.3 (Berkeley) 4/2/94";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
#include <err.h>
OpenPOWER on IntegriCloud