Subject: Re: bug#34988: mv: check before asking users useless questions

From: Paul Eggert <[email-masked]>
Date: Mon, 25 Mar 2019 15:47:05 -0700

On 3/24/19 11:05 PM, 積丹尼 Dan Jacobson wrote:
> $ mv a b
> mv: overwrite 'b'? y
> mv: cannot overwrite non-directory 'b' with directory 'a'
>
> User thinks well why didn't you check before uselessly asking me?

POSIX requires the useless question. That being said, the question could
be omitted in the case you describe, if POSIXLY_CORRECT is not specified.