summaryrefslogtreecommitdiff
path: root/man/rm.x
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-02-20 16:49:27 +0000
committerJim Meyering <jim@meyering.net>2006-02-20 16:49:27 +0000
commit77ab7a182c30da8b4eb6cb06a53354b3f1a61e34 (patch)
tree67aac9f9f1df9066f9e2f3a7fa8990c466dcc18d /man/rm.x
parente8bf2b837f841229de3596a26edf2ede1ed050ee (diff)
downloadcoreutils-77ab7a182c30da8b4eb6cb06a53354b3f1a61e34.tar.xz
Update documentation to match previous patch.
Diffstat (limited to 'man/rm.x')
-rw-r--r--man/rm.x16
1 files changed, 12 insertions, 4 deletions
diff --git a/man/rm.x b/man/rm.x
index bffba94b5..f5d55db86 100644
--- a/man/rm.x
+++ b/man/rm.x
@@ -8,11 +8,19 @@ documents the GNU version of
removes each specified file. By default, it does not remove
directories.
.P
-If a file is unwritable, the standard input is a tty, and
-the \fI\-f\fR or \fI\-\-force\fR option is not given,
+If the \fI\-I\fR or \fI\-\-interactive\=once\fR option is given,
+and there are more than three files or the \fI\-r\fR, \fI\-R\fR,
+or \fI\-\-recursive\fR are given, then
.B rm
-prompts the user for whether to remove the file. If the response
-is not affirmative, the file is skipped.
+prompts the user for whether to proceed with the entire operation. If
+the response is not affirmative, the entire command is aborted.
+.P
+Otherwise, if a file is unwritable, standard input is a terminal, and
+the \fI\-f\fR or \fI\-\-force\fR option is not given, or the
+\fI\-i\fR or \fI\-\-interactive\=always\fR option is given,
+.B rm
+prompts the user for whether to remove the file. If the response is
+not affirmative, the file is skipped.
.SH OPTIONS
[SEE ALSO]
chattr(1), shred(1)