[EMAIL PROTECTED] (Paul Jarc) wrote:
> Jim Meyering <[EMAIL PROTECTED]> wrote:
>> Tim Waugh <[EMAIL PROTECTED]> wrote:
>>> $ echo a > a/foo
>>> $ echo b > b/foo
>>> $ mv -i --reply=no a/foo b/foo
>>> $ cat b/foo
>>> a
>>
>> That's because -i is equivalent to --reply=query (as mentioned in --help),
>> and since you specify --reply=no after -i,
>> the --reply=no takes precedence.
>
> I think that's what Tim expected.  But b/foo was replaced with a/foo,
> in spite of --reply=no.  The same thing happens for me with 5.2.1.

But --reply=no has an effect only when there *would be* a prompt,
and once the -i has been canceled out (and since the destination
file is writable), there is no prompt.


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to