diff options
author | ru <ru@FreeBSD.org> | 2006-12-26 13:44:41 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-12-26 13:44:41 +0000 |
commit | 9b2078d255b594463da115559fa03e3f68e7329c (patch) | |
tree | 9356612c7b79d4eaa09383bcc0e9571b1d0730de /bin/rm/rm.1 | |
parent | 11227519c9cbbd6ec3d2a66f25562e77608a6e5d (diff) | |
download | FreeBSD-src-9b2078d255b594463da115559fa03e3f68e7329c.zip FreeBSD-src-9b2078d255b594463da115559fa03e3f68e7329c.tar.gz |
Fix markup, add the EXIT STATUS section.
Diffstat (limited to 'bin/rm/rm.1')
-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 1420c66..196935b 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 |