.\" Copyright (c) 1990 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)rmdir.1 6.3 (Berkeley) %G%
The rmdir utility removes the directory entry specified by
argument, provided it is empty.
Arguments are processed in the order given.
In order to remove both a parent directory and a subdirectory
of that parent, the subdirectory
must be specified first so the parent directory
.\" The following option is available:
.\" argument is treated as a pathname of which all
.\" components will be removed, if they are empty,
.\" starting with the last most component.
.\" for fully non-discriminant recursive removal).
utility exits with one of the following values:
Each directory entry specified by a dir operand
referred to an empty directory and was removed
function is expected to be POSIX 1003.2 compatible.