[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "mv --reply=no" surprising results
From: |
Jim Meyering |
Subject: |
Re: "mv --reply=no" surprising results |
Date: |
Sat, 11 Jan 2003 08:55:23 +0100 |
Thanks for the report.
> So the man page talks about a prompt about an existing destination
> file, when no such prompt, per-se, will be generated, since you need
> -i to generate such a prompt. When -i and --reply=no are on the same
> line, you get the behavior of whichever option appears last (right
> most).
Documentation improvements are welcome.
FYI, `info mv' does include the following paragraph, at least
in this release:
ftp://alpha.gnu.org/gnu/fetish/coreutils-4.5.4.tar.bz2
(coreutils is the union of fileutils, textutils, and sh-utils)
but that may not be in fileutils-4.1.9.
If a destination file exists but is normally unwritable, standard
input is a terminal, and the `-f' or `--force' option is not given,
`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 `y' or `Y', the file is skipped.
If you feel like improving the documentation, I'd welcome
specific suggestions -- especially in the form of patches.
Otherwise, I'll get to it, eventually.
FYI, each man page is generated automatically from the corresponding
tool's --help output, and as such isn't usually as complete as the
texinfo documentation.
Jim