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.




Reply via email to