summaryrefslogtreecommitdiff
path: root/bin/rm
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-02-11 18:43:53 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-02-11 18:43:53 +0000
commit08be39f5bb2c3749f037ee6a116aec7656b0460b (patch)
tree94d8c274d8fb74b16780ae5b6e401c511d9f84d5 /bin/rm
parent11661b37fd11040c9eb7ea938591fd8c371e7c9c (diff)
Initial patch.
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
Diffstat (limited to 'bin/rm')
-rw-r--r--bin/rm/rm.19
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/rm/rm.1 b/bin/rm/rm.1
index 6ef60dd6b05..40ca2feb5be 100644
--- a/bin/rm/rm.1
+++ b/bin/rm/rm.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rm.1,v 1.17 2002/01/24 19:21:39 mickey Exp $
+.\" $OpenBSD: rm.1,v 1.18 2002/02/11 18:43:51 mpech Exp $
.\" $NetBSD: rm.1,v 1.8 1995/07/25 19:37:30 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
@@ -138,14 +138,15 @@ If an error occurs,
.Nm
exits with a value >0.
.Sh EXAMPLES
-.Cm rm -rf foobar
+.Cm $ rm -rf foobar
.Pp
Recursively remove all files contained within the
.Pa foobar
directory hierarchy.
.Pp
-.Cm rm -- -f ,
-.Cm rm ./-f
+.Cm $ rm -- -f
+.br
+.Cm $ rm ./-f
.Pp
Either of these commands will remove the file
.Pa -f .