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.116
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/rm/rm.1 b/bin/rm/rm.1
index 2e93f666ad6..9ab8d065478 100644
--- a/bin/rm/rm.1
+++ b/bin/rm/rm.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rm.1,v 1.4 1998/11/06 00:34:09 aaron Exp $
+.\" $OpenBSD: rm.1,v 1.5 1998/11/28 03:20:35 aaron Exp $
.\" $NetBSD: rm.1,v 1.8 1995/07/25 19:37:30 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
@@ -44,13 +44,13 @@
.Nm rm
.Nd remove directory entries
.Sh SYNOPSIS
-.Nm rm
+.Nm
.Op Fl f | Fl i
.Op Fl dPRrW
.Ar file ...
.Sh DESCRIPTION
The
-.Nm rm
+.Nm
utility attempts to remove the non-directory type files specified on the
command line.
If the permissions of the file do not permit writing, and the standard
@@ -109,7 +109,7 @@ files covered by whiteouts.
.El
.Pp
The
-.Nm rm
+.Nm
utility removes symbolic links, not the files referenced by the links.
.Pp
It is an error to attempt to remove the files
@@ -118,14 +118,14 @@ or
.Dq .. .
.Pp
The
-.Nm rm
+.Nm
utility exits 0 if all of the named files or file hierarchies were removed,
or if the
.Fl f
option was specified and all of the existing files or file hierarchies were
removed.
If an error occurs,
-.Nm rm
+.Nm
exits with a value >0.
.Sh SEE ALSO
.Xr rmdir 1 ,
@@ -143,7 +143,7 @@ In addition, only regular files are overwritten, other types of files
are not.
.Sh COMPATIBILITY
The
-.Nm rm
+.Nm
utility differs from historical implementations in that the
.Fl f
option only masks attempts to remove non-existent files instead of
@@ -155,7 +155,7 @@ implementations prompted on the standard output,
not the standard error output.
.Sh STANDARDS
The
-.Nm rm
+.Nm
utility is expected to be
.St -p1003.2
compatible.