summaryrefslogtreecommitdiff
path: root/bin/rm/rm.1
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rm/rm.1')
-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