summaryrefslogtreecommitdiffstats
path: root/bin/rm/rm.1
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1996-03-07 23:26:59 +0000
committerwosch <wosch@FreeBSD.org>1996-03-07 23:26:59 +0000
commit424382b97890577a454834fbcd5a2d900c4d751f (patch)
treef29f223272fa037c1f01771afda157cb35465ee1 /bin/rm/rm.1
parenta3bec8558ea310616fbfcd1621a12aeff52aff1e (diff)
downloadFreeBSD-src-424382b97890577a454834fbcd5a2d900c4d751f.zip
FreeBSD-src-424382b97890577a454834fbcd5a2d900c4d751f.tar.gz
fix usage string
respond `Y' is equal to `y' Add a note how to delete file name with beginning `-'
Diffstat (limited to 'bin/rm/rm.1')
-rw-r--r--bin/rm/rm.118
1 files changed, 17 insertions, 1 deletions
diff --git a/bin/rm/rm.1 b/bin/rm/rm.1
index 2e523b9..693c1cf 100644
--- a/bin/rm/rm.1
+++ b/bin/rm/rm.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)rm.1 8.2 (Berkeley) 4/18/94
-.\" $Id$
+.\" $Id: rm.1,v 1.2 1994/09/24 02:57:00 davidg Exp $
.\"
.Dd April 18, 1994
.Dt RM 1
@@ -118,10 +118,26 @@ removed.
If an error occurs,
.Nm rm
exits with a value >0.
+.Sh NOTE
+.Nm rm
+use
+.Xr getopt 3
+parsing routine. Getopt accept a
+.Sq Li --
+argument, which stop reading options, anything after this
+is not an option.
+So
+.Nm rm
+handle files whose names begins with a
+.Sq Li - .
+Example:
+
+``$ rm -- -filename''.
.Sh SEE ALSO
.Xr rmdir 1 ,
.Xr unlink 2 ,
.Xr fts 3 ,
+.Xr getopt 3 ,
.Xr symlink 7
.Sh BUGS
The
OpenPOWER on IntegriCloud