On Tue, Jan 13, 2009 at 8:22 AM, Kamil Dudka <kdu...@redhat.com> wrote: > Maybe it's nightmare for beginners, but it is a common use case. Certain Linux > distributions define alias cp='cp -i' by default in the user's profile. So if > you type 'cp -n' it is translated to 'cp -i -n' and it should not cause an > error. >
Wow, We have to keep so many things in consideration... Note, interactive, and no-clobber don't have to be exclusive... Here is an example of them combined: Interactively see if the person wants to overwrite, then say, oh, you can't do it because you told me not to. Then -n -i would say it can't overwrite a certain file, and not even have to ask. -i -n would ask, and then say, can't overwrite or similar. I believe that might not be the posix way though... Image magick order matters... actually in cp order matters... So order could matter here too. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils