bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: man cp / cp --help: --reply=yes


From: Eric Blake
Subject: Re: man cp / cp --help: --reply=yes
Date: Wed, 13 May 2009 20:12:40 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Dave Jones on 5/13/2009 7:33 PM:

Hi Dave,

> --reply=yes (no? query?)
> 
> seems to work and, while it is very useful, it isn't in the man page or cp 
> --help.
> 
> Any reason?

Because it was deprecated, and is no longer present in the latest stable
release (7.4).
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#cp-and-mv-the-reply-option-is-deprecated

In its place is something that does more what you thought you were getting
with the undocumented version (whereas the undocumented version behaves
differently depending on whether you are connected to a tty).  From the
7.1 NEWS file:

  cp and mv accept a new option, --no-clobber (-n): silently refrain
  from overwriting any existing destination file

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoLfhgACgkQ84KuGfSFAYCntQCfQWqU9LCG+758RY8ohsDrAPQj
xjoAnRe6aXT1XZqJ969wtVVCrxBFHgHX
=Pd9A
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]