From 932e4432596447eb9331cc2a2bb74a26a35b4efc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Jun 2024 12:52:03 +0200 Subject: Merging upstream version 4.23.0. Signed-off-by: Daniel Baumann --- upstream/fedora-rawhide/man1/rm.1 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'upstream/fedora-rawhide/man1/rm.1') diff --git a/upstream/fedora-rawhide/man1/rm.1 b/upstream/fedora-rawhide/man1/rm.1 index d2ea1c77..b0e4913a 100644 --- a/upstream/fedora-rawhide/man1/rm.1 +++ b/upstream/fedora-rawhide/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" "April 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: .br Report any translation bugs to .SH COPYRIGHT -Copyright \(co 2023 Free Software Foundation, Inc. +Copyright \(co 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. -- cgit v1.2.3