Re: "mv --reply=no" surprising results

Jim Meyering <[email protected]>
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.