summaryrefslogtreecommitdiffstats
path: root/upstream/archlinux/man1/rm.1
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/archlinux/man1/rm.1')
-rw-r--r--upstream/archlinux/man1/rm.111
1 files changed, 7 insertions, 4 deletions
diff --git a/upstream/archlinux/man1/rm.1 b/upstream/archlinux/man1/rm.1
index d2ea1c77..451b6ce5 100644
--- a/upstream/archlinux/man1/rm.1
+++ b/upstream/archlinux/man1/rm.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
-.TH RM "1" "January 2024" "GNU coreutils 9.4" "User Commands"
+.TH RM "1" "March 2024" "GNU coreutils 9.5" "User Commands"
.SH NAME
rm \- remove files or directories
.SH SYNOPSIS
@@ -76,6 +76,9 @@ output version information and exit
By default, rm does not remove directories. Use the \fB\-\-recursive\fR (\fB\-r\fR or \fB\-R\fR)
option to remove each listed directory, too, along with all of its contents.
.PP
+Any attempt to remove a file whose last file name component is '.' or '..'
+is rejected with a diagnostic.
+.PP
To remove a file whose name starts with a '\-', for example '\-foo',
use one of these commands:
.IP
@@ -83,9 +86,9 @@ rm \fB\-\-\fR \fB\-foo\fR
.IP
rm ./\-foo
.PP
-Note that if you use rm to remove a file, it might be possible to recover
+If you use rm to remove a file, it might be possible to recover
some of its contents, given sufficient expertise and/or time. For greater
-assurance that the contents are truly unrecoverable, consider using \fBshred\fP(1).
+assurance that the contents are unrecoverable, consider using \fBshred\fP(1).
.SH AUTHOR
Written by Paul Rubin, David MacKenzie, Richard M. Stallman,
and Jim Meyering.
@@ -94,7 +97,7 @@ GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
.br
Report any translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
-Copyright \(co 2023 Free Software Foundation, Inc.
+Copyright \(co 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.