[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a not accurate expression in man rm
From: |
Paul Eggert |
Subject: |
Re: a not accurate expression in man rm |
Date: |
Mon, 20 Sep 2004 22:57:38 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Munzir Taha <address@hidden> writes:
> This is not accurate due to localization. In Arabic for example, I can
> response with the first letter of the Arabic word for Yes and it works.
Thanks for reporting this. I installed this fix:
2004-09-20 Paul Eggert <address@hidden>
* coreutils.texi (mv invocation, rm invocation): Say "the response
is affirmative" rather than "the response begins with y or Y",
so that the documentation is accurate in non-English locales.
Problem reported by Munzir Taha.
Index: coreutils.texi
===================================================================
RCS file: /home/eggert/coreutils/cu/doc/coreutils.texi,v
retrieving revision 1.212
retrieving revision 1.213
diff -p -u -r1.212 -r1.213
--- coreutils.texi 19 Sep 2004 01:46:28 -0000 1.212
+++ coreutils.texi 21 Sep 2004 05:56:11 -0000 1.213
@@ -6998,7 +6998,7 @@ If a destination file exists but is norm
is a terminal, and the @option{-f} or @option{--force} option is not given,
@command{mv} prompts the user for whether to replace the file. (You might
own the file, or have write permission on its directory.) If the
-response does not begin with @samp{y} or @samp{Y}, the file is skipped.
+response is not affirmative, the file is skipped.
@emph{Warning}: If you try to move a symlink that points to a directory,
and you specify the symlink with a trailing slash, then @command{mv}
@@ -7024,8 +7024,8 @@ Do not prompt the user before removing a
@opindex --interactive
@cindex prompts, forcing
Prompt whether to overwrite each existing destination file, regardless
-of its permissions. If the response does not begin with @samp{y} or
address@hidden, the file is skipped.
+of its permissions.
+If the response is not affirmative, the file is skipped.
@itemx @address@hidden@var{how}]}
@opindex --reply
@@ -7087,8 +7087,8 @@ rm address@hidden@dots{} address@hidden@do
If a file is unwritable, standard input is a terminal, and the @option{-f}
or @option{--force} option is not given, or the @option{-i} or
@option{--interactive} option @emph{is} given, @command{rm} prompts the user
-for whether to remove the file. If the response does not begin with
address@hidden or @samp{Y}, the file is skipped.
+for whether to remove the file.
+If the response is not affirmative, the file is skipped.
@emph{Warning}: If you use @command{rm} to remove a file, it is usually
possible to recover the contents of that file. If you want more assurance
@@ -7124,8 +7124,8 @@ Ignore any previous @option{--interactiv
@itemx --interactive
@opindex -i
@opindex --interactive
-Prompt whether to remove each file. If the response does not begin
-with @samp{y} or @samp{Y}, the file is skipped.
+Prompt whether to remove each file.
+If the response is not affirmative, the file is skipped.
Ignore any previous @option{--force} (@option{-f}) option.
@itemx --preserve-root