diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-12-26 13:44:41 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-12-26 13:44:41 +0000 |
| commit | ca3f81d88569f5849594cf17be7ec70ae8e135e8 (patch) | |
| tree | 9356612c7b79d4eaa09383bcc0e9571b1d0730de /bin/rm | |
| parent | 3f7358b96b11fb23e2e6eee737b280a508f83383 (diff) | |
Notes
Diffstat (limited to 'bin/rm')
| -rw-r--r-- | bin/rm/rm.1 | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/bin/rm/rm.1 b/bin/rm/rm.1 index 1420c66fcc6a3..196935b9168a9 100644 --- a/bin/rm/rm.1 +++ b/bin/rm/rm.1 @@ -56,7 +56,7 @@ input device is a terminal, the user is prompted (on the standard error output) for confirmation. .Pp The options are as follows: -.Bl -tag -width Fl +.Bl -tag -width indent .It Fl d Attempt to remove directories as well as other types of files. .It Fl f @@ -97,7 +97,9 @@ Specifying this flag for a read only file will cause to generate an error message and exit. The file will not be removed or overwritten. .It Fl R -Attempt to remove the file hierarchy rooted in each file argument. +Attempt to remove the file hierarchy rooted in each +.Ar file +argument. The .Fl R option implies the @@ -141,7 +143,7 @@ No options may be supplied in this simple mode of operation, which performs an .Xr unlink 2 operation on the passed argument. -.Pp +.Sh EXIT STATUS The .Nm utility exits 0 if all of the named files or file hierarchies were removed, @@ -152,7 +154,7 @@ removed. If an error occurs, .Nm exits with a value >0. -.Sh NOTE +.Sh NOTES The .Nm command uses @@ -166,12 +168,15 @@ This will allow the removal of file names that begin with a dash .Pq Sq - . For example: -.Dl rm -- -filename +.Pp +.Dl "rm -- -filename" +.Pp The same behavior can be obtained by using an absolute or relative path reference. For example: -.Dl rm /home/user/-filename -.Dl rm ./-filename +.Pp +.Dl "rm /home/user/-filename" +.Dl "rm ./-filename" .Pp When .Fl P |
