-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to [EMAIL PROTECTED] on 10/24/2007 6:55 PM: > cp (GNU coreutils) 6.9 > > When use with -f option, it warns of overwriting existing file. The same > option in version (cp (coreutils) 4.5.3) overwrite exist file with no > warning. There is no option (I can find) to overwrite existing file without > warning.
Are you sure you aren't using an alias for cp which also enabled the -i option? POSIX does not allow plain 'cp -f' to prompt [1], but requires 'cp -i -f' to do so. If it is the case of an alias, you could always use '\cp -f'. Personally, I hate systems where cp is prealiased to 'cp -i', because it encourages laziness on that system, then accidents on other systems where the non-standard alias is no longer present. [1] http://www.opengroup.org/onlinepubs/009695399/utilities/cp.html - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHH+2L84KuGfSFAYARAlVJAJ9jGT28TfC+Xin1eHp4bXbNR+Il5QCeMyoL 79c8jjETNCTj9LDA7ZONJjU= =Zm3s -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
