summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-06-08 13:41:22 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-06-08 13:41:22 +0000
commit88642379f30e63e564d135aa691f97f24d7bd0d9 (patch)
treebda79cb5ff3a98269a9213854d6c8d57bb1c0866
parent6fb4285228d52368238bbb5cc401b539e88a33c6 (diff)
Correct STANDARDS section wrt removing directories; from FreeBSD
-rw-r--r--bin/rm/rm.119
1 files changed, 16 insertions, 3 deletions
diff --git a/bin/rm/rm.1 b/bin/rm/rm.1
index a573065c960..cf282149a4b 100644
--- a/bin/rm/rm.1
+++ b/bin/rm/rm.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rm.1,v 1.12 2000/11/16 22:37:05 aaron Exp $
+.\" $OpenBSD: rm.1,v 1.13 2001/06/08 13:41:21 millert Exp $
.\" $NetBSD: rm.1,v 1.8 1995/07/25 19:37:30 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
@@ -159,9 +159,22 @@ not the standard error output.
.Sh STANDARDS
The
.Nm
-utility is expected to be
+utility is almost
.St -p1003.2
-compatible.
+compatible, except that
+.Tn POSIX
+requires
+.Nm
+to act like
+.Xr rmdir 1
+when the
+.Ar file
+specified is a directory. This implementation requires the
+.Fl d
+option if such behavior is desired. This follows the historical
+behavior of
+.Nm
+with respect to directories.
.Sh HISTORY
An
.Nm