tags 34988 notabug
severity 34988 wishlist
retitle 34988 mv: omit useless 'overwrite?' question
stop
On 2019-03-25 4:47 p.m., Paul Eggert wrote:
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.
Marking this as a wishlist item.
-assaf