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

From: Assaf Gordon <[email-masked]>
Date: Thu, 28 Mar 2019 12:00:05 -0600

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