Subject: mv -i e/a f/a g: asks bad

From: Dan Jacobson <[email-masked]>
Date: Thu, 30 Nov 2023 16:13:47 +0800

Here the program should think ahead,
so that it won't ask a question that
it could already know the answer to.
$ mkdir e f g
$ touch e/a f/a
$ mv -i e/a f/a g
mv: overwrite 'g/a'? y
mv: will not overwrite just-created 'g/a' with 'f/a'

I'm not sure what it should do. Just don't have it ask things that will
turn out different that it could already know would happen.
mv (GNU coreutils) 9.4