diff options
| author | Mike Pritchard <mpp@FreeBSD.org> | 1997-04-08 20:27:48 +0000 |
|---|---|---|
| committer | Mike Pritchard <mpp@FreeBSD.org> | 1997-04-08 20:27:48 +0000 |
| commit | fe83da2eecd4ad041bb1eb7702b2724e7611e9df (patch) | |
| tree | 70b7149cd817e951979697663c5feb0a80840990 /bin | |
| parent | d532602fe9c633a9217c7df2825c008478baccac (diff) | |
Notes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/rm/rm.1 | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/bin/rm/rm.1 b/bin/rm/rm.1 index 2f1c2f191e7c..6a0eedeb8ea0 100644 --- a/bin/rm/rm.1 +++ b/bin/rm/rm.1 @@ -33,7 +33,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)rm.1 8.5 (Berkeley) 12/5/94 -.\" $Id$ +.\" $Id: rm.1,v 1.7 1997/02/22 14:05:26 peter Exp $ .\" .Dd December 5, 1994 .Dt RM 1 @@ -123,20 +123,19 @@ If an error occurs, .Nm rm exits with a value >0. .Sh NOTE -.Nm rm -use +The +.Nm +command uses .Xr getopt 3 -parsing routine. Getopt accept a +to parse its arguments, which allows it to accept +the .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''. +option which will cause it to stop processing flag options at that +point. This will allow the removal of file names that begin +with a dash +.Pq Sq - . +For example: +.Dl rm -- -filename .Sh SEE ALSO .Xr rmdir 1 , .Xr undelete 2 , |
